Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 3ccd17e34857079b0fcf979b3b95d29b > files > 2

perl-Exception-Class-1.23-2mdv2008.0.src.rpm

%define	module	Exception-Class
%define	name	perl-%{module}
%define	version	1.23
%define	release	%mkrel 2

Summary: 	A module that allows you to declare real exception classes in Perl
Name: 		%{name}
Version: 	%{version}
Release: 	%{release}
License: 	GPL or Artistic
Group: 		Development/Perl
Source: 	http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/%{module}-%{version}.tar.bz2
Url: 		http://search.cpan.org/dist/%{module}/
Requires: 	perl perl-Class-Data-Inheritable >= 0.02
Requires:	perl-Devel-StackTrace >= 0.9
BuildRequires:	perl-devel
BuildRequires:	perl-Class-Data-Inheritable
BuildRequires:  perl-Devel-StackTrace
BuildArch: 	noarch
BuildRoot: 	%{_tmppath}/%{name}-%{version}

%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.

%prep
%setup -q -n %{module}-%{version}
chmod 644 Changes LICENSE README lib/Exception/Class.pm

%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 Changes LICENSE README
%{perl_vendorlib}/Exception
%{_mandir}/*/*



%changelog
* Fri Aug 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.23-2mdv2008.0
+ Revision: 64796
- rebuild


* Wed Jan 25 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.23-1mdk
- New release 1.23

* Tue Oct 04 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.22-1mdk
- New release 1.22
- spec cleanup
- fix sources url
- better url
- better summary
- %%mkrel
- make test in %%check
- fix directory ownership

* Wed May 04 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.21-1mdk
- 1.21

* Tue Jan 04 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 1.20-1mdk
- 1.20
- Restore tests

* Wed Jun 02 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.19-1mdk
- 1.19
- wipe out buildroot in %%install, not %%prep
- use %%makeinstall_std macro
- drop test for now

* Wed Aug 27 2003 François Pons <fpons@mandrakesoft.com> 1.14-1mdk
- 1.14.

* Wed May 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.01-4mdk
- rebuild for new auto{prov,req}

* Sat Feb 01 2003 Lenny Cartier <lenny@mandrakesoft.com 1.01-3mdk
- rebuild