perl-Test-Output-vl.spec 3.5 KB

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