!1 init perl-Parallel-ForkManager package
Merge pull request !1 from myeuler/master
This commit is contained in:
commit
6d338fba9c
BIN
Parallel-ForkManager-2.02.tar.gz
Normal file
BIN
Parallel-ForkManager-2.02.tar.gz
Normal file
Binary file not shown.
48
perl-Parallel-ForkManager.spec
Normal file
48
perl-Parallel-ForkManager.spec
Normal file
@ -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 <myeuler@163.com>
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user