a9f8b80
Name: 		perl-Class-Inspector
aecf497
Version: 	1.24
0908320
Release: 	2%{?dist}
4ccd77b
Summary: 	Get information about a class and its structure
88cfecf
License: 	GPL+ or Artistic
a9f8b80
Group: 		Development/Libraries
a9f8b80
URL: 		http://search.cpan.org/dist/Class-Inspector/
a9f8b80
Source0: 	http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Inspector-%{version}.tar.gz
903d57f
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a9f8b80
a9f8b80
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
a9f8b80
BuildArch: noarch
a9f8b80
ca8d136
BuildRequires:	perl(Test::More)
ca8d136
a9f8b80
# For better test coverage
a9f8b80
BuildRequires: perl(Test::Pod) >= 1.00
aecf497
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
aecf497
BuildRequires: perl(Perl::MinimumVersion) >= 1.20
0908320
BuildRequires: perl(Test::MinimumVersion) >= 0.008
19d4df4
a9f8b80
%description
a9f8b80
Class::Inspector allows you to get information about a loaded class.
a9f8b80
Most or all of this information can be found in other ways, but they aren't
a9f8b80
always very friendly, and usually involve a relatively high level of Perl
a9f8b80
wizardry, or strange and unusual looking code. Class::Inspector attempts to
a9f8b80
provide an easier, more friendly interface to this information.
a9f8b80
a9f8b80
%prep
a9f8b80
%setup -q -n Class-Inspector-%{version}
a9f8b80
a9f8b80
%build
a9f8b80
%{__perl} Makefile.PL INSTALLDIRS=vendor
a9f8b80
make %{?_smp_mflags}
a9f8b80
a9f8b80
%install
a9f8b80
rm -rf $RPM_BUILD_ROOT
a9f8b80
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
a9f8b80
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
a9f8b80
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
a9f8b80
chmod -R u+w $RPM_BUILD_ROOT/*
a9f8b80
a9f8b80
%clean
a9f8b80
rm -rf $RPM_BUILD_ROOT
a9f8b80
a9f8b80
%check
cd4b54d
make test AUTOMATED_TESTING=1
a9f8b80
a9f8b80
%files
a9f8b80
%defattr(-,root,root,-)
17046c2
%doc Changes LICENSE README
a9f8b80
%{perl_vendorlib}/Class
a9f8b80
%{_mandir}/man3/*
a9f8b80
a9f8b80
%changelog
0908320
* Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.24-2
0908320
- BR: perl(Test::MinimumVersion) >= 0.008
0908320
aecf497
* Mon May 11 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.24-1
aecf497
- Upstream update.
aecf497
- Remove Class-Inspector-1.23.diff.
aecf497
903d57f
* Fri Feb 27 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.23-3
903d57f
- Unconditionally BR: perl(Test::CPAN::Meta).
903d57f
- Adjust minimum perl version in META.yml (Add Class-Inspector-1.23.diff).
903d57f
1a40030
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-2
1a40030
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1a40030
19d4df4
* Tue Jun 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.23-1
19d4df4
- Upstream update.
19d4df4
4b3f490
* Tue Mar 11 2008 Ralf Corsépius <rc040203@freenet.de> - 1.22-1
4b3f490
- Upstream update.
4b3f490
cd4b54d
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-3
cd4b54d
- Rebuild normally, second pass
cd4b54d
ddd9571
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-2
ddd9571
- Rebuild for perl 5.10 (again), first pass
ddd9571
abec88c
* Thu Feb 14 2008 Ralf Corsépius <rc040203@freenet.de> - 1.20-1
abec88c
- Upstream update.
abec88c
976f224
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.18-3
976f224
- rebuild normally, second pass
976f224
3e2cce4
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.18-2.1
3e2cce4
- rebuild for new perl, first pass, disable TMV, tests
3e2cce4
e3a59fa
* Sun Nov 25 2007 Ralf Corsépius <rc040203@freenet.de> - 1.18-2
e3a59fa
- Add BR: perl(Test::MinimumVersion).
e3a59fa
f8dc71e
* Tue Nov 20 2007 Ralf Corsépius <rc040203@freenet.de> - 1.18-1
f8dc71e
- Upstream update.
f8dc71e
88cfecf
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.17-1
88cfecf
- Upstream update.
88cfecf
ca8d136
* Thu Apr 19 2007 Ralf Corsépius <rc040203@freenet.de> - 1.16-3
ca8d136
- Reflect perl package split.
ca8d136
963d194
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.16-2
963d194
- Mass rebuild.
963d194
4bc80b1
* Mon May 21 2006 Ralf Corsépius <rc040203@freenet.de> - 1.16-1
4bc80b1
- Upstream update.
4bc80b1
8804d20
* Mon May 08 2006 Ralf Corsépius <rc040203@freenet.de> - 1.15-1
8804d20
- Upstream update.
8804d20
5c8bec4
* Wed Mar 01 2006 Ralf Corsépius <rc040203@freenet.de> - 1.13-2
5c8bec4
- Rebuild for perl-5.8.8.
5c8bec4
ebdf60c
* Thu Sep 29 2005 Ralf Corsepius <rc040203@freenet.de> - 1.13-1
ebdf60c
- Upstream update.
ebdf60c
4ccd77b
* Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de>
4ccd77b
- Fix another typo in %%summary.
4ccd77b
17046c2
* Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 1.12-2
17046c2
- Fix typo in %%summary.
17046c2
- Spec file cleanup.
17046c2
a9f8b80
* Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 1.12-1
a9f8b80
- FE submission.