perl-IPC-Run3-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. Name: perl-IPC-Run3
  2. Version: 0.048
  3. Release: 2%{?_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)
  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. %license LICENSE
  46. %doc Changes README
  47. %{perl_vendorlib}/*
  48. %{_mandir}/man3/*
  49. %changelog
  50. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.048-2
  51. - rebuilt with perl-5.26.
  52. * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.048-1
  53. - updated to 0.048
  54. - built with perl 5.16.3
  55. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.045-2
  56. - rebuild
  57. * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.045-1
  58. - initial package for Vine Linux
  59. * Thu Jan 05 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.045-1
  60. - Upstream update.
  61. - Modernize spec file.
  62. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.044-4
  63. - Perl mass rebuild
  64. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.044-3
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  66. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.044-2
  67. - 661697 rebuild for fixing problems with vendorach/lib
  68. * Mon Sep 13 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.044-1
  69. - Upstream update.
  70. - BR: perl(Test::More), perl(Time::HiRes).
  71. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.043-4
  72. - Mass rebuild with perl-5.12.0
  73. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.043-3
  74. - rebuild against perl 5.10.1
  75. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.043-2
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  77. * Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> 0.043-1
  78. - Upstream update.
  79. - Reflect upstream URL having changed.
  80. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.042-4
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  82. * Sat Nov 29 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.042-3
  83. - Change %%summary.
  84. * Thu Aug 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.042-2
  85. - fix license tag (technically, it was correct before, but this keeps rpmlint from
  86. flagging this package as a false positive)
  87. * Mon Aug 25 2008 Ralf Corsépius <corsepiu@fedoraproject.org> 0.042-1
  88. - Upstream update.
  89. * Fri Aug 08 2008 Ralf Corsépius <rc040203@freenet.de> 0.041-1
  90. - Upstream update.
  91. * Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-5
  92. - reorder license tag so it doesn't flag as a false positive
  93. * Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-4
  94. - Rebuild normally, second pass
  95. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.040-3
  96. - Rebuild for perl 5.10 (again), disable tests for first pass
  97. * Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.040-2
  98. - rebuild normally, second pass
  99. * Sat Jan 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.040-1.1
  100. - rebuild for new perl, disable tests and TPC for first pass
  101. * Fri Dec 28 2007 Ralf Corsépius <rc040203@freenet.de> 0.040-1
  102. - Upstream update.
  103. - chmod -x files from source tarball.
  104. * Tue Nov 27 2007 Ralf Corsépius <rc040203@freenet.de> 0.039-2
  105. - Bump release to please koji suckage.
  106. * Tue Nov 27 2007 Ralf Corsépius <rc040203@freenet.de> 0.039-1
  107. - Upstream update.
  108. * Fri Sep 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-2
  109. - Initial import.
  110. - Update license tag.
  111. * Tue Aug 07 2007 Ralf Corsépius <rc040203@freenet.de> 0.037-1
  112. - Initial submission.