Name: perl-Error Version: 0.15 Release: 3mdk License: GPL or Artistic %define realname Error Group: Development/Perl Summary: Error module for perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Error/%{realname}-%{version}.tar.bz2 Url: http://www.cpan.org Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel Requires: perl >= 5.005 BuildArch: noarch %description The Error package provides 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 can simply be recorded. Errors in the class Error should not be thrown directly, but the user should throw errors from a sub-class of Error. %prep rm -rf $RPM_BUILD_ROOT %setup -q -n %{realname}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make make test %install make PREFIX=$RPM_BUILD_ROOT%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog README example MANIFEST %{perl_vendorlib}/*.pm %{_mandir}/*/* %changelog * Fri Jan 24 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.15-3mdk - rebuilt * Wed Jul 24 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.15-2mdk - rebuild with new perl * Fri Mar 8 2002 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.15-1mdk - First MandrakeSoft Package