perl-Test-Inter-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Name: perl-Test-Inter
  2. Version: 1.01
  3. Release: 4%{?_dist_release}
  4. Summary: Framework for more readable interactive test scripts
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Test-Inter/
  8. Source0: http://www.cpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRequires: perl(File::Basename)
  11. BuildRequires: perl(IO::File)
  12. BuildRequires: perl(Module::Build)
  13. # Tests only:
  14. BuildRequires: perl(Test::Pod)
  15. BuildRequires: perl(Test::Pod::Coverage)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. This is another framework for writing test scripts. It is loosely inspired
  21. by Test::More, and has most of it's functionality, but it is not a drop-in
  22. replacement.
  23. %prep
  24. %setup -q -n Test-Inter-%{version}
  25. chmod -x examples/*
  26. %build
  27. %{__perl} Build.PL installdirs=core
  28. ./Build
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  32. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  33. %{_fixperms} $RPM_BUILD_ROOT/*
  34. %check
  35. ./Build test
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc ChangeLog LICENSE README TODO examples
  39. %{perl_privlib}/*
  40. %{_mandir}/man3/*
  41. %changelog
  42. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.01-4
  43. - build for Vine Linux
  44. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  46. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-2
  47. - 661697 rebuild for fixing problems with vendorach/lib
  48. * Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> 1.01-1
  49. - Specfile autogenerated by cpanspec 1.78.
  50. - Add BuildRequires covered by perl package
  51. - Distribute examples
  52. - Install into perl core (i.e. do not use vendor paths)