automatic version update by autodist [release 1.28-1mamba;Fri Oct 26 2012]
This commit is contained in:
parent
d601ef01b6
commit
13f9c9e2f8
@ -1,2 +1,6 @@
|
|||||||
# perl-Class-Inspector
|
# perl-Class-Inspector
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
68
perl-Class-Inspector.spec
Normal file
68
perl-Class-Inspector.spec
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-Class-Inspector
|
||||||
|
Version: 1.28
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Class::Inspector - Get information about a class and its structure
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Class-Inspector-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libperl
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test::Pod)
|
||||||
|
BuildRequires: perl(Test::CPAN::Meta)
|
||||||
|
#BuildRequires: perl(Perl::MinimumVersion)
|
||||||
|
#BuildRequires: perl(Test::MinimumVersion)
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%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 PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||||
|
%make
|
||||||
|
%make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall_perl
|
||||||
|
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{perl_vendorlib}/Class/
|
||||||
|
#%{_mandir}/man3/*.3pm.gz
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Oct 26 2012 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 1.27-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Jan 24 2012 Automatic Build System <autodist@mambasoft.it> 1.26_01-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Feb 18 2011 gil <puntogil@libero.it> 1.25-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user