%define cpan_name XML-RSS Name: perl-%cpan_name Version: 1.36 Release: 1 Provides: %cpan_name Requires: perl = %{perl_version} perl-DateTime-Format-Mail perl-DateTime-Format-W3CDTF perl-HTML-Parser perl-XML-Parser Group: Development/Libraries/Perl License: GPL URL: http://search.cpan.org/dist/XML-RSS/ Summary: A Perl Module that creates and updates RSS Files Source: %cpan_name-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl-DateTime-Format-Mail perl-DateTime-Format-W3CDTF perl-DateTime-Locale perl-DateTime-TimeZone perl-HTML-Parser perl-Test-Manifest perl-XML-Parser %description This module provides a basic framework for creating and maintaining RDF Site Summary (RSS) files. This distribution also contains many examples that allow you to generate HTML from an RSS, convert between 0.9, 0.91, and 1.0 version, and other nifty things. This might be helpful if you want to include news feeds on your Web site from sources like Slashdot and Freshmeat or if you want to syndicate your own content. XML::RSS currently supports 0.9, 0.91, and 1.0 versions of RSS. See http://backend.userland.com/rss091 for information on RSS 0.91. See http://www.purplepages.ie/RSS/netscape/rss0.90.html for RSS 0.9. See http://web.resource.org/rss/1.0/ for RSS 1.0. %prep %setup -q -n %cpan_name-%{version} %build perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" make make test %install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean # clean up the hard disc after build rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes MANIFEST README TODO %doc %{_mandir}/man?/* %{perl_vendorlib}/XML %{perl_vendorarch}/auto/XML/RSS /var/adm/perl-modules/%{name} %changelog -n %{name} * Sun Oct 26 2008 - gerrit.beine@gmx.de - update to 1.36 * Sun Jun 08 2008 - gerrit.beine@gmx.de - first release 1.33