perl-Test-Tester-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Name: perl-Test-Tester
  2. Version: 0.109
  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(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. If you have written a test module based on Test::Builder then Test::Tester
  18. allows you to test it with the minimum of effort.
  19. %prep
  20. %setup -q -n Test-Tester-%{version}
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor
  23. make %{?_smp_mflags}
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  27. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  28. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  29. %{_fixperms} $RPM_BUILD_ROOT/*
  30. %check
  31. make test
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc ARTISTIC CHANGES README TODO
  37. %{perl_vendorlib}/*
  38. %{_mandir}/man3/*
  39. %changelog
  40. * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.109-1
  41. - updated to 0.109
  42. - built with perl 5.16.3
  43. - added Vendor and Distribution tag
  44. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.107-2
  45. - rebuild with perl-5.12.3
  46. * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.107-1
  47. - new upstream release
  48. - applied new versioning policy
  49. * Tue Sep 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.106-1vl1
  50. - initial build for Vine Linux
  51. * Tue Sep 18 2007 Steven Pritchard <steve@kspei.com> 0.106-1
  52. - Update to 0.106.
  53. - BR Test::Builder.
  54. * Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.104-2
  55. - BR ExtUtils::MakeMaker.
  56. * Tue Dec 26 2006 Steven Pritchard <steve@kspei.com> 0.104-1
  57. - Update to 0.104.
  58. - Use fixperms macro instead of our own chmod incantation.
  59. * Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.103-2
  60. - Fix find option order.
  61. * Sat Apr 08 2006 Steven Pritchard <steve@kspei.com> 0.103-1
  62. - Specfile autogenerated by cpanspec 1.64.
  63. - Fix License.