perl-Test-Manifest-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Name: perl-Test-Manifest
  2. Version: 1.22
  3. Release: 6%{?_dist_release}
  4. Summary: Test case module for Perl
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Test-Manifest/
  8. Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Manifest-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(Test::Pod)
  12. BuildRequires: perl(Test::Pod::Coverage)
  13. BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. %description
  16. MakeMaker assumes that you want to run all of the .t files in the t/
  17. directory in ascii-betical order during make test unless you say
  18. otherwise. This leads to some interesting naming schemes for test
  19. files to get them in the desired order.
  20. You can specify any order or any files that you like, though, with the
  21. test directive to WriteMakefile.
  22. Test::Manifest looks in the t/test_manifest file to find out which
  23. tests you want to run and the order in which you want to run them. It
  24. constructs the right value for MakeMaker to do the right thing.
  25. %prep
  26. %setup -q -n Test-Manifest-%{version}
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  34. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
  35. chmod -R u+w $RPM_BUILD_ROOT/*
  36. %check
  37. make test
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc Changes
  43. %{perl_vendorlib}/Test/
  44. %{_mandir}/man3/*.3*
  45. %changelog
  46. * Thu Nov 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.22-6
  47. - initial build for Vine Linux
  48. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-5
  49. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  50. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-4
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  52. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.22-3
  53. - Rebuild for perl 5.10 (again)
  54. * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.22-2
  55. - rebuild for new perl
  56. * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.22-1
  57. - 1.22
  58. - license fix
  59. * Fri Feb 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.17-1
  60. - Update to 1.17.
  61. * Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-5
  62. - Rebuild for FC6.
  63. * Mon Feb 20 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-4
  64. - Rebuild for FC5 (perl 5.8.8).
  65. * Thu May 12 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-3
  66. - Add dist tag.
  67. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.14-2
  68. - rebuilt
  69. * Tue Mar 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1
  70. - Update to 1.14.
  71. * Wed Mar 23 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.13-1
  72. - Update to 1.13.
  73. * Sat Oct 30 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.11-1
  74. - Update to 1.11.
  75. * Sun Jun 13 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:0.93-0.fdr.2
  76. - Bring up to date with current fedora.us perl spec template.
  77. - Require perl >= 2:5.8.0 for vendor install dir support
  78. (also resolves the ExtUtils::MakeMaker version problem).
  79. * Sun Mar 14 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.93-0.fdr.1
  80. - Update to 0.93.
  81. - Reduce directory ownership bloat.
  82. * Sun Oct 12 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.92-0.fdr.1
  83. - First build.