diff --git a/Parallel-ForkManager-2.02.tar.gz b/Parallel-ForkManager-2.02.tar.gz new file mode 100644 index 0000000..8edd40b Binary files /dev/null and b/Parallel-ForkManager-2.02.tar.gz differ diff --git a/perl-Parallel-ForkManager.spec b/perl-Parallel-ForkManager.spec new file mode 100644 index 0000000..8f91543 --- /dev/null +++ b/perl-Parallel-ForkManager.spec @@ -0,0 +1,48 @@ +%global debug_package %{nil} + +Name: perl-Parallel-ForkManager +Version: 2.02 +Release: 1 +Summary: Perl Module : A simple parallel processing fork manager +License: GPL+ or Artistic +URL: https://metacpan.org/release/Parallel-ForkManager +Source0: https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Parallel-ForkManager-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: perl-interpreter perl-generators perl(ExtUtils::MakeMaker) +BuildRequires: perl-ExtUtils-Command +BuildRequires: perl-Test-Warn +BuildRequires: perl-Moo + + +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Obsoletes: %{name}-tests < %{version}-%{release} +Provides: %{name}-tests = %{version}-%{release} + +%description +Parallel::ForkManager - A simple parallel processing fork manager + +%prep +%autosetup -n Parallel-ForkManager-%{version} -p1 + +%build +perl Makefile.PL NO_PACKLIST=1 INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%defattr(-,root,root) +%doc INSTALL README.mkdn +%{perl_vendorlib}/Parallel +%{_mandir}/man3/* + +%changelog +* Sun Mar 29 2020 Wei Xiong +- Package init