perl-IPC-Run-vl.spec 5.6 KB

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