Name: perl-Exception-Base Version: 0.21 Release: 1%{?dist} Summary: Lightweight exceptions License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Exception-Base/ Source0: http://www.cpan.org/authors/id/D/DE/DEXTER/Exception-Base-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.006 BuildRequires: perl(Module::Build) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This class implements a fully OO exception mechanism similar to Exception::Class or Class::Throwable. It provides a simple interface allowing programmers to declare exception classes. These classes can be thrown and caught. Each uncaught exception prints full stack trace if the default verbosity is uppered for debugging purposes. %prep %setup -q -n Exception-Base-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes Incompatibilities README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jan 29 2009 Allisson Azevedo 0.21-1 - Initial rpm release.