perl-Test-Tester-vl.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Name: perl-Test-Tester
  2. Version: 0.107
  3. Release: 2%{?_dist_release}
  4. Summary: Ease testing test modules built with Test::Builder
  5. License: GPL or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Test-Tester/
  8. Source0: http://www.cpan.org/authors/id/F/FD/FDALY/Test-Tester-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Test::Builder)
  13. Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version)
  14. %description
  15. If you have written a test module based on Test::Builder then Test::Tester
  16. allows you to test it with the minimum of effort.
  17. %prep
  18. %setup -q -n Test-Tester-%{version}
  19. %build
  20. %{__perl} Makefile.PL INSTALLDIRS=vendor
  21. make %{?_smp_mflags}
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  25. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  26. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  27. %{_fixperms} $RPM_BUILD_ROOT/*
  28. %check
  29. make test
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc ARTISTIC CHANGES README TODO
  35. %{perl_vendorlib}/*
  36. %{_mandir}/man3/*
  37. %changelog
  38. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.107-2
  39. - rebuild with perl-5.12.3
  40. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.107-1
  41. - new upstream release
  42. - applied new versioning policy
  43. * Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.106-1vl1
  44. - initial build for Vine Linux
  45. * Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.106-1
  46. - Update to 0.106.
  47. - BR Test::Builder.
  48. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.104-2
  49. - BR ExtUtils::MakeMaker.
  50. * Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.104-1
  51. - Update to 0.104.
  52. - Use fixperms macro instead of our own chmod incantation.
  53. * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.103-2
  54. - Fix find option order.
  55. * Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.103-1
  56. - Specfile autogenerated by cpanspec 1.64.
  57. - Fix License.