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