Initial import (#1162531)

epel9
Petr Šabata 10 years ago
parent b7e99d745d
commit 037bcc35e1

1
.gitignore vendored

@ -0,0 +1 @@
/MCE-1.520.tar.gz

@ -0,0 +1,68 @@
Name: perl-MCE
Version: 1.520
Release: 1%{?dist}
Summary: Many-core Engine for Perl providing parallel processing capabilities
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/MCE/
Source0: http://www.cpan.org/authors/id/M/MA/MARIOROY/MCE-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(base)
BuildRequires: perl(bytes)
BuildRequires: perl(constant)
BuildRequires: perl(Exporter)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Path)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Socket)
BuildRequires: perl(Storable) >= 2.04
BuildRequires: perl(Symbol)
BuildRequires: perl(Time::HiRes)
# Tests only
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(Carp)
Requires: perl(File::Path)
Requires: perl(IO::Handle)
Requires: perl(Storable) >= 2.04
%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(Storable\\)$
%global __provides_exclude %{?__provides_exclude|%__provides_exclude|}^perl\\(MCE\\)$
%description
Many-core Engine (MCE) for Perl helps enable a new level of performance by
maximizing all available cores. MCE spawns a pool of workers and therefore
does not fork a new process per each element of data. Instead, MCE follows
a bank queuing model. Imagine the line being the data and bank-tellers the
parallel workers. MCE enhances that model by adding the ability to chunk
the next n elements from the input stream to the next available worker.
%prep
%setup -q -n MCE-%{version}
chmod -c a-x examples/*pl
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc CHANGES CREDITS LICENSE README examples
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Nov 11 2014 Petr Šabata <contyk@redhat.com> 1.520-1
- Initial packaging

@ -0,0 +1 @@
94617aa3b35d739f889d0e071e2d2867 MCE-1.520.tar.gz
Loading…
Cancel
Save