commit 30dde693401584c7b4ed71f06a71a56c34d847b1 Author: David Dick <ddick@xxxxxxxx> Date: Fri Sep 12 06:50:28 2014 +1000 Initial import (#1138924). .gitignore | 1 + perl-Parse-CPAN-Packages-Fast.spec | 62 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..48a2b12 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Parse-CPAN-Packages-Fast-0.08.tar.gz diff --git a/perl-Parse-CPAN-Packages-Fast.spec b/perl-Parse-CPAN-Packages-Fast.spec new file mode 100644 index 0000000..2dc7410 --- /dev/null +++ b/perl-Parse-CPAN-Packages-Fast.spec @@ -0,0 +1,62 @@ +Name: perl-Parse-CPAN-Packages-Fast +Version: 0.08 +Release: 1%{?dist} +Summary: Alternative parser for CPAN's package index +# License is located as a comment in library code +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Parse-CPAN-Packages-Fast/ +Source0: http://www.cpan.org/modules/by-module/Parse/Parse-CPAN-Packages-Fast-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(base) +BuildRequires: perl(Compress::Zlib) +BuildRequires: perl(CPAN::DistnameInfo) +BuildRequires: perl(CPAN::Version) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Temp) +BuildRequires: perl(FindBin) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(IO::Uncompress::Gunzip) +BuildRequires: perl(lib) +BuildRequires: perl(strict) +BuildRequires: perl(Search::Dict) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +Requires: perl(CPAN) +Requires: perl(File::Basename) +Requires: perl(File::Temp) +Requires: perl(Search::Dict) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This is a largely API compatible rewrite of Parse::CPAN::Packages. + +%prep +%setup -q -n Parse-CPAN-Packages-Fast-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat Aug 30 2014 David Dick <ddick@xxxxxxxx> - 0.08-1 +- Initial release diff --git a/sources b/sources index e69de29..007c10a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ff4738a2bfdd199353129d36a56765fa Parse-CPAN-Packages-Fast-0.08.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