0f009f
Name:           perl-IPC-Run
0f009f
Version:        0.92
72ecaa
Release:        2%{?dist}
0f009f
Summary:        Perl module for interacting with child processes
0f009f
License:        GPL+ or Artistic
0f009f
Group:          Development/Libraries
0f009f
URL:            http://search.cpan.org/dist/IPC-Run/
0f009f
Source0:        http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz
0f009f
BuildArch:      noarch
0f009f
BuildRequires:  perl(Carp)
0f009f
BuildRequires:  perl(constant)
0f009f
BuildRequires:  perl(Data::Dumper)
0f009f
BuildRequires:  perl(Exporter)
0f009f
BuildRequires:  perl(ExtUtils::MakeMaker)
0f009f
BuildRequires:  perl(File::Spec)
0f009f
BuildRequires:  perl(IO::Handle)
0f009f
BuildRequires:  perl(IO::Pty) >= 1.08
0f009f
BuildRequires:  perl(Test::More) >= 0.47
0f009f
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0f009f
Requires:       perl(IO::Pty) >= 1.08
0f009f
0f009f
%description
0f009f
IPC::Run allows you run and interact with child processes using files,
0f009f
pipes, and pseudo-ttys. Both system()-style and scripted usages are
0f009f
supported and may be mixed. Likewise, functional and OO API styles are
0f009f
both supported and may be mixed.
0f009f
Various redirection operators reminiscent of those seen on common Unix
0f009f
and DOS command lines are provided.
0f009f
0f009f
%prep
0f009f
%setup -q -n IPC-Run-%{version}
0f009f
for file in eg/run_daemon abuse/timers abuse/blocking_debug_with_sub_coprocess ; do
0f009f
    perl -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
0f009f
done
0f009f
0f009f
%build
0f009f
perl Makefile.PL INSTALLDIRS=vendor
0f009f
make %{?_smp_mflags}
0f009f
0f009f
%install
0f009f
make pure_install DESTDIR=%{buildroot}
0f009f
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
0f009f
%{_fixperms} %{buildroot}/*
0f009f
rm -f %{buildroot}%{perl_vendorlib}/IPC/Run/Win32*.pm
0f009f
rm -f %{buildroot}%{_mandir}/man3/IPC::Run::Win32*.3*
0f009f
0f009f
%check
0f009f
make test
0f009f
0f009f
%files
0f009f
%doc Changes LICENSE README TODO
0f009f
%doc abuse/ eg/
0f009f
%{perl_vendorlib}/*
0f009f
%{_mandir}/man3/*
0f009f
0f009f
%changelog
72ecaa
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.92-2
72ecaa
- Mass rebuild 2013-12-27
72ecaa
0f009f
* Fri Nov 16 2012 Petr Šabata <contyk@redhat.com> - 0.92-1
0f009f
- 0.92 bump
0f009f
- Modernize the spec
0f009f
- Fix dependencies
0f009f
- Enable the test suite
0f009f
- Drop command macros
0f009f
0f009f
* Thu Sep 13 2012 Petr Pisar <ppisar@redhat.com> - 0.89-9
0f009f
- IO::Pty is required when passing ">pty>" argument (bug #857030)
0f009f
0f009f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89-8
0f009f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0f009f
0f009f
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.89-7
0f009f
- Perl 5.16 rebuild
0f009f
0f009f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89-6
0f009f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0f009f
0f009f
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.89-5
0f009f
- Perl mass rebuild
0f009f
0f009f
* Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.89-4
0f009f
- Perl mass rebuild
0f009f
0f009f
* Thu Jun 23 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.89-3
0f009f
- Perl mass rebuild
0f009f
0f009f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89-2
0f009f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0f009f
0f009f
* Fri Oct 08 2010 Iain Arnell <iarnell@epo.org> 0.89-1
0f009f
- update to latest upstream version
0f009f
- clean up spec for modern rpmbuild
0f009f
0f009f
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.84-3
0f009f
- Mass rebuild with perl-5.12.0
0f009f
0f009f
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.84-2
0f009f
- rebuild against perl 5.10.1
0f009f
0f009f
* Wed Sep 02 2009 Steven Pritchard <steve@kspei.com> 0.84-1
0f009f
- Update to 0.84.
0f009f
- Drop IPCRUNDEBUG from "make test" (bug fixed long ago).
0f009f
0f009f
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-3
0f009f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0f009f
0f009f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-2
0f009f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0f009f
0f009f
* Fri Jan 16 2009 Steven Pritchard <steve@kspei.com> 0.82-1
0f009f
- Update to 0.82.
0f009f
- Use fixperms macro instead of our own chmod incantation.
0f009f
- Fix Source0 URL.
0f009f
- BR Test::More.
0f009f
- Include LICENSE, README, and abuse/ in docs.
0f009f
- Cleanup to more closely resemble cpanspec output.
0f009f
0f009f
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.80-5
0f009f
- Rebuild for perl 5.10 (again)
0f009f
0f009f
* Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.80-4
0f009f
- rebuild for new perl
0f009f
0f009f
* Tue Apr 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.80-3
0f009f
- BuildRequire perl(ExtUtils::MakeMaker).
0f009f
0f009f
* Wed Aug 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.80-2
0f009f
- Fix order of arguments to find(1).
0f009f
0f009f
* Thu May 11 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.80-1
0f009f
- 0.80, fine tune build dependencies.
0f009f
0f009f
* Tue Jan 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.79-3
0f009f
- Rebuild, cosmetic cleanups.
0f009f
0f009f
* Sun Apr 10 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.79-2
0f009f
- Exclude Win32 specific modules.
0f009f
- Include more docs.
0f009f
- Skip tests if /dev/pts doesn't exist.
0f009f
0f009f
* Sat Apr  2 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.79-1
0f009f
- 0.79.
0f009f
0f009f
* Sat Apr  2 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.78-2
0f009f
- Sync with fedora-rpmdevtools' Perl spec template.
0f009f
- Improve dependency filtering script.
0f009f
0f009f
* Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.78-0.fdr.1
0f009f
- Update to 0.78.
0f009f
0f009f
* Sun Feb  1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.77-0.fdr.4
0f009f
- Reduce directory ownership bloat.
0f009f
0f009f
* Fri Nov 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.77-0.fdr.3
0f009f
- BuildRequire perl-IO-Tty for better test coverage.
0f009f
0f009f
* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.77-0.fdr.2
0f009f
- Fix typo in dependency filtering scriptlet.
0f009f
0f009f
* Sat Sep 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.77-0.fdr.1
0f009f
- Update to 0.77.
0f009f
0f009f
* Fri Sep  5 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.75-0.fdr.3
0f009f
- Avoid Win32-specific dependencies.
0f009f
- Use PERL_INSTALL_ROOT.
0f009f
0f009f
* Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.75-0.fdr.2
0f009f
- Install into vendor dirs.
0f009f
0f009f
* Thu Jun 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.75-0.fdr.1
0f009f
- First build.