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