[perl-Parallel-Prefork/f14/master] Import.
corsepiu
corsepiu at fedoraproject.org
Sat Jan 22 08:07:12 UTC 2011
commit 9b371436437a1e516cf532257a02bd19100634ac
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Sat Jan 22 09:06:56 2011 +0100
Import.
.gitignore | 1 +
perl-Parallel-Prefork.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..aaed18c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Parallel-Prefork-0.11.tar.gz
diff --git a/perl-Parallel-Prefork.spec b/perl-Parallel-Prefork.spec
new file mode 100644
index 0000000..38cbb95
--- /dev/null
+++ b/perl-Parallel-Prefork.spec
@@ -0,0 +1,59 @@
+Name: perl-Parallel-Prefork
+Version: 0.11
+Release: 1%{?dist}
+Summary: Simple prefork server framework
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Parallel-Prefork/
+Source0: http://www.cpan.org/authors/id/K/KA/KAZUHO/Parallel-Prefork-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+BuildRequires: perl(Class::Accessor::Lite) >= 0.04
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(List::MoreUtils)
+BuildRequires: perl(Proc::Wait3) >= 0.03
+BuildRequires: perl(Scope::Guard)
+BuildRequires: perl(Test::Requires)
+# Optional, not yet in Fedora: BuildRequires: perl(Parallel::Scoreboard)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Parallel::Prefork is much like Parallel::ForkManager, but supports graceful
+shutdown and run-time reconfiguration.
+
+%prep
+%setup -q -n Parallel-Prefork-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jan 20 2011 Ralf Corsépius <corsepiu at fedoraproject.org> 0.11-1
+- Upstream update.
+
+* Wed Dec 22 2010 Ralf Corsépius <corsepiu at fedoraproject.org> 0.09-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..53af093 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d4b9347c414e7f0d30708e14e05ee3a6 Parallel-Prefork-0.11.tar.gz
More information about the perl-devel
mailing list