From 0f009f242b2d48bfcbc66e88780012ccc0f466e1 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Nov 16 2012 11:24:41 +0000 Subject: import perl-IPC-Run-0.92-1.el7.src.rpm --- diff --git a/.perl-IPC-Run.metadata b/.perl-IPC-Run.metadata new file mode 100644 index 0000000..25260a9 --- /dev/null +++ b/.perl-IPC-Run.metadata @@ -0,0 +1 @@ +87e0c796722a85e0908bb0224326af1436d35809 SOURCES/IPC-Run-0.92.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-IPC-Run.spec b/SPECS/perl-IPC-Run.spec new file mode 100644 index 0000000..c2e32a9 --- /dev/null +++ b/SPECS/perl-IPC-Run.spec @@ -0,0 +1,169 @@ +Name: perl-IPC-Run +Version: 0.92 +Release: 1%{?dist} +Summary: Perl module for interacting with child processes +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/IPC-Run/ +Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IO::Pty) >= 1.08 +BuildRequires: perl(Test::More) >= 0.47 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(IO::Pty) >= 1.08 + +%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} +for file in eg/run_daemon abuse/timers abuse/blocking_debug_with_sub_coprocess ; do + perl -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file" +done + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* +rm -f %{buildroot}%{perl_vendorlib}/IPC/Run/Win32*.pm +rm -f %{buildroot}%{_mandir}/man3/IPC::Run::Win32*.3* + +%check +make test + +%files +%doc Changes LICENSE README TODO +%doc abuse/ eg/ +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Nov 16 2012 Petr Šabata - 0.92-1 +- 0.92 bump +- Modernize the spec +- Fix dependencies +- Enable the test suite +- Drop command macros + +* Thu Sep 13 2012 Petr Pisar - 0.89-9 +- IO::Pty is required when passing ">pty>" argument (bug #857030) + +* Fri Jul 20 2012 Fedora Release Engineering - 0.89-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 0.89-7 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.89-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 24 2011 Marcela Mašláňová - 0.89-5 +- Perl mass rebuild + +* Fri Jun 24 2011 Marcela Mašláňová - 0.89-4 +- Perl mass rebuild + +* Thu Jun 23 2011 Marcela Mašláňová - 0.89-3 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.89-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Oct 08 2010 Iain Arnell 0.89-1 +- update to latest upstream version +- clean up spec for modern rpmbuild + +* Sun May 02 2010 Marcela Maslanova - 0.84-3 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 0.84-2 +- rebuild against perl 5.10.1 + +* Wed Sep 02 2009 Steven Pritchard 0.84-1 +- Update to 0.84. +- Drop IPCRUNDEBUG from "make test" (bug fixed long ago). + +* Sat Jul 25 2009 Fedora Release Engineering - 0.82-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.82-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Jan 16 2009 Steven Pritchard 0.82-1 +- Update to 0.82. +- Use fixperms macro instead of our own chmod incantation. +- Fix Source0 URL. +- BR Test::More. +- Include LICENSE, README, and abuse/ in docs. +- Cleanup to more closely resemble cpanspec output. + +* Wed Feb 27 2008 Tom "spot" Callaway - 0.80-5 +- Rebuild for perl 5.10 (again) + +* Mon Jan 28 2008 Tom "spot" Callaway - 0.80-4 +- rebuild for new perl + +* Tue Apr 17 2007 Ville Skyttä - 0.80-3 +- BuildRequire perl(ExtUtils::MakeMaker). + +* Wed Aug 30 2006 Ville Skyttä - 0.80-2 +- Fix order of arguments to find(1). + +* Thu May 11 2006 Ville Skyttä - 0.80-1 +- 0.80, fine tune build dependencies. + +* Tue Jan 17 2006 Ville Skyttä - 0.79-3 +- Rebuild, cosmetic cleanups. + +* Sun Apr 10 2005 Ville Skyttä - 0.79-2 +- Exclude Win32 specific modules. +- Include more docs. +- Skip tests if /dev/pts doesn't exist. + +* Sat Apr 2 2005 Ville Skyttä - 0.79-1 +- 0.79. + +* Sat Apr 2 2005 Ville Skyttä - 0.78-2 +- Sync with fedora-rpmdevtools' Perl spec template. +- Improve dependency filtering script. + +* Sun Mar 14 2004 Ville Skyttä - 0:0.78-0.fdr.1 +- Update to 0.78. + +* Sun Feb 1 2004 Ville Skyttä - 0:0.77-0.fdr.4 +- Reduce directory ownership bloat. + +* Fri Nov 21 2003 Ville Skyttä - 0:0.77-0.fdr.3 +- BuildRequire perl-IO-Tty for better test coverage. + +* Sat Oct 11 2003 Ville Skyttä - 0:0.77-0.fdr.2 +- Fix typo in dependency filtering scriptlet. + +* Sat Sep 27 2003 Ville Skyttä - 0:0.77-0.fdr.1 +- Update to 0.77. + +* Fri Sep 5 2003 Ville Skyttä - 0:0.75-0.fdr.3 +- Avoid Win32-specific dependencies. +- Use PERL_INSTALL_ROOT. + +* Sun Aug 31 2003 Ville Skyttä - 0:0.75-0.fdr.2 +- Install into vendor dirs. + +* Thu Jun 19 2003 Ville Skyttä - 0:0.75-0.fdr.1 +- First build.