commit 9f8a284ad63b74f8d7b9050fb9adfc0c66d53391 Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Sat Jan 15 05:32:59 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@xxxxxxxxxxxxxxxxx> 0.03-2 +- Add perl_default_filter. + +* Wed Dec 22 2010 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> 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 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel