Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > e9773bd0245298164231dbf8cadd0ee1 > files > 2

perl-Class-C3-0.19-2mdv2008.0.src.rpm

%define module	Class-C3
%define	modprefix Class
%define version	0.19
%define release	%mkrel 2

Summary:	A pragma to use the C3 method resolution order algortihm
Name:		perl-%{module}
Version:	%{version}
Release:	%{release}
License:	Artistic/GPL
Group:		Development/Perl
Source0:	ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{modprefix}/%{module}-%{version}.tar.bz2
Url:		http://search.cpan.org/dist/%{module}/
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:	perl(Algorithm::C3) >= 0.05
BuildRequires:	perl(Scalar::Util) >= 1.10
BuildRequires:	perl(Test::More) >= 0.47
BuildRequires:	perl(Test::Exception) >= 0.15
BuildRequires:	perl(Class::C3::XS) >= 0.07
Requires:	    perl(Algorithm::C3)
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
This is pragma to change Perl 5's standard method resolution order
from depth-first left-to-right (a.k.a - pre-order) to the more
sophisticated C3 method resolution order.


%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(644,root,root,755)
%doc ChangeLog README
%{_mandir}/man*/*
%{perl_vendorlib}/%{modprefix}



%changelog
* Thu Jul 05 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.19-2mdv2008.0
+ Revision: 48599
- fix dependencies

* Wed Jul 04 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.19-1mdv2008.0
+ Revision: 47924
- fix build dependencies
- update to new version 0.19

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


* Sun Aug 27 2006 Scott Karns <scottk@mandriva.org>
+ 2006-08-27 12:49:44 (58210)
- Version 0.13

* Fri Aug 04 2006 Scott Karns <scottk@mandriva.org>
+ 2006-08-04 23:01:57 (53121)
Version 0.12

* Fri Aug 04 2006 Scott Karns <scottk@mandriva.org>
+ 2006-08-04 22:56:48 (53119)
import perl-Class-C3-0.11-1mdk

* Mon May 22 2006 Scott Karns <scottk@mandriva.org> 0.11-1mdk
- Initial MDV release