From 13f9c9e2f8e843fc26c7a304765b3bb6ded82279 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:41:04 +0100 Subject: [PATCH] automatic version update by autodist [release 1.28-1mamba;Fri Oct 26 2012] --- README.md | 4 +++ perl-Class-Inspector.spec | 68 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 perl-Class-Inspector.spec diff --git a/README.md b/README.md index d67e35b..8573db3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # 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. + diff --git a/perl-Class-Inspector.spec b/perl-Class-Inspector.spec new file mode 100644 index 0000000..e5f8f8f --- /dev/null +++ b/perl-Class-Inspector.spec @@ -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 +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 1.28-1mamba +- automatic version update by autodist + +* Wed Aug 08 2012 Automatic Build System 1.27-1mamba +- automatic version update by autodist + +* Tue Jan 24 2012 Automatic Build System 1.26_01-1mamba +- automatic version update by autodist + +* Fri Feb 18 2011 gil 1.25-1mamba +- package created by autospec