perl-IPC-Run3-vl.spec 4.6 KB

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