From 5ac2530a72d5261ebc1a32fe194b48e0eaa8864d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:11:17 +0100 Subject: [PATCH] automatic version update by autodist [release 0.92_01-1mamba;Mon Sep 10 2012] --- README.md | 3 +++ perl-IPC-Run.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 perl-IPC-Run.spec diff --git a/README.md b/README.md index 9b870b2..92ff83c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # perl-IPC-Run +IPC::Run allows you run and interact with child processes using files, pipes, and pseudo-ttys. Both system()-style and scripted usages are supported and may be mixed. Likewise, functional and OO API styles are both supported and may be mixed. +Various redirection operators reminiscent of those seen on common Unix and DOS command lines are provided. + diff --git a/perl-IPC-Run.spec b/perl-IPC-Run.spec new file mode 100644 index 0000000..f373cbb --- /dev/null +++ b/perl-IPC-Run.spec @@ -0,0 +1,63 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-IPC-Run +Version: 0.92_01 +Release: 1mamba +Summary: IPC::Run - system() and background procs w/ piping, redirs, ptys (Unix, Win32) +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz +License: GPL, Artistic +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(IO::Pty) +BuildRequires: perl(Test::More) +BuildRequires: perl-devel +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +IPC::Run allows you run and interact with child processes using files, pipes, and pseudo-ttys. Both system()-style and scripted usages are supported and may be mixed. Likewise, functional and OO API styles are both supported and may be mixed. +Various redirection operators reminiscent of those seen on common Unix and DOS command lines are provided. + +%prep +%setup -q -n IPC-Run-%{version} + + +%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} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +rm -rf %{buildroot}%{perl_vendorlib}/IPC/Run/Win32*.pm +rm -rf %{buildroot}%{_mandir}/man3/IPC::Run::Win32*.3* + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{perl_vendorlib}/IPC +%{_mandir}/man3/*.gz +%doc Changes LICENSE README TODO abuse/ eg/ + +%changelog +* Mon Sep 10 2012 Automatic Build System 0.92_01-1mamba +- automatic version update by autodist + +* Sun Jul 01 2012 Silvan Calarco 0.91-1mamba +- update to 0.91 + +* Sun Mar 13 2011 gil 0.89-1mamba +- package created by autospec