auto-import perl-Class-Inspector-1.12-1 on branch devel from
perl-Class-Inspector-1.12-1.src.rpm
This commit is contained in:
parent
83ae5e3961
commit
a9f8b80b0e
@ -0,0 +1 @@
|
||||
Class-Inspector-1.12.tar.gz
|
||||
58
perl-Class-Inspector.spec
Normal file
58
perl-Class-Inspector.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: perl-Class-Inspector
|
||||
Version: 1.12
|
||||
Release: 1%{?dist}
|
||||
Summary: Get information about a class and it's structur
|
||||
License: GPL or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Class-Inspector/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Inspector-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
|
||||
# For better test coverage
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
|
||||
%description
|
||||
Class::Inspector allows you to get information about a loaded class.
|
||||
Most or all of this information can be found in other ways, but they aren't
|
||||
always very friendly, and usually involve a relatively high level of Perl
|
||||
wizardry, or strange and unusual looking code. Class::Inspector attempts to
|
||||
provide an easier, more friendly interface to this information.
|
||||
|
||||
%prep
|
||||
%setup -q -n Class-Inspector-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE
|
||||
%{perl_vendorlib}/Class
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Sep 13 2005 Ralf Corsepius <rc040203@freenet.de> - 1.12-1
|
||||
- FE submission.
|
||||
|
||||
* Tue Sep 13 2005 Ralf Corsepius <ralf@links2linux.de> - 1.12-0
|
||||
- Upstream update.
|
||||
|
||||
* Wed Jun 22 2005 Ralf Corsepius <ralf@links2linux.de> - 1.08-0.pm.0
|
||||
- Initial packman version.
|
||||
Loading…
Reference in New Issue
Block a user