perl-Test-Tester-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Name: perl-Test-Tester
  2. Version: 0.107
  3. Release: 1%{?_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 Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.107-1
  39. - new upstream release
  40. - applied new versioning policy
  41. * Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.106-1vl1
  42. - initial build for Vine Linux
  43. * Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.106-1
  44. - Update to 0.106.
  45. - BR Test::Builder.
  46. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.104-2
  47. - BR ExtUtils::MakeMaker.
  48. * Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.104-1
  49. - Update to 0.104.
  50. - Use fixperms macro instead of our own chmod incantation.
  51. * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.103-2
  52. - Fix find option order.
  53. * Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.103-1
  54. - Specfile autogenerated by cpanspec 1.64.
  55. - Fix License.