perl-IPC-Run-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. Name: perl-IPC-Run
  2. Version: 0.89
  3. Release: 1%{?_dist_release}
  4. Summary: Perl module for interacting with child processes
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/IPC-Run/
  8. Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/IPC-Run-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRequires: perl(ExtUtils::MakeMaker)
  11. BuildRequires: perl(IO::Pty) >= 1.00
  12. BuildRequires: perl(Test::More) >= 0.47
  13. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  14. %description
  15. IPC::Run allows you run and interact with child processes using files,
  16. pipes, and pseudo-ttys. Both system()-style and scripted usages are
  17. supported and may be mixed. Likewise, functional and OO API styles are
  18. both supported and may be mixed.
  19. Various redirection operators reminiscent of those seen on common Unix
  20. and DOS command lines are provided.
  21. %prep
  22. %setup -q -n IPC-Run-%{version}
  23. chmod 644 lib/IPC/*.pm lib/IPC/Run/*.pm Changes eg/*
  24. for file in eg/run_daemon abuse/timers abuse/blocking_debug_with_sub_coprocess ; do
  25. %{__perl} -pi -e 's,^#!.*/perl,%{__perl}, if ($. == 1)' "$file"
  26. done
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  33. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  34. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  35. %{_fixperms} %{buildroot}/*
  36. rm -f %{buildroot}%{perl_vendorlib}/IPC/Run/Win32*.pm
  37. rm -f %{buildroot}%{_mandir}/man3/IPC::Run::Win32*.3*
  38. %check
  39. # test doesn't work in this mock with tty
  40. make test || :
  41. %clean
  42. rm -rf %{buildroot}
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc Changes LICENSE README TODO
  46. %doc abuse/ eg/
  47. %{perl_vendorlib}/*
  48. %{_mandir}/man3/*
  49. %changelog
  50. * Fri Mar 09 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.89-1
  51. - initial build for Vine Linux
  52. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89-6
  53. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  54. * Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.89-5
  55. - Perl mass rebuild
  56. * Fri Jun 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.89-4
  57. - Perl mass rebuild
  58. * Thu Jun 23 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.89-3
  59. - Perl mass rebuild
  60. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89-2
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  62. * Fri Oct 08 2010 Iain Arnell <iarnell@epo.org> 0.89-1
  63. - update to latest upstream version
  64. - clean up spec for modern rpmbuild
  65. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.84-3
  66. - Mass rebuild with perl-5.12.0
  67. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.84-2
  68. - rebuild against perl 5.10.1
  69. * Wed Sep 02 2009 Steven Pritchard <steve@kspei.com> 0.84-1
  70. - Update to 0.84.
  71. - Drop IPCRUNDEBUG from "make test" (bug fixed long ago).
  72. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-3
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  76. * Fri Jan 16 2009 Steven Pritchard <steve@kspei.com> 0.82-1
  77. - Update to 0.82.
  78. - Use fixperms macro instead of our own chmod incantation.
  79. - Fix Source0 URL.
  80. - BR Test::More.
  81. - Include LICENSE, README, and abuse/ in docs.
  82. - Cleanup to more closely resemble cpanspec output.
  83. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.80-5
  84. - Rebuild for perl 5.10 (again)
  85. * Mon Jan 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.80-4
  86. - rebuild for new perl
  87. * Tue Apr 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.80-3
  88. - BuildRequire perl(ExtUtils::MakeMaker).
  89. * Wed Aug 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.80-2
  90. - Fix order of arguments to find(1).
  91. * Thu May 11 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.80-1
  92. - 0.80, fine tune build dependencies.
  93. * Tue Jan 17 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.79-3
  94. - Rebuild, cosmetic cleanups.
  95. * Sun Apr 10 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.79-2
  96. - Exclude Win32 specific modules.
  97. - Include more docs.
  98. - Skip tests if /dev/pts doesn't exist.
  99. * Sat Apr 2 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.79-1
  100. - 0.79.
  101. * Sat Apr 2 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.78-2
  102. - Sync with fedora-rpmdevtools' Perl spec template.
  103. - Improve dependency filtering script.
  104. * Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.78-0.fdr.1
  105. - Update to 0.78.
  106. * Sun Feb 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.77-0.fdr.4
  107. - Reduce directory ownership bloat.
  108. * Fri Nov 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.77-0.fdr.3
  109. - BuildRequire perl-IO-Tty for better test coverage.
  110. * Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.77-0.fdr.2
  111. - Fix typo in dependency filtering scriptlet.
  112. * Sat Sep 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.77-0.fdr.1
  113. - Update to 0.77.
  114. * Fri Sep 5 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.75-0.fdr.3
  115. - Avoid Win32-specific dependencies.
  116. - Use PERL_INSTALL_ROOT.
  117. * Sun Aug 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.75-0.fdr.2
  118. - Install into vendor dirs.
  119. * Thu Jun 19 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.75-0.fdr.1
  120. - First build.