Name: perl-Parallel-Iterator Version: 1.00 Release: 1%{?dist} Summary: Simple parallel execution License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Parallel-Iterator/ Source0: http://www.cpan.org/authors/id/A/AN/ANDYA/Parallel-Iterator-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Config) BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Select) BuildRequires: perl(lib) BuildRequires: perl(Module::Build) BuildRequires: perl(POSIX) BuildRequires: perl(Storable) BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description The map function applies a user supplied transformation function to each element in a list, returning a new list containing the transformed elements. This module provides a 'parallel map'. Multiple worker processes are forked so that many instances of the transformation function may be executed simultaneously. For time consuming operations, particularly operations that spend most of their time waiting for I/O, this is a big performance win. It also provides a simple idiom to make effective use of multi CPU systems. %prep %setup -q -n Parallel-Iterator-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat May 14 2011 Iain Arnell 1.00-1 - Specfile autogenerated by cpanspec 1.79.