[packages/perl-MCE] - new
qboosh
qboosh at pld-linux.org
Thu Nov 17 21:19:36 CET 2016
commit 46d76e2b0b14e758f940c7f5174b8e6ecdce154a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Nov 17 21:19:39 2016 +0100
- new
perl-MCE.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
---
diff --git a/perl-MCE.spec b/perl-MCE.spec
new file mode 100644
index 0000000..6fd2d8c
--- /dev/null
+++ b/perl-MCE.spec
@@ -0,0 +1,65 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir MCE
+%include /usr/lib/rpm/macros.perl
+Summary: MCE - Many-Core Engine for Perl providing parallel processing capabilities
+Summary(pl.UTF-8): MCE - silnik Many-Core Engine dla Perla zapewniający możliwość przetwarzania równoległego
+Name: perl-MCE
+Version: 1.808
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/M/MA/MARIOROY/MCE-%{version}.tar.gz
+# Source0-md5: 5e76a7afde92d3f0c7161711fe4be303
+URL: http://search.cpan.org/dist/MCE/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Storable >= 2.04
+BuildRequires: perl-Test-Simple >= 0.88
+%endif
+Requires: perl-Storable >= 2.04
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Many-Core Engine (MCE) for Perl helps enable a new level of
+performance by maximizing all available cores.
+
+%description -l pl.UTF-8
+Many-Core Engine (MCE), czyli silnik wielordzeniowy dla Perla
+pomaga osiągnąć nowy poziom wydajności maksymalizując wykorzystanie
+wszystkich dostępnych rdzeni.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/MCE.pod \
+ $RPM_BUILD_ROOT%{perl_vendorlib}/MCE/*.pod
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes Credits README.md
+%{perl_vendorlib}/MCE.pm
+%{perl_vendorlib}/MCE
+%{_mandir}/man3/MCE.3pm*
+%{_mandir}/man3/MCE::*.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-MCE.git/commitdiff/46d76e2b0b14e758f940c7f5174b8e6ecdce154a
More information about the pld-cvs-commit
mailing list