forked from pool/perl-Error
68 lines
1.6 KiB
RPMSpec
68 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package perl-Error (Version 0.17012 )
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: perl-Error
|
|
Summary: Object oriented style error/exception handling
|
|
Version: 0.17012
|
|
Release: 2
|
|
Requires: perl = %{perl_version}
|
|
BuildRequires: perl-Test-Pod-Coverage
|
|
AutoReqProv: on
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License
|
|
Url: http://www.cpan.org/modules/by-module/Error/
|
|
Source: Error-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This package two interfaces. Firstly Error provides a procedural
|
|
interface to exception handling. Secondly Error is a base class for
|
|
errors/exceptions that can either be thrown (for subsequent catch) or
|
|
simply be recorded.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Graham Barr <gbarr@pobox.com>
|
|
|
|
%prep
|
|
%setup -q -n Error-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc ChangeLog examples MANIFEST README
|
|
%{_mandir}/man?/*
|
|
%{perl_vendorlib}/Error.pm
|
|
%dir %{perl_vendorlib}/Error
|
|
%{perl_vendorlib}/Error/Simple.pm
|
|
%{perl_vendorarch}/auto/Error
|
|
/var/adm/perl-modules/*
|
|
%changelog
|
|
* Thu Jul 24 2008 anicka@suse.cz
|
|
- package created (version 0.17012)
|