%define module Text-EtText %define name perl-Text-EtText %define version 2.2 %define release %mkrel 5 Summary: %{module} module for perl Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Development/Perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Text/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-buildroot BuildArch: noarch %description Text::EtText - A perl module to edit html as plain text. %prep %setup -q -n Text-EtText-%{version} %build perl Makefile.PL INSTALLDIRS=vendor </dev/null %make %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %makeinstall_std %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc README doc/* Changes TODO %{_bindir}/* %{perl_vendorlib}/Text/* %_mandir/*/* %changelog * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 2.2-5mdk - Fix SPEC according to Perl Policy - Source URL - URL - use mkrel * Wed Nov 09 2005 Austin Acton <austin@mandriva.org> 2.2-4mdk - Rebuild * Thu Aug 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.2-3mdk - rebuild for new perl - drop $RPM_OPT_FLAGS, noarch.. - use %%makeinstall_std macro * Tue May 27 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.2-2mdk - rebuild for new auto{prov,req} * Sun Mar 30 2003 Austin Acton <aacton@yorku.ca> 2.2-1mdk - initial package