2024-01-06 08:57:05 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Exception-Class
|
2024-01-06 08:57:06 +01:00
|
|
|
Version: 1.45
|
2024-01-06 08:57:05 +01:00
|
|
|
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
|
2024-01-06 08:57:05 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:57:06 +01:00
|
|
|
URL: https://www.cpan.org
|
|
|
|
Source: https://cpan.metacpan.org/modules/by-module/Exception/Exception-Class-%{version}.tar.gz
|
2024-01-06 08:57:05 +01:00
|
|
|
License: GPL, Artistic
|
2024-01-06 08:57:05 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: perl-Class-Data-Inheritable
|
|
|
|
BuildRequires: perl-Devel-StackTrace
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:57:05 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%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
|
2024-01-06 08:57:05 +01:00
|
|
|
%doc Changes LICENSE
|
|
|
|
#README
|
2024-01-06 08:57:05 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:57:06 +01:00
|
|
|
* Mon May 03 2021 Automatic Build System <autodist@mambasoft.it> 1.45-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:57:05 +01:00
|
|
|
* Tue Dec 19 2017 Automatic Build System <autodist@mambasoft.it> 1.44-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:57:05 +01:00
|
|
|
* Sun Oct 22 2017 Automatic Build System <autodist@mambasoft.it> 1.43-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:57:05 +01:00
|
|
|
* Sun Feb 07 2016 Automatic Build System <autodist@mambasoft.it> 1.40-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:57:05 +01:00
|
|
|
* Sun Nov 23 2014 Automatic Build System <autodist@mambasoft.it> 1.39-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 08:57:05 +01:00
|
|
|
* 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
|