perl-Test-Inter-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Name: perl-Test-Inter
  2. Version: 1.09
  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(File::Find::Rule)
  12. BuildRequires: perl(IO::File)
  13. BuildRequires: perl(Module::Build)
  14. # Tests only:
  15. BuildRequires: perl(Test::Pod)
  16. BuildRequires: perl(Test::Pod::Coverage)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. This is another framework for writing test scripts. It is loosely inspired
  22. by Test::More, and has most of it's functionality, but it is not a drop-in
  23. replacement.
  24. %prep
  25. %setup -q -n Test-Inter-%{version}
  26. chmod -x examples/*
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf %{buildroot}
  32. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  33. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  34. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  35. %{_fixperms} %{buildroot}/*
  36. %clean
  37. rm -rf %{buildroot}
  38. %check
  39. make test
  40. %files
  41. %defattr(-,root,root,-)
  42. %license LICENSE
  43. %doc ChangeLog README TODO examples
  44. %{perl_vendorlib}/*
  45. %{_mandir}/man3/*
  46. %changelog
  47. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.09-1
  48. - new upstream release.
  49. - rebuilt with perl-5.26.
  50. * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.05-1
  51. - new upstream release.
  52. * Mon Mar 19 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.03-1
  53. - updated to 1.03
  54. * Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 1.01-4
  55. - build for Vine Linux
  56. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  58. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-2
  59. - 661697 rebuild for fixing problems with vendorach/lib
  60. * Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> 1.01-1
  61. - Specfile autogenerated by cpanspec 1.78.
  62. - Add BuildRequires covered by perl package
  63. - Distribute examples
  64. - Install into perl core (i.e. do not use vendor paths)