[perl-Proc-Wait3] Import.

corsepiu corsepiu at fedoraproject.org
Sat Jan 15 04:08:45 UTC 2011


commit 42ae8d283afdd0da96e74b2225c62b11a1aeae61
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sat Jan 15 05:08:21 2011 +0100

    Import.

 .gitignore           |    1 +
 perl-Proc-Wait3.spec |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..28f3d4b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Proc-Wait3-0.03.tar.gz
diff --git a/perl-Proc-Wait3.spec b/perl-Proc-Wait3.spec
new file mode 100644
index 0000000..d7cf86a
--- /dev/null
+++ b/perl-Proc-Wait3.spec
@@ -0,0 +1,58 @@
+Name:           perl-Proc-Wait3
+Version:        0.03
+Release:        2%{?dist}
+Summary:        Perl extension for wait3 system call
+# Package doesn't contain any license info, but module is a registered Rcdfp module
+# c.f. http://search.cpan.org/dlsip?Rcdfp
+# c.f. http://search.cpan.org/~ctilmes
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Proc-Wait3/
+Source0:        http://www.cpan.org/authors/id/C/CT/CTILMES/Proc-Wait3-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+If any child processes have exited, this call will "reap" the zombies
+similar to the perl "wait" function.
+
+%prep
+%setup -q -n Proc-Wait3-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+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 -type f -name '*.bs' -size 0 -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_vendorarch}/auto/*
+%{perl_vendorarch}/Proc*
+%{_mandir}/man3/*
+
+%changelog
+* Sun Jan 09 2011 Ralf Corsépius <corsepiu at fedoraproject.org> 0.03-2
+- Add perl_default_filter.
+
+* Wed Dec 22 2010 Ralf Corsépius <corsepiu at fedoraproject.org> 0.03-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..0b6a990 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+af5b362f3d1db4af8c34495b63f33c90  Proc-Wait3-0.03.tar.gz


More information about the scm-commits mailing list