a9f8b80
Name: 		perl-Class-Inspector
7bcd6a8
Version: 	1.17
7bcd6a8
Release: 	1%{?dist}
4ccd77b
Summary: 	Get information about a class and its structure
7bcd6a8
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
7bcd6a8
BuildRequires:	perl(Test::More)
7bcd6a8
a9f8b80
# For better test coverage
a9f8b80
BuildRequires: perl(Test::Pod) >= 1.00
a9f8b80
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
a9f8b80
make test
a9f8b80
a9f8b80
%files
a9f8b80
%defattr(-,root,root,-)
17046c2
%doc Changes LICENSE README
a9f8b80
%{perl_vendorlib}/Class
a9f8b80
%{_mandir}/man3/*
a9f8b80
a9f8b80
%changelog
7bcd6a8
* Fri Aug 17 2007 Ralf Corsépius <rc040203@freenet.de> - 1.17-1
7bcd6a8
- Upstream update.
7bcd6a8
7bcd6a8
* Thu Apr 19 2007 Ralf Corsépius <rc040203@freenet.de> - 1.16-3
7bcd6a8
- Reflect perl package split.
7bcd6a8
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.