Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > e26318ef01dd6980d4b87512366bf8dc > files > 2

perl-Perl-BestPractice-0.01-3mdv2008.0.src.rpm

%define	module	Perl-BestPractice
%define	name	perl-%{module}
%define version 0.01
%define release %mkrel 3

Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPL or Artistic
Group:		Development/Perl
Summary:	Perl Best Practices, the (unofficial) companion module 
Source0:	http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/%{module}-%{version}.tar.bz2
Url:		http://search.cpan.org/dist/%{module}/
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:	perl-PPI
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
Perl::BestPractice is the (for now unofficial) companion module to the O'Reilly
"Perl Best Practices" by Damian Conway.

Using various bits of PPI magic, it provides functionality to automatically
locate (and in some cases repair) issues raised by the book.

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



%changelog
* Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-3mdv2008.0
+ Revision: 86793
- rebuild


* Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-2mdv2007.0
- Rebuild

* Thu Nov 24 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.01-1mdk
- first mdk release