a9f8b80
Name: 		perl-Class-Inspector
fa6bc16
Version: 	1.23
ce76e99
Release: 	1%{?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
a9f8b80
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
4529ff4
BuildRequires: perl(Test::MinimumVersion) >= 0.007
b3910dd
4904326
%if 0%{?fedora} >= 10
fa6bc16
# FIXME: Missing in FC < 10
fa6bc16
BuildRequires: perl(Test::CPAN::Meta) >= 0.07
fa6bc16
%endif
fa6bc16
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
b3910dd
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
fa6bc16
* Tue Jun 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.23-1
fa6bc16
- Upstream update.
fa6bc16
1c07588
* Tue Mar 11 2008 Ralf Corsépius <rc040203@freenet.de> - 1.22-1
1c07588
- Upstream update.
1c07588
fa6bc16
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-3
fa6bc16
- Rebuild normally, second pass
fa6bc16
fa6bc16
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.20-2
fa6bc16
- Rebuild for perl 5.10 (again), first pass
fa6bc16
ce76e99
* Thu Feb 14 2008 Ralf Corsépius <rc040203@freenet.de> - 1.20-1
ce76e99
- Upstream update.
ce76e99
fa6bc16
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.18-3
fa6bc16
- rebuild normally, second pass
fa6bc16
fa6bc16
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.18-2.1
fa6bc16
- rebuild for new perl, first pass, disable TMV, tests
fa6bc16
4529ff4
* Sun Nov 25 2007 Ralf Corsépius <rc040203@freenet.de> - 1.18-2
4529ff4
- Add BR: perl(Test::MinimumVersion).
4529ff4
b3910dd
* Tue Nov 20 2007 Ralf Corsépius <rc040203@freenet.de> - 1.18-1
b3910dd
- Upstream update.
b3910dd
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.