%define module XML-AutoWriter %define version 0.39 %define release %mkrel 3 Summary: Perl module to do DOCTYPE based XML output Name: perl-%{module} Version: %{version} Release: %{release} License: GPL Group: Development/Perl Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/XML/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} BuildRequires: perl-devel BuildRequires: perl(XML::Parser) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot/ BuildArch: noarch %description This module subclasses XML::ValidWriter and provides automatic start and end tag generation, allowing you to emit only the 'important' tags. %prep %setup -q -n %{module}-%{version} chmod -x $(find -type f) sed -i 's/\r//' CHANGES %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 CHANGES %{_mandir}/*/* %{perl_vendorlib}/XML/ %changelog * Sun May 06 2007 Olivier Thauvin <nanardon@mandriva.org> 0.39-3mdv2008.0 + Revision: 23553 - rebuild * Wed May 03 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.39-2mdk - Fix According to perl Policy - BuildRequires - Source URL * Tue Jan 17 2006 Michael Scherer <misc@mandriva.org> 0.39-1mdk - New release 0.39 - use mkrel - add a real description ( why no one noticed before ) - fix rpmlint warning and policy violation * Tue Aug 23 2005 Michael Scherer <misc@mandriva.org> 0.38-2mdk - Birthday rebuild * Fri Aug 06 2004 Michael Scherer <misc@mandrake.org> 0.38-1mdk - First package for Mandrakelinux