perl-Capture-Tiny-vl.spec 6.1 KB

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