Author: agaran Date: Wed Apr 19 20:11:11 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - initial in PLD, rel 0.1
---- Files affected: SPECS: perl-File-DirSync.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-File-DirSync.spec diff -u /dev/null SPECS/perl-File-DirSync.spec:1.1 --- /dev/null Wed Apr 19 22:11:11 2006 +++ SPECS/perl-File-DirSync.spec Wed Apr 19 22:11:06 2006 @@ -0,0 +1,76 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without autodeps # don't BR packages needed only for resolving deps +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir File +%define pnam DirSync +Summary: perl(File::DirSync) +Name: perl-File-DirSync +Version: 1.13 +Release: 0.1 +# note if it is "same as perl" +License: (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here) +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: fa8c8d6be4a339fdda83ea5dff3dd240 +Patch0: %{name} +URL: http://search.cpan.org/dist/%{pdir}-%{pnam} +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +description + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor + +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} pure_install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorlib}/File/DirSync.pm +%{_mandir}/man3/* +%attr(755,root,root) %{_bindir}/dirsync +%{_mandir}/man1/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/04/19 20:11:06 agaran +- initial in PLD, rel 0.1 + +Revision 1.36 2006/02/20 18:43:46 qboosh +- noted generic URL + +Revision 1.35 2005/11/15 22:55:15 glen +- add autodeps, cut languages that nobody fills anyway + +Revision 1.34 2005/08/09 07:50:12 glen +- use pure_install target to prevent perlocal.pod being created (from ExtUtils::MakeMaker manual) + +Revision 1.33 2004/12/02 06:07:36 ankry +- more BR, cut off changelog ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
