forked from pool/perl-Exception-Class
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Exception-Class?expand=0&rev=1
This commit is contained in:
48
perl-Exception-Class.spec
Normal file
48
perl-Exception-Class.spec
Normal file
@@ -0,0 +1,48 @@
|
||||
%define modname Exception-Class
|
||||
Name: perl-%{modname}
|
||||
Version: 1.23
|
||||
Release: 1
|
||||
Summary: A Module That Allows You to Declare Real Exception Classes in Perl
|
||||
Requires: perl = %{perl_version}
|
||||
BuildRequires: perl
|
||||
License: GPL/Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
|
||||
%description
|
||||
This module allows you to declare hierarchies of exception classes for use in
|
||||
your code. It also provides a simple exception class that it uses as the
|
||||
default base class for all other exceptions.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dave Rolsky <autarch@urth.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
make test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_process_packlist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc Changes LICENSE README
|
||||
%doc %{_mandir}/man?/*
|
||||
#%{perl_vendorlib}/
|
||||
#%{perl_vendorarch}/auto/
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
|
||||
* Thu Nov 01 2007 - James Oakley <jfunk@funktronics.ca> - 1.23-1
|
||||
- Initial release
|
Reference in New Issue
Block a user