From 466f00a02c8948799679f302db067e10384756dc Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:57:05 +0100 Subject: [PATCH] automatic update by autodist [release 1.38-1mamba;Sat May 10 2014] --- README.md | 2 ++ perl-Exception-Class.spec | 61 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 perl-Exception-Class.spec diff --git a/README.md b/README.md index 2477d2d..0075b07 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Exception-Class +Exception::Class allows you to declare exception hierarchies in your modules in a "Java-esque" manner. + diff --git a/perl-Exception-Class.spec b/perl-Exception-Class.spec new file mode 100644 index 0000000..a797eb9 --- /dev/null +++ b/perl-Exception-Class.spec @@ -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 +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 1.38-1mamba +- automatic update by autodist + +* Sat Mar 23 2013 Automatic Build System 1.37-1mamba +- automatic version update by autodist + +* Fri Feb 18 2011 gil 1.32-1mamba +- package created by autospec