commit 28bfab9c0da70eaa9a42c5269eff7a39988443ce Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Tue Feb 7 06:21:46 2012 +0100 initial import (rhbz#787344) .gitignore | 1 + perl-CPAN-Perl-Releases.spec | 55 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..2f2158b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/CPAN-Perl-Releases-0.42.tar.gz diff --git a/perl-CPAN-Perl-Releases.spec b/perl-CPAN-Perl-Releases.spec new file mode 100644 index 0000000..cc5df3b --- /dev/null +++ b/perl-CPAN-Perl-Releases.spec @@ -0,0 +1,55 @@ +Name: perl-CPAN-Perl-Releases +Version: 0.42 +Release: 1%{?dist} +Summary: Mapping Perl releases on CPAN to the location of the tarballs +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/CPAN-Perl-Releases/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/CPAN-Perl-Releases-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 1:v5.6.0 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Pod::Coverage::TrustPod) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Script) +BuildRequires: perl(warnings) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +CPAN::Perl::Releases is a module that contains the mappings of all perl +releases that have been uploaded to CPAN to the authors/id/ path that the +tarballs reside in. + +%prep +%setup -q -n CPAN-Perl-Releases-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes LICENSE README tools +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat Feb 04 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.42-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..798f526 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b99bf77f07a809ab48bc2b50b0ae09bd CPAN-Perl-Releases-0.42.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel