perl-Test-Output-vl.spec 3.2 KB

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