Initial import
This commit is contained in:
parent
63b178fadb
commit
4712c9e8da
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/Parse-PMFile-0.26.tar.gz
|
||||
61
perl-Parse-PMFile.spec
Normal file
61
perl-Parse-PMFile.spec
Normal file
@ -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@redhat.com> - 0.26-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
||||
Loading…
Reference in New Issue
Block a user