Author: paszczus Date: Fri Mar 13 10:33:17 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: perl-ExtUtils-Manifest.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-ExtUtils-Manifest.spec diff -u /dev/null SPECS/perl-ExtUtils-Manifest.spec:1.1 --- /dev/null Fri Mar 13 11:33:17 2009 +++ SPECS/perl-ExtUtils-Manifest.spec Fri Mar 13 11:33:11 2009 @@ -0,0 +1,74 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir ExtUtils +%define pnam Manifest +Summary: ExtUtils::Manifest - utilities to write and check a MANIFEST file +Name: perl-ExtUtils-Manifest +Version: 1.56 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/ExtUtils/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: b6557064893b6e0279df68c87395554c +URL: http://search.cpan.org/dist/ExtUtils-Manifest/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +ExtUtils::Manifest exports no functions by default. The following are +exported on request + +A list of files in the distribution, one file per line. The MANIFEST +always uses Unix filepath conventions even if you're not on Unix. This +means foo/bar style not foo\bar. + +Anything between white space and an end of line within a MANIFEST file +is considered to be a comment. Any line beginning with # is also a +comment. Beginning with ExtUtils::Manifest 1.52, a filename may +contain whitespace characters if it is enclosed in single quotes; +single quotes or backslashes in that filename must be +backslash-escaped. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Build.PL \ + destdir=$RPM_BUILD_ROOT \ + installdirs=vendor +./Build + +%{?with_tests:./Build test} + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorlib}/ExtUtils/*.pm +%{_mandir}/man3/* + +%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 2009/03/13 10:33:11 paszczus +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
