Summary: Parallel looping constructs for Perl programs Name: perl-Proc-ParallelLoop Version: 0.5 Release: 1%{?dist} License: GPL+ Group: Development/Libraries URL: http://search.cpan.org/dist/Proc-ParallelLoop/ Source0: http://www.cpan.org/authors/id/B/BD/BDARRAH/Proc-ParallelLoop-%{version}.tgz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description This module provides a way to easily write for loops and foreach loops that run with a controlled degree of parallelism. One very nice feature is that bufferring is used when necessary such that the output from STDERR and STDOUT looks exactly as if it was produced by running your subroutine on each parameter in plain old sequential fashion. Return status from each loop iteration is also preserved. %prep %setup -q -n Proc-ParallelLoop-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check %{__make} test %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, -) %doc Changes LICENSE README %{perl_vendorlib}/Proc %{_mandir}/man3/Proc::ParallelLoop.3* %changelog * Mon Jan 25 2010 Terje Rosten - 0.5-1 - initial build based on cpanspec