From dc8b2d82ca712d399181a71780fad0421048ce51 Mon Sep 17 00:00:00 2001 From: Christopher Meng <r...@cicku.me> Date: Wed, 7 Aug 2013 20:24:03 +0800 Subject: Initial SETUP.
--- .gitignore | 1 + perl-Proc-Queue.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 48 insertions(+) create mode 100644 perl-Proc-Queue.spec diff --git a/.gitignore b/.gitignore index e69de29..980e768 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Proc-Queue-1.23.tar.gz diff --git a/perl-Proc-Queue.spec b/perl-Proc-Queue.spec new file mode 100644 index 0000000..22c298d --- /dev/null +++ b/perl-Proc-Queue.spec @@ -0,0 +1,46 @@ +%global pkgname Proc-Queue + +Name: perl-Proc-Queue +Version: 1.23 +Release: 1%{?dist} +Summary: Limit the number of child processes running +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Proc-Queue/ +Source0: http://www.cpan.org/authors/id/S/SA/SALVA/%{pkgname}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +Requires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This module lets you parallelise a perl program using the fork, exit, wait +and waitpid calls as usual but without taking care of creating too many +processes and overloading the machine. + +%prep +%setup -qn %{pkgname}-%{version} +iconv --from=ISO-8859-1 --to=UTF-8 README > README.new && \ +touch -r README README.new && \ +mv README.new README + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat May 25 2013 Christopher Meng <r...@cicku.me> - 1.23-1 +- Initial Package. diff --git a/sources b/sources index e69de29..ecc5f1d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +57a153870f697b2dbf261bdfe09d61a0 Proc-Queue-1.23.tar.gz -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-Proc-Queue.git/commit/?h=epel7&id=dc8b2d82ca712d399181a71780fad0421048ce51 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org