From 53bab20ecc30155c3091d9945d00538a63381a68 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:11:26 +0100 Subject: [PATCH] automatic update by autodist [release 0.048-1mamba;Wed Apr 09 2014] --- README.md | 2 ++ perl-IPC-Run3.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 perl-IPC-Run3.spec diff --git a/README.md b/README.md index 3ddcd1d..099ac3f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-IPC-Run3 +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. + diff --git a/perl-IPC-Run3.spec b/perl-IPC-Run3.spec new file mode 100644 index 0000000..8a23693 --- /dev/null +++ b/perl-IPC-Run3.spec @@ -0,0 +1,68 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-IPC-Run3 +Version: 0.048 +Release: 1mamba +Summary: IPC::Run3 - run a subprocess with input/ouput redirection +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz +License: GPL, Artistic, BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: libperl +BuildRequires: perl-devel +## AUTOBUILDREQ-END +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Time::HiRes) +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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} + +find -type f -exec chmod -x {} \; + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl + +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{perl_vendorlib}/ +#%{_mandir}/man3/*.3pm.gz +%doc LICENSE + +%changelog +* Wed Apr 09 2014 Automatic Build System 0.048-1mamba +- automatic update by autodist + +* Sat Jun 22 2013 Automatic Build System 0.046-1mamba +- automatic version update by autodist + +* Fri Dec 23 2011 Automatic Build System 0.045-1mamba +- automatic version update by autodist + +* Fri Feb 18 2011 gil 0.044-1mamba +- package created by autospec