perl-IPC-Run3-vl.spec 4.5 KB

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