Name: perl-IPC-Run3 Version: 0.040 Release: 1%{?dist}.1 Summary: Run a subprocess in batch mode (a la system) on Unix, Win32, etc License: GPL+ or BSD or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/IPC-Run3/ Source0: http://www.cpan.org/modules/by-module/IPC/IPC-Run3-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) # For improved tests # BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module allows you to run a subprocess and redirect stdin, stdout, and/or stderr to files and perl data structures. It aims to satisfy 99% of the need for using system, qx, and open3 with a simple, extremely Perlish API and none of the bloat and rarely used features of IPC::Run. %prep %setup -q -n IPC-Run3-%{version} # Perms in tarballs are broken find -type f -exec chmod -x {} \; %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 LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jan 12 2007 Tom "spot" Callaway 0.040-1.1 - rebuild for new perl, disable tests and TPC for first pass * Fri Dec 28 2007 Ralf Corsépius 0.040-1 - Upstream update. - chmod -x files from source tarball. * Tue Nov 27 2007 Ralf Corsépius 0.039-2 - Bump release to please koji suckage. * Tue Nov 27 2007 Ralf Corsépius 0.039-1 - Upstream update. * Fri Sep 07 2007 Ralf Corsépius 0.037-2 - Initial import. - Update license tag. * Tue Aug 07 2007 Ralf Corsépius 0.037-1 - Initial submission.