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