perl-IPC-Run3-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. Name: perl-IPC-Run3
  2. Version: 0.048
  3. Release: 1%{?_dist_release}
  4. Summary: Run a subprocess in batch mode
  5. License: (GPL+ or Artistic) or BSD
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/IPC-Run3/
  8. Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IPC-Run3-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::More) >= 0.31
  13. BuildRequires: perl(Time::HiRes)
  14. # For improved tests
  15. BuildRequires: perl(Test::Pod::Coverage)
  16. BuildRequires: perl(Test::Pod)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: shaolin
  21. %description
  22. This module allows you to run a subprocess and redirect stdin, stdout,
  23. and/or stderr to files and perl data structures. It aims to satisfy 99% of
  24. the need for using system, qx, and open3 with a simple, extremely Perlish
  25. API and none of the bloat and rarely used features of IPC::Run.
  26. %prep
  27. %setup -q -n IPC-Run3-%{version}
  28. # Perms in tarballs are broken
  29. find -type f -exec chmod -x {} \;
  30. %build
  31. %{__perl} Makefile.PL INSTALLDIRS=vendor
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf ${RPM_BUILD_ROOT}
  35. make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT}
  36. find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} \;
  37. find ${RPM_BUILD_ROOT} -depth -type d -exec rmdir {} 2>/dev/null \;
  38. %{_fixperms} ${RPM_BUILD_ROOT}/*
  39. %check
  40. make test
  41. %clean
  42. rm -rf ${RPM_BUILD_ROOT}
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc Changes LICENSE README
  46. %{perl_vendorlib}/*
  47. %{_mandir}/man3/*
  48. %changelog
  49. * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.048-1
  50. - updated to 0.048
  51. - built with perl 5.16.3
  52. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.045-2
  53. - rebuild
  54. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.045-1
  55. - initial package for Vine Linux
  56. * Thu Jan 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.045-1
  57. - Upstream update.
  58. - Modernize spec file.
  59. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.044-4
  60. - Perl mass rebuild
  61. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.044-3
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  63. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.044-2
  64. - 661697 rebuild for fixing problems with vendorach/lib
  65. * Mon Sep 13 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.044-1
  66. - Upstream update.
  67. - BR: perl(Test::More), perl(Time::HiRes).
  68. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.043-4
  69. - Mass rebuild with perl-5.12.0
  70. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.043-3
  71. - rebuild against perl 5.10.1
  72. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.043-2
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> 0.043-1
  75. - Upstream update.
  76. - Reflect upstream URL having changed.
  77. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.042-4
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  79. * Sat Nov 29 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.042-3
  80. - Change %%summary.
  81. * Thu Aug 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.042-2
  82. - fix license tag (technically, it was correct before, but this keeps rpmlint from
  83. flagging this package as a false positive)
  84. * Mon Aug 25 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.042-1
  85. - Upstream update.
  86. * Fri Aug 08 2008 Ralf Corsépius <rc040203@freenet.de> 0.041-1
  87. - Upstream update.
  88. * Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-5
  89. - reorder license tag so it doesn't flag as a false positive
  90. * Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-4
  91. - Rebuild normally, second pass
  92. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-3
  93. - Rebuild for perl 5.10 (again), disable tests for first pass
  94. * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.040-2
  95. - rebuild normally, second pass
  96. * Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.040-1.1
  97. - rebuild for new perl, disable tests and TPC for first pass
  98. * Fri Dec 28 2007 Ralf Corsépius <rc040203@freenet.de> 0.040-1
  99. - Upstream update.
  100. - chmod -x files from source tarball.
  101. * Tue Nov 27 2007 Ralf Corsépius <rc040203@freenet.de> 0.039-2
  102. - Bump release to please koji suckage.
  103. * Tue Nov 27 2007 Ralf Corsépius <rc040203@freenet.de> 0.039-1
  104. - Upstream update.
  105. * Fri Sep 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-2
  106. - Initial import.
  107. - Update license tag.
  108. * Tue Aug 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-1
  109. - Initial submission.