perl-Test-Output-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Name: perl-Test-Output
  2. %global realver 1.031
  3. Version: 1.03.1
  4. Release: 1%{?_dist_release}
  5. Summary: Utilities to test STDOUT and STDERR messages
  6. License: GPL+ or Artistic
  7. Group: Development/Libraries
  8. URL: http://search.cpan.org/dist/Test-Output/
  9. Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Output-%{realver}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildArch: noarch
  12. BuildRequires: perl(Capture::Tiny)
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. BuildRequires: perl(File::Temp)
  15. BuildRequires: perl(Sub::Exporter)
  16. BuildRequires: perl(Test::Pod)
  17. BuildRequires: perl(Test::Pod::Coverage)
  18. BuildRequires: perl(Test::More)
  19. BuildRequires: perl(Test::Tester)
  20. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  21. %description
  22. Test::Output provides a simple interface for testing output sent to STDOUT
  23. or STDERR. A number of different utilities are included to try and be as
  24. flexible as possible to the tester.
  25. %prep
  26. %setup -q -n Test-Output-%{realver}
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  33. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  34. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  35. %{_fixperms} %{buildroot}/*
  36. %check
  37. make test
  38. %clean
  39. rm -rf %{buildroot}
  40. %files
  41. %license LICENSE
  42. %doc Changes README
  43. %{perl_vendorlib}/*
  44. %{_mandir}/man3/*
  45. %changelog
  46. * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.03.1-1
  47. - new upstream release.
  48. - rebuilt with perl-5.26.
  49. * Tue Dec 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.03-1
  50. - updated to 1.03
  51. - built with perl 5.16.3
  52. - added BR: perl(Capture::Tiny)
  53. * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.01-1
  54. - initial build for Vine Linux
  55. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  57. * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.01-2
  58. - Perl mass rebuild
  59. * Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 1.01-1
  60. - update to latest upstream version
  61. - clean up spec for modern rpmbuild
  62. - doesn't require Test::Tester
  63. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-2
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  65. * Wed Dec 08 2010 Steven Pritchard <steve@kspei.com> 0.16-1
  66. - Update to 0.16.
  67. - Update Source0 URL.
  68. - Add LICENSE to docs.
  69. * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.12-5
  70. - Mass rebuild with perl-5.12.0
  71. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.12-4
  72. - rebuild against perl 5.10.1
  73. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  75. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  77. * Wed Dec 10 2008 Steven Pritchard <steve@kspei.com> 0.12-1
  78. - Update to 0.12.
  79. - BR Test::More.
  80. - Fix typo in description.
  81. - Include TODO in docs.
  82. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.10-4
  83. - Rebuild for perl 5.10 (again)
  84. * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-3
  85. - rebuild for new perl
  86. - fix license tag
  87. * Thu Jul 05 2007 Steven Pritchard <steve@kspei.com> 0.10-2
  88. - Rebuild.
  89. * Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 0.10-1
  90. - Specfile autogenerated by cpanspec 1.71.
  91. - Fix License.
  92. - BR Test::Pod and Test::Pod::Coverage.