commit 4712c9e8dace03908f956d488c0b4a288beefbef Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Wed Sep 24 09:35:33 2014 +0200 Initial import .gitignore | 1 + perl-Parse-PMFile.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..a8c7747 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Parse-PMFile-0.26.tar.gz diff --git a/perl-Parse-PMFile.spec b/perl-Parse-PMFile.spec new file mode 100644 index 0000000..fdc44b5 --- /dev/null +++ b/perl-Parse-PMFile.spec @@ -0,0 +1,61 @@ +Name: perl-Parse-PMFile +Version: 0.26 +Release: 1%{?dist} +Summary: Parses .pm file as PAUSE does +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Parse-PMFile/ +Source0: http://www.cpan.org/authors/id/I/IS/ISHIGAKI/Parse-PMFile-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker::CPANfile) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(Dumpvalue) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(JSON::PP) >= 2.00 +BuildRequires: perl(POSIX) +BuildRequires: perl(Safe) +BuildRequires: perl(version) >= 0.83 +# Tests +BuildRequires: perl(FindBin) +BuildRequires: perl(Test::More) >= 0.88 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(JSON::PP) >= 2.00 +Requires: perl(version) >= 0.83 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((JSON::PP|version)\\)$ + +%description +The most of the code of this module is taken from the PAUSE code as of +April 2013 almost verbatim. Thus, the heart of this module should be quite +stable. However, I made it not to use pipe ("-|") as well as I stripped database- +related code. If you encounter any issue, that's most probably because of +my modification. + +%prep +%setup -q -n Parse-PMFile-%{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 +* Tue Sep 23 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.26-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..6413aa5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9cd66b6bed2c54c695102de4f8aec191 Parse-PMFile-0.26.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