Blame SPECS/perl-Parallel-Iterator.spec

376f71
Name:           perl-Parallel-Iterator
376f71
Version:        1.00
57e6f2
Release:        8%{?dist}
376f71
Summary:        Simple parallel execution
376f71
License:        GPL+ or Artistic
376f71
Group:          Development/Libraries
376f71
URL:            http://search.cpan.org/dist/Parallel-Iterator/
376f71
Source0:        http://www.cpan.org/authors/id/A/AN/ANDYA/Parallel-Iterator-%{version}.tar.gz
376f71
BuildArch:      noarch
376f71
BuildRequires:  perl(Module::Build)
376f71
# Run-time:
376f71
BuildRequires:  perl(base)
376f71
BuildRequires:  perl(Carp)
376f71
BuildRequires:  perl(Config)
376f71
BuildRequires:  perl(constant)
376f71
BuildRequires:  perl(Exporter)
376f71
BuildRequires:  perl(IO::Handle)
376f71
BuildRequires:  perl(IO::Select)
376f71
BuildRequires:  perl(POSIX)
376f71
BuildRequires:  perl(Storable)
376f71
BuildRequires:  perl(strict)
376f71
BuildRequires:  perl(warnings)
376f71
# Tests:
376f71
BuildRequires:  perl(lib)
376f71
BuildRequires:  perl(Test::More)
376f71
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
376f71
376f71
%{?perl_default_filter}
376f71
376f71
%description
376f71
The map function applies a user supplied transformation function to
376f71
each element in a list, returning a new list containing the
376f71
transformed elements.
376f71
376f71
This module provides a 'parallel map'. Multiple worker processes are forked so
376f71
that many instances of the transformation function may be executed
376f71
simultaneously.
376f71
376f71
For time consuming operations, particularly operations that spend most of their
376f71
time waiting for I/O, this is a big performance win. It also provides a simple
376f71
idiom to make effective use of multi CPU systems.
376f71
376f71
%prep
376f71
%setup -q -n Parallel-Iterator-%{version}
376f71
376f71
%build
376f71
%{__perl} Build.PL installdirs=vendor
376f71
./Build
376f71
376f71
%install
376f71
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
376f71
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
376f71
376f71
%{_fixperms} $RPM_BUILD_ROOT/*
376f71
376f71
%check
376f71
./Build test
376f71
376f71
%files
376f71
%doc Changes README
376f71
%{perl_vendorlib}/*
376f71
%{_mandir}/man3/*
376f71
376f71
%changelog
57e6f2
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.00-8
57e6f2
- Mass rebuild 2013-12-27
57e6f2
376f71
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-7
376f71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
376f71
376f71
* Wed Oct 24 2012 Petr Pisar <ppisar@redhat.com> - 1.00-6
376f71
- Specify all dependencies
376f71
376f71
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-5
376f71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
376f71
376f71
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 1.00-4
376f71
- Perl 5.16 rebuild
376f71
376f71
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-3
376f71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
376f71
376f71
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.00-2
376f71
- Perl mass rebuild
376f71
376f71
* Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 1.00-1
376f71
- Specfile autogenerated by cpanspec 1.79.