2024-01-06 08:41:04 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Class-Inspector
|
2024-01-06 08:41:04 +01:00
|
|
|
Version: 1.36
|
2024-01-06 08:41:04 +01:00
|
|
|
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>
|
2024-01-06 08:41:04 +01:00
|
|
|
URL: https://www.cpan.org
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/Class/Class-Inspector-%{version}.tar.gz
|
2024-01-06 08:41:04 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%description
|
2024-01-06 08:41:04 +01:00
|
|
|
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.
|
2024-01-06 08:41:04 +01:00
|
|
|
|
|
|
|
%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/
|
2024-01-06 08:41:04 +01:00
|
|
|
%{_mandir}/man3/*.3pm*
|
2024-01-06 08:41:04 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:41:04 +01:00
|
|
|
* Fri Feb 26 2021 Automatic Build System <autodist@mambasoft.it> 1.36-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:41:04 +01:00
|
|
|
* 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
|