Name: perl-Feed-Find Version: 0.06 Release: 2%{?dist} Summary: Syndication feed auto-discovery Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Feed-Find Source0: http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Feed-Find-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl BuildRequires: perl(LWP) perl(Class::ErrorHandler) perl(HTML::Parser) BuildRequires: perl(URI) perl(LWP::UserAgent) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # not autodetected because it is in the form use base qw(...) Requires: perl(Class::ErrorHandler) %description Feed::Find implements feed auto-discovery for finding syndication feeds, given a URI. It (currently) passes all of the auto-discovery tests at http://diveintomark.org/tests/client/autodiscovery/. Feed::Find will discover the following feed formats: * RSS 0.91 * RSS 1.0 * RSS 2.0 * Atom %prep %setup -q -n Feed-Find-%{version} # this test requires a connection to an external website rm t/01-find.t %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 -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Sun Sep 24 2006 Patrice Dumas 0.06-2 - disable a test requiring network access * Tue Jul 18 2006 Patrice Dumas 0.06-1 - Initial packaging