%define module libxml-perl %define version 0.08 %define release %mkrel 2 Summary: Various perl modules and script for working with XML Name: perl-%{module} Version: %{version} Release: %{release} License: Artistic Group: Development/Perl Source0: %{module}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRoot: %{_tmppath}/%{name}-buildroot/ Requires: perl perl-XML-Parser BuildRequires: perl-devel perl-XML-Parser BuildArch: noarch %description The %{module} perl module is a collection of smaller Perl modules, scripts, and documents for working with XML in Perl. libxml-perl software works in combination with XML::Parser, PerlSAX, XML::DOM, XML::Grove and others. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %check make test %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %files %defattr(-,root,root) %doc Change* README %{perl_vendorlib}/Data/* %{perl_vendorlib}/XML/* %{_mandir}/*/* %changelog * Sun Jan 14 2007 Olivier Thauvin <nanardon@mandriva.org> 0.08-2mdv2007.0 + Revision: 108474 - enable test, rebuild + Guillaume Rousse <guillomovitch@mandriva.org> - Import perl-libxml-perl * Fri Nov 26 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.08-1mdk - 0.08 - remove MANIFEST and empty directories * Tue Aug 10 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.07-10mdk - Rebuild for new perl