2010-11-05 00:01:31 +00:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Perlanet
|
|
|
|
Version: 0.52
|
|
|
|
Release: 0
|
|
|
|
Summary: Aggregate Web Feeds
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS/Perlanet-%{version}.tar.gz
|
|
|
|
URL: http://search.cpan.org/dist/Perlanet
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
2010-12-01 13:52:31 +00:00
|
|
|
%{perl_requires}
|
2010-11-05 00:01:31 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
# don't include this one, makes the tests fail:
|
|
|
|
# BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(Module::Build) >= 0.36
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(DateTime)
|
|
|
|
BuildRequires: perl(YAML)
|
|
|
|
BuildRequires: perl(HTML::Scrubber)
|
|
|
|
BuildRequires: perl(XML::Feed) >= 0.22
|
|
|
|
BuildRequires: perl(URI::Fetch)
|
|
|
|
BuildRequires: perl(Template)
|
|
|
|
BuildRequires: perl(MooseX::Traits)
|
|
|
|
BuildRequires: perl(HTML::Tidy)
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(TryCatch)
|
|
|
|
BuildRequires: perl(DateTime::Duration)
|
|
|
|
BuildRequires: perl(Moose)
|
|
|
|
BuildRequires: perl(MooseX::ConfigFromFile)
|
|
|
|
BuildRequires: perl(XML::OPML::SimpleGen)
|
|
|
|
Requires: perl(DateTime)
|
|
|
|
Requires: perl(YAML)
|
|
|
|
Requires: perl(HTML::Scrubber)
|
|
|
|
Requires: perl(XML::Feed) >= 0.22
|
|
|
|
Requires: perl(URI::Fetch)
|
|
|
|
Requires: perl(Template)
|
|
|
|
Requires: perl(MooseX::Traits)
|
|
|
|
Requires: perl(HTML::Tidy)
|
|
|
|
Requires: perl(Encode)
|
|
|
|
Requires: perl(List::Util)
|
|
|
|
Requires: perl(TryCatch)
|
|
|
|
Requires: perl(DateTime::Duration)
|
|
|
|
Requires: perl(Moose)
|
|
|
|
Requires: perl(MooseX::ConfigFromFile)
|
|
|
|
Requires: perl(XML::OPML::SimpleGen)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Perlanet is a program for creating programs that aggregate web feeds (both
|
|
|
|
RSS and Atom). Web pages like this are often called "Planets" after the
|
|
|
|
Python software which originally popularised them. Perlanet is a planet
|
|
|
|
builder written in Perl - hence "Perlanet".
|
|
|
|
|
|
|
|
You are probably interested in Perlanet::Simple to get started straight
|
|
|
|
out of the box, batteries included style.
|
|
|
|
|
|
|
|
Perlanet itself is the driving force behind everything, however. Perlanet
|
|
|
|
reads a series of web feeds (filtering only those that are valid), sorts
|
|
|
|
and selects entries from these web feeds, and then creates a new aggregate
|
|
|
|
feed and renders this aggregate feed. Perlanet allows the user to
|
|
|
|
customize all of these steps through subclassing and roles.
|
|
|
|
|
|
|
|
For most uses, you probably don't want to use the Perlanet module. The
|
|
|
|
perlanet command line program is far more likely to be useful.
|
|
|
|
|
|
|
|
%package -n perlanet
|
|
|
|
Summary: Aggregate Web Feeds
|
|
|
|
Group: Productivity/Networking/Web/Utilities
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description -n perlanet
|
|
|
|
Perlanet is a program for creating programs that aggregate web feeds (both
|
|
|
|
RSS and Atom). Web pages like this are often called "Planets" after the
|
|
|
|
Python software which originally popularised them. Perlanet is a planet
|
|
|
|
builder written in Perl - hence "Perlanet".
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Perlanet-%{version}"
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl ./Build.PL
|
|
|
|
./Build
|
|
|
|
|
|
|
|
%install
|
|
|
|
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/Perlanet.pm
|
|
|
|
%{perl_vendorlib}/Perlanet
|
|
|
|
%{perl_vendorarch}/auto/Perlanet
|
|
|
|
%doc %{perl_man3dir}/Perlanet.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/Perlanet::*.%{perl_man3ext}%{ext_man}
|
|
|
|
|
|
|
|
%files -n perlanet
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/perlanet
|
|
|
|
%doc %{_mandir}/man1/perlanet.1%{ext_man}
|
|
|
|
|