%global pkg_name Proc-Queue %global pkg_version 1.22 %global rpm_pkg_version 1.22 %global rpm_pkg_release 1.n0i.5 Summary: Limits number of concurrent forked processes Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/S/SA/SALVA/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl %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. It redefines perl "fork", "exit", "wait" and "waitpid" core functions. Old programs do not need to be reprogrammed, only the "use Proc::Queue ..." sentence has to be added to them. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_encoding README} %{fix_perl_path samples/} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README samples/ %changelog * Wed Nov 21 2007 Marius Feraru - 1.22-1.n0i.5 - version 1.22 - spec update (new reb00t build tools) * Tue May 22 2007 Marius Feraru - 1.21-1.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 1.21 * Sun Jun 04 2006 Marius Feraru - 1.18-1.n0i.3 - version 1.18 * Fri Apr 14 2006 Marius Feraru - 1.17-1.n0i.2 - version 1.17 * Wed Sep 21 2005 Marius Feraru 1.16-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.10 - rebuild on perl 5.8.7