automatic update by autodist [release 1.38-1mamba;Sat May 10 2014]

This commit is contained in:
Automatic Build System 2024-01-06 08:57:05 +01:00
parent f37b54411d
commit 466f00a02c
2 changed files with 63 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-Exception-Class
Exception::Class allows you to declare exception hierarchies in your modules in a "Java-esque" manner.

61
perl-Exception-Class.spec Normal file
View File

@ -0,0 +1,61 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Exception-Class
Version: 1.38
Release: 1mamba
Summary: Exception::Class - A module that allows you to declare real exception classes in Perl
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz
License: GPL, Artistic
BuildRequires: perl(Class::Data::Inheritable)
BuildRequires: perl(Devel::StackTrace)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl-devel
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Exception::Class allows you to declare exception hierarchies in your modules in a "Java-esque" manner.
%prep
%setup -q -n Exception-Class-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
export IS_MAINTAINER=1
%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}/
%{_mandir}/man3/*.3pm.gz
%doc Changes LICENSE README
%changelog
* Sat May 10 2014 Automatic Build System <autodist@mambasoft.it> 1.38-1mamba
- automatic update by autodist
* Sat Mar 23 2013 Automatic Build System <autodist@mambasoft.it> 1.37-1mamba
- automatic version update by autodist
* Fri Feb 18 2011 gil <puntogil@libero.it> 1.32-1mamba
- package created by autospec