%define pkg_name XML-RSSLite %define pkg_version 0.11 %define rpm_pkg_version 0.11 %define rpm_pkg_release 2.n0i.4 Summary: Lightweight, "relaxed" RSS (and XML-ish) parser Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/J/JP/JPIERCE/%{pkg_name}-%{pkg_version}.tgz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %description This module attempts to extract the maximum amount of content from available documents, and is less concerned with XML compliance than alternatives. Rather than rely on XML::Parser, it uses heuristics and good old-fashioned Perl regular expressions. It stores the data in a simple hash structure, and "aliases" certain tags so that when done, you can count on having the minimal data necessary for re-constructing a valid RSS file. This means you get the basic title, description, and link for a channel and its items. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc CHANGES README TODO %changelog * Fri Jun 15 2007 Marius Feraru - 0.11-2.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - rebuild on perl 5.8.8 * Mon Aug 01 2005 Marius Feraru 0.11-1.n0i.3 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Feb 01 2004 Marius FERARU 0:0.11-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Sun Jun 29 2003 Marius FERARU 0.11-0.n0i - Initial build.