|
|
|
Name: perl-Parallel-Iterator
|
|
|
|
Version: 1.00
|
|
|
|
Release: 5%{?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
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.00-4
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.00-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 1.00-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.79.
|