Name: perl-Parse-PMFile Version: 0.41 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(File::Temp) >= 0.19 BuildRequires: perl(JSON::PP) >= 2.00 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(version) >= 0.83 Requires: perl(File::Spec) Requires: perl(JSON::PP) >= 2.00 Requires: perl(version) >= 0.83 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $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 rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes cpanfile META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Jul 03 2017 Dave Cross 0.41-1 - Specfile autogenerated by cpanspec 1.78.