Name: perl-XML-RSS-Parser Version: 4.0 Release: 1%{?dist} Summary: Liberal object-oriented parser for RSS feeds License: CHECK(GPL+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/XML-RSS-Parser/ Source0: http://www.cpan.org/modules/by-module/XML/XML-RSS-Parser-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Class::ErrorHandler) BuildRequires: perl(Class::XPath) >= 1.4 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(XML::Elemental) >= 2.0 Requires: perl(Class::ErrorHandler) Requires: perl(Class::XPath) >= 1.4 Requires: perl(XML::Elemental) >= 2.0 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description XML::RSS::Parser is a lightweight liberal parser of RSS feeds. This parser is "liberal" in that it does not demand compliance of a specific RSS version and will attempt to gracefully handle tags it does not expect or understand. The parser's only requirements is that the file is well- formed XML and remotely resembles RSS. Roughly speaking, well formed XML with a channel element as a direct sibling or the root tag and item elements etc. %prep %setup -q -n XML-RSS-Parser-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Mar 08 2008 Dave Cross 4.0-1 - Specfile autogenerated by cpanspec 1.74.