perl-Test-Inter.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. Name: perl-Test-Inter
  2. Version: 1.01
  3. Release: 3%{?dist}
  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. %description
  18. This is another framework for writing test scripts. It is loosely inspired
  19. by Test::More, and has most of it's functionality, but it is not a drop-in
  20. replacement.
  21. %prep
  22. %setup -q -n Test-Inter-%{version}
  23. chmod -x examples/*
  24. %build
  25. %{__perl} Build.PL installdirs=core
  26. ./Build
  27. %install
  28. rm -rf $RPM_BUILD_ROOT
  29. ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
  30. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  31. %{_fixperms} $RPM_BUILD_ROOT/*
  32. %check
  33. ./Build test
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc ChangeLog LICENSE README TODO examples
  37. %{perl_privlib}/*
  38. %{_mandir}/man3/*
  39. %changelog
  40. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3
  41. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  42. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-2
  43. - 661697 rebuild for fixing problems with vendorach/lib
  44. * Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> 1.01-1
  45. - Specfile autogenerated by cpanspec 1.78.
  46. - Add BuildRequires covered by perl package
  47. - Distribute examples
  48. - Install into perl core (i.e. do not use vendor paths)