perl-Capture-Tiny-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. %define perl_bootstrap 1
  2. Name: perl-Capture-Tiny
  3. Version: 0.27
  4. Release: 2%{?_dist_release}
  5. Summary: Capture STDOUT and STDERR from Perl, XS or external programs
  6. License: ASL 2.0
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/Capture-Tiny/
  9. Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: perl
  13. BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
  14. BuildRequires: perl(strict)
  15. BuildRequires: perl(warnings)
  16. # Run-time:
  17. BuildRequires: perl(Carp)
  18. BuildRequires: perl(Exporter)
  19. BuildRequires: perl(Fcntl)
  20. BuildRequires: perl(File::Spec)
  21. BuildRequires: perl(File::Temp)
  22. BuildRequires: perl(IO::Handle)
  23. # PerlIO is optional
  24. BuildRequires: perl(Scalar::Util)
  25. # Tests only:
  26. BuildRequires: perl(Config)
  27. BuildRequires: perl(File::Spec::Functions)
  28. BuildRequires: perl(lib)
  29. BuildRequires: perl(IO::File)
  30. BuildRequires: perl(List::Util)
  31. BuildRequires: perl(Test::More) >= 0.62
  32. BuildRequires: perl(version)
  33. # Optional tests:
  34. %if !%{defined perl_bootstrap}
  35. BuildRequires: perl(Inline)
  36. BuildRequires: perl(Inline::C)
  37. BuildRequires: perl(Parse::RecDescent)
  38. %endif
  39. Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  40. %description
  41. Capture::Tiny provides a simple, portable way to capture anything sent to
  42. STDOUT or STDERR, regardless of whether it comes from Perl, from XS code or
  43. from an external program. Optionally, output can be teed so that it is
  44. captured while being passed through to the original handles. Yes, it even
  45. works on Windows. Stop guessing which of a dozen capturing modules to use
  46. in any particular situation and just use this one.
  47. %prep
  48. %setup -q -n Capture-Tiny-%{version}
  49. %build
  50. perl Makefile.PL INSTALLDIRS=perl
  51. make %{?_smp_mflags}
  52. %install
  53. make pure_install DESTDIR=%{buildroot}
  54. find %{buildroot} -type f -name .packlist -exec rm -f {} +
  55. %{_fixperms} %{buildroot}/*
  56. %check
  57. make test
  58. %files
  59. %doc Changes examples LICENSE README Todo
  60. %{perl_privlib}/*
  61. %{_mandir}/man3/*
  62. %changelog
  63. * Wed Nov 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.27-2
  64. - Initial package for Vine Linux
  65. * Wed Nov 12 2014 Petr Šabata <contyk@redhat.com> - 0.27-1
  66. - 0.27 bump
  67. - META changes only
  68. * Tue Nov 04 2014 Petr Šabata <contyk@redhat.com> - 0.26-1
  69. - 0.26 bump
  70. - Test suite enhancements only
  71. * Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-3
  72. - Perl 5.20 re-rebuild of bootstrapped packages
  73. * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-2
  74. - Perl 5.20 rebuild
  75. * Mon Aug 18 2014 Petr Šabata <contyk@redhat.com> - 0.25-1
  76. - 0.25 bump
  77. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-2
  78. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  79. * Mon Feb 10 2014 Petr Šabata <contyk@redhat.com> - 0.24-1
  80. - 0.24 bump, fix CVE-2014-1875
  81. * Thu Oct 24 2013 Petr Šabata <contyk@redhat.com> - 0.23-1
  82. - 0.23 bump
  83. * Thu Sep 05 2013 Petr Šabata <contyk@redhat.com> - 0.22-4
  84. - Avoid circular dependencies when bootstrapping (#1004376)
  85. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  87. * Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 0.22-2
  88. - Perl 5.18 rebuild
  89. * Thu Mar 28 2013 Petr Pisar <ppisar@redhat.com> - 0.22-1
  90. - 0.22 bump
  91. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  93. * Fri Nov 16 2012 Petr Pisar <ppisar@redhat.com> - 0.21-1
  94. - 0.21 bump
  95. * Thu Oct 04 2012 Petr Šabata <contyk@redhat.com> - 0.20-1
  96. - 0.20 bump
  97. * Wed Aug 08 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.19-1
  98. - 0.19 bump
  99. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-3
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  101. * Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 0.18-2
  102. - Perl 5.16 rebuild
  103. * Mon May 07 2012 Petr Šabata <contyk@redhat.com> - 0.18-1
  104. - 0.18 bump
  105. * Thu Feb 23 2012 Petr Šabata <contyk@redhat.com> - 0.17-1
  106. - 0.17 bump
  107. * Mon Feb 13 2012 Petr Šabata <contyk@redhat.com> - 0.16-1
  108. - 0.16 bump
  109. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  111. * Mon Jan 02 2012 Petr Šabata <contyk@redhat.com> - 0.15-1
  112. - 0.15 bump
  113. * Mon Dec 05 2011 Petr Šabata <contyk@redhat.com> - 0.13-1
  114. - 0.13 bump
  115. * Fri Dec 02 2011 Petr Pisar <ppisar@redhat.com> - 0.12-1
  116. - 0.12 bump
  117. * Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-2
  118. - Perl mass rebuild
  119. * Fri May 20 2011 Petr Sabata <psabata@redhat.com> - 0.11-1
  120. - 0.11 bump
  121. - Removing defattr
  122. * Wed Feb 09 2011 Petr Pisar <ppisar@redhat.com> - 0.10-1
  123. - 0.10 bump
  124. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-2
  125. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  126. * Fri Jan 28 2011 Petr Pisar <ppisar@redhat.com> - 0.09-1
  127. - 0.09 bump
  128. - Remove BuildRoot stuff
  129. - Migrate from Module::Build to ExtUtils::MakeMaker
  130. - Install into perl core directory
  131. * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-2
  132. - 661697 rebuild for fixing problems with vendorach/lib
  133. * Mon Jun 21 2010 Petr Pisar <ppisar@redhat.com> - 0.08-1
  134. - 0.08 bump (bug #606277)
  135. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-2
  136. - Mass rebuild with perl-5.12.0
  137. * Wed Jan 27 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-1
  138. - update
  139. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-2
  140. - rebuild against perl 5.10.1
  141. * Tue Aug 11 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-1
  142. - update
  143. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-2
  144. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  145. * Mon Apr 27 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.05-1
  146. - Specfile autogenerated by cpanspec 1.78.