[perl-Proc-Wait3/f14/master] Import.

corsepiu corsepiu at fedoraproject.org
Sat Jan 15 04:19:44 UTC 2011


commit 21c6ee3ade54dadbdac8f09f9c9948bbdc10d27e
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Sat Jan 15 05:19:24 2011 +0100

    Import.

 perl-Proc-Wait3.spec |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 58 insertions(+), 0 deletions(-)
---
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.



More information about the perl-devel mailing list