9252ae
Name:           perl-IPC-Run3
9252ae
Version:        0.045
9252ae
Release:        6%{?dist}
9252ae
Summary:        Run a subprocess in batch mode
9252ae
License:        GPL+ or Artistic or BSD
9252ae
Group:          Development/Libraries
9252ae
URL:            http://search.cpan.org/dist/IPC-Run3/
9252ae
Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz
9252ae
BuildArch:      noarch
9252ae
BuildRequires:  perl(Carp)
9252ae
BuildRequires:  perl(constant)
9252ae
BuildRequires:  perl(Exporter)
9252ae
BuildRequires:  perl(ExtUtils::MakeMaker)
9252ae
BuildRequires:  perl(File::Temp)
9252ae
BuildRequires:  perl(Getopt::Long)
9252ae
BuildRequires:  perl(Test)
9252ae
BuildRequires:  perl(Test::More) >= 0.31
9252ae
BuildRequires:  perl(Time::HiRes)
9252ae
# For improved tests
9252ae
BuildRequires:  perl(Test::Pod::Coverage)
9252ae
BuildRequires:  perl(Test::Pod)
9252ae
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
9252ae
# Time::HiRes needed for debugging with IPCRUN3PROFILE=1, bug #1034866
9252ae
Requires:       perl(Time::HiRes)
9252ae
9252ae
%description
9252ae
This module allows you to run a subprocess and redirect stdin, stdout,
9252ae
and/or stderr to files and perl data structures. It aims to satisfy 99% of
9252ae
the need for using system, qx, and open3 with a simple, extremely Perlish
9252ae
API and none of the bloat and rarely used features of IPC::Run.
9252ae
9252ae
%prep
9252ae
%setup -q -n IPC-Run3-%{version}
9252ae
# Perms in tarballs are broken 
9252ae
find -type f -exec chmod -x {} \;
9252ae
9252ae
%build
9252ae
perl Makefile.PL INSTALLDIRS=vendor
9252ae
make %{?_smp_mflags}
9252ae
9252ae
%install
9252ae
make pure_install DESTDIR=$RPM_BUILD_ROOT
9252ae
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
9252ae
%{_fixperms} $RPM_BUILD_ROOT/*
9252ae
9252ae
%check
9252ae
make test
9252ae
9252ae
%files
9252ae
%defattr(-,root,root,-)
9252ae
%doc Changes LICENSE README
9252ae
%{perl_vendorlib}/*
9252ae
%{_mandir}/man3/*
9252ae
9252ae
%changelog
9252ae
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.045-6
9252ae
- Mass rebuild 2013-12-27
9252ae
9252ae
* Thu Nov 28 2013 Petr Pisar <ppisar@redhat.com> - 0.045-5
9252ae
- Add run-time dependency on Time::HiRes for for debugging mode (bug #1034866)
9252ae
9252ae
* Fri Nov 23 2012 Petr Šabata <contyk@redhat.com> - 0.045-4
9252ae
- Add missing BRs
9252ae
- Drop command macros
9252ae
- Remove redundant parens from the Licence tag
9252ae
9252ae
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.045-3
9252ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9252ae
9252ae
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.045-2
9252ae
- Perl 5.16 rebuild
9252ae
9252ae
* Thu Jan 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.045-1
9252ae
- Upstream update.
9252ae
- Modernize spec file.
9252ae
9252ae
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.044-4
9252ae
- Perl mass rebuild
9252ae
9252ae
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.044-3
9252ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9252ae
9252ae
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.044-2
9252ae
- 661697 rebuild for fixing problems with vendorach/lib
9252ae
9252ae
* Mon Sep 13 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.044-1
9252ae
- Upstream update.
9252ae
- BR: perl(Test::More), perl(Time::HiRes).
9252ae
9252ae
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.043-4
9252ae
- Mass rebuild with perl-5.12.0
9252ae
9252ae
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.043-3
9252ae
- rebuild against perl 5.10.1
9252ae
9252ae
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.043-2
9252ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9252ae
9252ae
* Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> 0.043-1
9252ae
- Upstream update.
9252ae
- Reflect upstream URL having changed.
9252ae
9252ae
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.042-4
9252ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9252ae
9252ae
* Sat Nov 29 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.042-3
9252ae
- Change %%summary.
9252ae
9252ae
* Thu Aug 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.042-2
9252ae
- fix license tag (technically, it was correct before, but this keeps rpmlint from
9252ae
  flagging this package as a false positive)
9252ae
9252ae
* Mon Aug 25 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.042-1
9252ae
- Upstream update.
9252ae
9252ae
* Fri Aug 08 2008 Ralf Corsépius <rc040203@freenet.de> 0.041-1
9252ae
- Upstream update.
9252ae
9252ae
* Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-5
9252ae
- reorder license tag so it doesn't flag as a false positive
9252ae
9252ae
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-4
9252ae
- Rebuild normally, second pass
9252ae
9252ae
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-3
9252ae
- Rebuild for perl 5.10 (again), disable tests for first pass
9252ae
9252ae
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.040-2
9252ae
- rebuild normally, second pass
9252ae
9252ae
* Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.040-1.1
9252ae
- rebuild for new perl, disable tests and TPC for first pass
9252ae
9252ae
* Fri Dec 28 2007 Ralf Corsépius <rc040203@freenet.de> 0.040-1
9252ae
- Upstream update.
9252ae
- chmod -x files from source tarball.
9252ae
9252ae
* Tue Nov 27 2007 Ralf Corsépius <rc040203@freenet.de> 0.039-2
9252ae
- Bump release to please koji suckage.
9252ae
9252ae
* Tue Nov 27 2007 Ralf Corsépius <rc040203@freenet.de> 0.039-1
9252ae
- Upstream update.
9252ae
9252ae
* Fri Sep 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-2
9252ae
- Initial import.
9252ae
- Update license tag.
9252ae
9252ae
* Tue Aug 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-1
9252ae
- Initial submission.