commit e07bd8919af231d6be53703d20b004cfe6f35578 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Mon Dec 1 15:15:00 2014 +0100 Initial import (#1168658) .gitignore | 1 + perl-CPAN-ParseDistribution.spec | 67 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..71d38b8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/CPAN-ParseDistribution-1.52.tar.gz diff --git a/perl-CPAN-ParseDistribution.spec b/perl-CPAN-ParseDistribution.spec new file mode 100644 index 0000000..858a760 --- /dev/null +++ b/perl-CPAN-ParseDistribution.spec @@ -0,0 +1,67 @@ +Name: perl-CPAN-ParseDistribution +Version: 1.52 +Release: 1%{?dist} +Summary: Index a file from the BackPAN +License: GPLv2 or Artistic +URL: http://search.cpan.org/dist/CPAN-ParseDistribution/ +Source0: http://www.cpan.org/authors/id/D/DC/DCANTRELL/CPAN-ParseDistribution-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(Archive::Tar) +BuildRequires: perl(Archive::Zip) +BuildRequires: perl(Cwd) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(File::Find::Rule) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Parallel::ForkManager) >= 1.03 +BuildRequires: perl(Safe) +BuildRequires: perl(vars) +BuildRequires: perl(YAML) >= 0.6 +# Tests only +BuildRequires: perl(Config) +BuildRequires: perl(Devel::CheckOS) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.00 +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(Parallel::ForkManager) >= 1.03 +Requires: perl(YAML) >= 0.6 + +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Parallel::ForkManager\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(YAML\\)$ + +%description +Given a file from the BackPAN, this will let you find out what versions of +what modules it contains, the distribution name and version. + +%prep +%setup -q -n CPAN-ParseDistribution-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%license ARTISTIC.txt GPL2.txt +%doc CHANGELOG README TODO +%{perl_vendorlib}/* +%{_bindir}/dumpcpandist +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Thu Nov 27 2014 Petr Šabata <contyk@xxxxxxxxxx> 1.52-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..51588c5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5d0042be71b2a2c6aaf223f7c61fc4d5 CPAN-ParseDistribution-1.52.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