|
|
4e809a3 |
Name: perl-Test-ClassAPI
|
|
|
4e809a3 |
Version: 1.02
|
|
|
65d0f37 |
Release: 2%{?dist}
|
|
|
65d0f37 |
Summary: Provides basic first-pass API testing for large class trees
|
|
|
4e809a3 |
License: GPL or Artistic
|
|
|
4e809a3 |
Group: Development/Libraries
|
|
|
4e809a3 |
URL: http://search.cpan.org/dist/Test-ClassAPI/
|
|
|
65d0f37 |
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Test-ClassAPI-%{version}.tar.gz
|
|
|
4e809a3 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
4e809a3 |
|
|
|
4e809a3 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
4e809a3 |
BuildArch: noarch
|
|
|
4e809a3 |
|
|
|
4e809a3 |
BuildRequires: perl(Config::Tiny) >= 2.00
|
|
|
4e809a3 |
BuildRequires: perl(Class::Inspector) >= 1.06
|
|
|
4e809a3 |
|
|
|
4e809a3 |
%description
|
|
|
65d0f37 |
Provides basic first-pass API testing for large class trees.
|
|
|
65d0f37 |
|
|
|
65d0f37 |
For many APIs with large numbers of classes, it can be very useful to be
|
|
|
65d0f37 |
able to do a quick once-over to make sure that classes, methods, and
|
|
|
65d0f37 |
inheritance is correct, before doing more comprehensive testing.
|
|
|
65d0f37 |
This module aims to provide such a capability.
|
|
|
4e809a3 |
|
|
|
4e809a3 |
%prep
|
|
|
4e809a3 |
%setup -q -n Test-ClassAPI-%{version}
|
|
|
4e809a3 |
|
|
|
4e809a3 |
%build
|
|
|
4e809a3 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
4e809a3 |
make %{?_smp_mflags}
|
|
|
4e809a3 |
|
|
|
4e809a3 |
%install
|
|
|
4e809a3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4e809a3 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
4e809a3 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
4e809a3 |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
4e809a3 |
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
4e809a3 |
|
|
|
4e809a3 |
%clean
|
|
|
4e809a3 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4e809a3 |
|
|
|
4e809a3 |
%check
|
|
|
4e809a3 |
make test
|
|
|
4e809a3 |
|
|
|
4e809a3 |
%files
|
|
|
4e809a3 |
%defattr(-,root,root,-)
|
|
|
65d0f37 |
%doc Changes LICENSE
|
|
|
4e809a3 |
%{perl_vendorlib}/Test
|
|
|
4e809a3 |
%{_mandir}/man3/*
|
|
|
4e809a3 |
|
|
|
4e809a3 |
%changelog
|
|
|
65d0f37 |
* Tue Sep 14 2005 Ralf Corsepius <rc040203@freenet.de> - 1.02-2
|
|
|
65d0f37 |
- New %%summary.
|
|
|
65d0f37 |
- Extend %%description.
|
|
|
65d0f37 |
- Don't put README into %%doc (Redundant to man page).
|
|
|
65d0f37 |
|
|
|
4e809a3 |
* Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 1.02-1
|
|
|
4e809a3 |
- Spec file cleanup.
|
|
|
4e809a3 |
- FE submission.
|
|
|
4e809a3 |
|
|
|
4e809a3 |
* Wed Jun 22 2005 Ralf Corsepius <ralf@links2linux.de> - 1.02-0.pm.0
|
|
|
4e809a3 |
- Initial packman version.
|