perl-Test-ClassAPI-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. Name: perl-Test-ClassAPI
  2. Version: 1.06
  3. Release: 2%{?_dist_release}
  4. Summary: Provides basic first-pass API testing for large class trees
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Test-ClassAPI/
  8. Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Test-ClassAPI-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(Config::Tiny) >= 2.00
  13. BuildRequires: perl(Class::Inspector) >= 1.12
  14. BuildRequires: perl(File::Spec) >= 0.83
  15. # Explictly required by lib/Test/ClassAPI.pm
  16. BuildRequires: perl(Params::Util) >= 1.00
  17. %if !%{defined perl_bootstrap}
  18. # For improved tests
  19. BuildRequires: perl(Test::Pod)
  20. # For improved tests
  21. BuildRequires: perl(Test::CPAN::Meta) >= 0.12
  22. BuildRequires: perl(Pod::Simple) >= 3.07
  23. BuildRequires: perl(Test::MinimumVersion) >= 0.008
  24. %endif
  25. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. %description
  29. Provides basic first-pass API testing for large class trees.
  30. For many APIs with large numbers of classes, it can be very useful to be
  31. able to do a quick once-over to make sure that classes, methods, and
  32. inheritance is correct, before doing more comprehensive testing.
  33. This module aims to provide such a capability.
  34. %prep
  35. %setup -q -n Test-ClassAPI-%{version}
  36. %build
  37. %{__perl} Makefile.PL INSTALLDIRS=vendor
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf %{buildroot}
  41. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  42. find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
  43. find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
  44. chmod -R u+w %{buildroot}/*
  45. %clean
  46. rm -rf %{buildroot}
  47. %check
  48. %if !%{defined perl_bootstrap}
  49. # remove until fix of Perl::MinimalVersion and version.pm
  50. rm -rf t/99_pmv.t
  51. make test AUTOMATED_TESTING=1
  52. %endif
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc Changes LICENSE
  56. %{perl_vendorlib}/Test
  57. %{_mandir}/man3/*
  58. %changelog
  59. * Sat Nov 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.06-2
  60. - rebuilt with perl 5.16.3
  61. - added Vendor/Distribution tag
  62. * Thu Mar 08 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.06-1
  63. - initial build for Vine Linux
  64. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-10
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  66. * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.06-9
  67. - Perl mass rebuild
  68. * Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.06-8
  69. - Perl mass rebuild
  70. * Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.06-7
  71. - rebuild with Perl 5.14.1
  72. - use perl_bootstrap macro
  73. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-6
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  75. * Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-5
  76. - 661697 rebuild for fixing problems with vendorach/lib
  77. * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-4
  78. - Mass rebuild with perl-5.12.0
  79. * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.06-3
  80. - rebuild against perl 5.10.1
  81. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-2
  82. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  83. * Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1
  84. - Upstream update.
  85. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-4
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  87. * Tue Sep 16 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-3
  88. - Reflect perl(Test::CPAN::Meta) >= 0.12 finally being available in Fedora.
  89. * Tue Aug 26 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-2
  90. - Bump release.
  91. * Tue Aug 26 2008 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.05-1
  92. - Upstream update.
  93. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-4
  94. - Rebuild for perl 5.10 (again)
  95. * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.04-3
  96. - rebuild for new perl
  97. * Thu Sep 06 2007 Ralf Corsépius <rc040203@freenet.de> - 1.04-2
  98. - Update license tag.
  99. * Mon Mar 12 2007 Ralf Corsépius <rc040203@freenet.de> - 1.04-1
  100. - Upstream update.
  101. - BR: perl(ExtUtils::MakeMaker).
  102. * Fri Feb 16 2007 Ralf Corsépius <rc040203@freenet.de> - 1.03-1
  103. - Upstream update.
  104. * Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.02-4
  105. - Mass rebuild.
  106. * Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 1.02-3
  107. - Rebuild for perl-5.8.8.
  108. * Tue Sep 14 2005 Ralf Corsepius <rc040203@freenet.de> - 1.02-2
  109. - New %%summary.
  110. - Extend %%description.
  111. - Don't put README into %%doc (Redundant to man page).
  112. * Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 1.02-1
  113. - Spec file cleanup.
  114. - FE submission.
  115. * Wed Jun 22 2005 Ralf Corsepius <ralf@links2linux.de> - 1.02-0.pm.0
  116. - Initial packman version.