%define module XML-RSS-SimpleGen %define name perl-%{module} %define version 11.11 %define release %mkrel 6 Name: %{name} Version: %{version} Release: %{release} Summary: Really Simple RSS Generator License: GPL or Artistic Group: Development/Perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/XML/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module}/ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel # actually, that's a "suggests", not a "requires" Requires: perl(LWP::Simple) %description An easy-to-use screen scraper and RSS generator module. It transparently handles all the unpleasant details of RSS, like proper XML escaping, and also has a good number of Do-What-I-Mean features, like not changing the modtime on a written-out RSS file if the file content hasn't changed, and like automatically removing any HTML tags from content you might pass in. %prep %setup -q -n %{module}-%{version} %build %__perl Makefile.PL INSTALLDIRS=vendor %make %check %__make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog README %{perl_vendorlib}/XML/* %{_mandir}/*/* %changelog * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 11.11-6mdv2009.0 + Revision: 242269 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Sun May 06 2007 Olivier Thauvin <nanardon@mandriva.org> 11.11-4mdv2008.0 + Revision: 23493 - rebuild * Wed May 03 2006 Nicolas Lécureuil <neoclust@mandriva.org> 11.11-3mdk - Fix According to perl Policy - Source URL * Fri Jan 13 2006 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 11.11-2mdk - Rebuild. * Tue Jul 27 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 11.11-1mdk - Initial MDK release.