Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 696cc5b14c588ec0618e38906031abed > files > 2

perl-Error-0.17015-1mdv2009.0.src.rpm

%define module  Error
%define name    perl-%{module}
%define version 0.17015
%define release %mkrel 1

Name:           %{name}
Version:        %{version}
Release:        %{release}
License:        GPL or Artistic
Group:          Development/Perl
Summary:        Error/exception handling in an OO-ish way
URL:            http://search.cpan.org/dist/%{module}
Source:         http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/%{module}-%{version}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}

%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
%setup -q -n %{module}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%{__make} test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc ChangeLog README examples
%{perl_vendorlib}/Error
%{perl_vendorlib}/Error.pm
%{_mandir}/*/*



%changelog
* Sun Jul 20 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.17015-1mdv2009.0
+ Revision: 238991
- update to new version 0.17015

* Wed May 28 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.17014-1mdv2009.0
+ Revision: 212213
- update to new version 0.17014

* Fri May 23 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.17013-1mdv2009.0
+ Revision: 210277
- update to new version 0.17013

* Sat Jan 26 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.17012-1mdv2008.1
+ Revision: 158256
- update to new version 0.17012

* Wed Dec 26 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.17011-1mdv2008.1
+ Revision: 138045
- update to new version 0.17011

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Fri Nov 23 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.17010-1mdv2008.1
+ Revision: 111419
- update to new version 0.17010

* Mon Sep 03 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.17009-1mdv2008.0
+ Revision: 78449
- new version

* Tue May 01 2007 Olivier Thauvin <nanardon@mandriva.org> 0.17008-1mdv2008.0
+ Revision: 20064
- 0.17008


* Wed Aug 02 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.17001-1mdv2007.0
- new version

* Wed Apr 26 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.15009-1mdk
- New release 0.15009

* Thu Apr 13 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.15008-1mdk
- New release 0.15008
- spec cleanup
- %%mkrel
- better summary
- don't ship MANIFEST file

* Mon Jun 06 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.15-7mdk
- rebuild for new Perl

* Thu Aug 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.15-6mdk
- rebuild for new perl
- rm -rf /home/guillomovitch/rpm/tmp/perl-Error-0.17001 in %%install, not %%prep
- drop Prefix tag
- drop $RPM_OPT_FLAGS, noarch..
- use %%makeinstall_std macro