[perl-Child] initial import (rhbz#730038)

Iain Arnell iarnell at fedoraproject.org
Sun Aug 14 06:12:14 UTC 2011


commit 7c0a05656dbddca1dae6dfeaabe936559e3486de
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Aug 14 08:11:51 2011 +0200

    initial import (rhbz#730038)

 .gitignore      |    1 +
 perl-Child.spec |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d4b89ef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Child-0.009.tar.gz
diff --git a/perl-Child.spec b/perl-Child.spec
new file mode 100644
index 0000000..a8c0d54
--- /dev/null
+++ b/perl-Child.spec
@@ -0,0 +1,50 @@
+Name:           perl-Child
+Version:        0.009
+Release:        1%{?dist}
+Summary:        Object oriented simple interface to fork()
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Child/
+Source0:        http://search.cpan.org/CPAN/authors/id/E/EX/EXODIST/Child-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl >= 0:5.006
+BuildRequires:  perl(Exporter) >= 5.57
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Test::More) >= 0.88
+Requires:       perl(Exporter) >= 5.57
+Requires:       perl(POSIX)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+Fork is too low level, and difficult to manage. Often people forget to exit
+at the end, reap their children, and check exit status. The problem is the
+low level functions provided to do these things. Throw in pipes for IPC and
+you just have a pile of things nobody wants to think about.
+
+%prep
+%setup -q -n Child-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} %{buildroot}/*
+
+%check
+./Build test
+
+%files
+%doc README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Aug 11 2011 Iain Arnell <iarnell at gmail.com> 0.009-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..3f17654 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+41cb73572a4015c43d17beeaffc83fc0  Child-0.009.tar.gz



More information about the perl-devel mailing list