0ef63a3
Name:           perl-Feed-Find
0ef63a3
Version:        0.06
bd8a2dc
Release:        3%{?dist}
0ef63a3
Summary:        Syndication feed auto-discovery
0ef63a3
0ef63a3
Group:          Development/Libraries
255ed33
License:        GPL+ or Artistic
0ef63a3
URL:            http://search.cpan.org/dist/Feed-Find
0ef63a3
Source0:        http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Feed-Find-%{version}.tar.gz
0ef63a3
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0ef63a3
0ef63a3
BuildArch:      noarch
0ef63a3
BuildRequires:  perl(LWP) perl(Class::ErrorHandler) perl(HTML::Parser)
0ef63a3
BuildRequires:  perl(URI) perl(LWP::UserAgent)
255ed33
BuildRequires:  perl(ExtUtils::MakeMaker)
0ef63a3
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
0ef63a3
# not autodetected because it is in the form use base qw(...)
0ef63a3
Requires:  perl(Class::ErrorHandler)
0ef63a3
0ef63a3
%description
0ef63a3
Feed::Find implements feed auto-discovery for finding syndication feeds, 
0ef63a3
given a URI. It (currently) passes all of the auto-discovery tests at 
0ef63a3
http://diveintomark.org/tests/client/autodiscovery/.
0ef63a3
0ef63a3
Feed::Find will discover the following feed formats:
0ef63a3
0ef63a3
    * RSS 0.91
0ef63a3
    * RSS 1.0
0ef63a3
    * RSS 2.0
0ef63a3
    * Atom
0ef63a3
0ef63a3
0ef63a3
%prep
0ef63a3
%setup -q -n Feed-Find-%{version}
0ef63a3
0ef63a3
# this test requires a connection to an external website
0ef63a3
rm t/01-find.t
0ef63a3
0ef63a3
%build
0ef63a3
%{__perl} Makefile.PL INSTALLDIRS=vendor
0ef63a3
make %{?_smp_mflags}
0ef63a3
0ef63a3
0ef63a3
%install
0ef63a3
rm -rf $RPM_BUILD_ROOT
0ef63a3
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
0ef63a3
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
0ef63a3
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
0ef63a3
chmod -R u+w $RPM_BUILD_ROOT/*
0ef63a3
0ef63a3
0ef63a3
%check
0ef63a3
make test
0ef63a3
0ef63a3
0ef63a3
%clean
0ef63a3
rm -rf $RPM_BUILD_ROOT
0ef63a3
0ef63a3
0ef63a3
%files
0ef63a3
%defattr(-,root,root,-)
0ef63a3
%doc Changes README
0ef63a3
%{perl_vendorlib}/*
0ef63a3
%{_mandir}/man3/*.3*
0ef63a3
0ef63a3
0ef63a3
%changelog
bd8a2dc
* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.06-3
bd8a2dc
- rebuild for new perl
bd8a2dc
255ed33
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.06-2.1
255ed33
- correct license tag
255ed33
- add BR: perl(ExtUtils::MakeMaker)
255ed33
0ef63a3
* Sun Sep 24 2006 Patrice Dumas <pertusus@free.fr> 0.06-2
0ef63a3
- disable a test requiring network access
0ef63a3
0ef63a3
* Tue Jul 18 2006 Patrice Dumas <pertusus@free.fr> 0.06-1
0ef63a3
- Initial packaging