perl-Test-Inter-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Name: perl-Test-Inter
  2. Version: 1.05
  3. Release: 1%{?_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 %{buildroot}
  31. ./Build install destdir=%{buildroot} create_packlist=0
  32. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  33. %{_fixperms} %{buildroot}/*
  34. %clean
  35. rm -rf %{buildroot}
  36. %check
  37. ./Build test
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc ChangeLog LICENSE README TODO examples
  41. %{perl_privlib}/*
  42. %{_mandir}/man3/*
  43. %changelog
  44. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.05-1
  45. - new upstream release.
  46. * Mon Mar 19 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-1
  47. - updated to 1.03
  48. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.01-4
  49. - build for Vine Linux
  50. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  52. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-2
  53. - 661697 rebuild for fixing problems with vendorach/lib
  54. * Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> 1.01-1
  55. - Specfile autogenerated by cpanspec 1.78.
  56. - Add BuildRequires covered by perl package
  57. - Distribute examples
  58. - Install into perl core (i.e. do not use vendor paths)