2015-04-17 05:44:43 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Perlanet
|
|
|
|
#
|
2023-01-31 13:53:46 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2015-04-17 05:44:43 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
Accepting request 647402 from devel:languages:perl:autoupdate
- Fix autogenerated changes
- updated to 1.1.3
see /usr/share/doc/packages/perl-Perlanet/Changes
2018-06-20 Dave Cross <dave@dave.org.uK>
Release 1.1.3
* Various code clean-ups
* Remove unnecessarry TT filter from example template
- updated to 1.1.2
see /usr/share/doc/packages/perl-Perlanet/Changes
2018-03-04 Dave Cross <dave@dave.org.uk>
* bin/perlanet, lib/Perlanet.pm: Remove references to defunct mailing list.
* Build.PL, MANIFEST.SKIP: Fix resources listed in metadata
2018-02-20 Dave Cross <dave@dave.org.uk>
* docs/style.css, in/style.css: Another tweak
* docs/style.css, in/style.css: Style tweak
* docs/index.html, in/index.html.md: Dealing with template tag idiocy.
* docs/style.css, in/style.css: Make border full-width.
* docs/style.css, in/style.css: Improve the footer.
* docs/index.html, in/index.html.md: Less shouting.
* docs/index.html, in/index.html.md, in/index.html.tt: More text.
* docs/CNAME, docs/index.html, docs/style.css: Generate the web site.
* in/CNAME, in/index.html.tt, in/style.css, layouts/page: Move the web site
from a branch into a directory.
2018-02-16 Dave Cross <dave@dave.org.uk>
* Build.PL: Better home page. Remove reference to long-dead mailing list.
OBS-URL: https://build.opensuse.org/request/show/647402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perlanet?expand=0&rev=10
2018-11-08 17:36:42 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-04-17 05:44:43 +00:00
|
|
|
#
|
|
|
|
|
2010-11-05 00:01:31 +00:00
|
|
|
|
2021-01-20 12:46:55 +00:00
|
|
|
%define cpan_name Perlanet
|
2010-11-05 00:01:31 +00:00
|
|
|
Name: perl-Perlanet
|
2023-03-10 10:42:55 +00:00
|
|
|
Version: 3.0.0
|
2010-11-05 00:01:31 +00:00
|
|
|
Release: 0
|
Accepting request 647402 from devel:languages:perl:autoupdate
- Fix autogenerated changes
- updated to 1.1.3
see /usr/share/doc/packages/perl-Perlanet/Changes
2018-06-20 Dave Cross <dave@dave.org.uK>
Release 1.1.3
* Various code clean-ups
* Remove unnecessarry TT filter from example template
- updated to 1.1.2
see /usr/share/doc/packages/perl-Perlanet/Changes
2018-03-04 Dave Cross <dave@dave.org.uk>
* bin/perlanet, lib/Perlanet.pm: Remove references to defunct mailing list.
* Build.PL, MANIFEST.SKIP: Fix resources listed in metadata
2018-02-20 Dave Cross <dave@dave.org.uk>
* docs/style.css, in/style.css: Another tweak
* docs/style.css, in/style.css: Style tweak
* docs/index.html, in/index.html.md: Dealing with template tag idiocy.
* docs/style.css, in/style.css: Make border full-width.
* docs/style.css, in/style.css: Improve the footer.
* docs/index.html, in/index.html.md: Less shouting.
* docs/index.html, in/index.html.md, in/index.html.tt: More text.
* docs/CNAME, docs/index.html, docs/style.css: Generate the web site.
* in/CNAME, in/index.html.tt, in/style.css, layouts/page: Move the web site
from a branch into a directory.
2018-02-16 Dave Cross <dave@dave.org.uk>
* Build.PL: Better home page. Remove reference to long-dead mailing list.
OBS-URL: https://build.opensuse.org/request/show/647402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perlanet?expand=0&rev=10
2018-11-08 17:36:42 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2022-09-08 19:48:02 +00:00
|
|
|
Summary: Program for creating programs that aggregate web feeds (both
|
2020-09-23 15:35:55 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
Accepting request 647402 from devel:languages:perl:autoupdate
- Fix autogenerated changes
- updated to 1.1.3
see /usr/share/doc/packages/perl-Perlanet/Changes
2018-06-20 Dave Cross <dave@dave.org.uK>
Release 1.1.3
* Various code clean-ups
* Remove unnecessarry TT filter from example template
- updated to 1.1.2
see /usr/share/doc/packages/perl-Perlanet/Changes
2018-03-04 Dave Cross <dave@dave.org.uk>
* bin/perlanet, lib/Perlanet.pm: Remove references to defunct mailing list.
* Build.PL, MANIFEST.SKIP: Fix resources listed in metadata
2018-02-20 Dave Cross <dave@dave.org.uk>
* docs/style.css, in/style.css: Another tweak
* docs/style.css, in/style.css: Style tweak
* docs/index.html, in/index.html.md: Dealing with template tag idiocy.
* docs/style.css, in/style.css: Make border full-width.
* docs/style.css, in/style.css: Improve the footer.
* docs/index.html, in/index.html.md: Less shouting.
* docs/index.html, in/index.html.md, in/index.html.tt: More text.
* docs/CNAME, docs/index.html, docs/style.css: Generate the web site.
* in/CNAME, in/index.html.tt, in/style.css, layouts/page: Move the web site
from a branch into a directory.
2018-02-16 Dave Cross <dave@dave.org.uk>
* Build.PL: Better home page. Remove reference to long-dead mailing list.
OBS-URL: https://build.opensuse.org/request/show/647402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perlanet?expand=0&rev=10
2018-11-08 17:36:42 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAVECROSS/%{cpan_name}-v%{version}.tar.gz
|
2015-04-17 05:44:43 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:16:27 +02:00
|
|
|
Source100: README.md
|
2015-04-17 05:44:43 +00:00
|
|
|
BuildArch: noarch
|
2010-11-05 00:01:31 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:46:07 +00:00
|
|
|
BuildRequires: perl-macros
|
2017-03-30 08:54:03 +00:00
|
|
|
BuildRequires: perl(Alien::Tidyp)
|
2010-11-05 00:01:31 +00:00
|
|
|
BuildRequires: perl(DateTime)
|
2015-04-17 05:44:43 +00:00
|
|
|
BuildRequires: perl(DateTime::Duration)
|
2021-01-20 12:46:55 +00:00
|
|
|
BuildRequires: perl(DateTime::Format::Strptime)
|
2010-11-05 00:01:31 +00:00
|
|
|
BuildRequires: perl(HTML::Scrubber)
|
|
|
|
BuildRequires: perl(HTML::Tidy)
|
2017-03-30 08:54:03 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.420000
|
2010-11-05 00:01:31 +00:00
|
|
|
BuildRequires: perl(Moose)
|
|
|
|
BuildRequires: perl(MooseX::ConfigFromFile)
|
2015-04-17 05:44:43 +00:00
|
|
|
BuildRequires: perl(MooseX::Traits)
|
|
|
|
BuildRequires: perl(Template)
|
2023-03-10 10:42:55 +00:00
|
|
|
BuildRequires: perl(Test::Warnings)
|
2015-04-17 05:44:43 +00:00
|
|
|
BuildRequires: perl(Try::Tiny)
|
|
|
|
BuildRequires: perl(URI::Fetch)
|
|
|
|
BuildRequires: perl(XML::Feed) >= 0.22
|
2020-09-23 15:35:55 +00:00
|
|
|
BuildRequires: perl(XML::OPML::SimpleGen)
|
2015-04-17 05:44:43 +00:00
|
|
|
BuildRequires: perl(YAML)
|
2017-03-30 08:54:03 +00:00
|
|
|
BuildRequires: perl(namespace::autoclean)
|
2010-11-05 00:01:31 +00:00
|
|
|
Requires: perl(DateTime)
|
2015-04-17 05:44:43 +00:00
|
|
|
Requires: perl(DateTime::Duration)
|
2021-01-20 12:46:55 +00:00
|
|
|
Requires: perl(DateTime::Format::Strptime)
|
2010-11-05 00:01:31 +00:00
|
|
|
Requires: perl(HTML::Scrubber)
|
|
|
|
Requires: perl(HTML::Tidy)
|
|
|
|
Requires: perl(Moose)
|
2021-01-20 12:46:55 +00:00
|
|
|
Requires: perl(MooseX::ConfigFromFile)
|
2015-04-17 05:44:43 +00:00
|
|
|
Requires: perl(MooseX::Traits)
|
|
|
|
Requires: perl(Template)
|
|
|
|
Requires: perl(Try::Tiny)
|
|
|
|
Requires: perl(URI::Fetch)
|
|
|
|
Requires: perl(XML::Feed) >= 0.22
|
|
|
|
Requires: perl(YAML)
|
2017-03-30 08:54:03 +00:00
|
|
|
Requires: perl(namespace::autoclean)
|
2015-04-17 05:44:43 +00:00
|
|
|
Recommends: perl(CHI)
|
|
|
|
Recommends: perl(Compress::Zlib)
|
|
|
|
Recommends: perl(MooseX::ConfigFromFile)
|
|
|
|
Recommends: perl(XML::OPML::SimpleGen)
|
|
|
|
%{perl_requires}
|
2010-11-05 00:01:31 +00:00
|
|
|
|
|
|
|
%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".
|
|
|
|
|
2017-03-30 08:54:03 +00:00
|
|
|
You are probably interested in Perlanet::Simple to get started straight out
|
|
|
|
of the box, batteries included style.
|
2010-11-05 00:01:31 +00:00
|
|
|
|
|
|
|
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
|
2015-04-17 05:44:43 +00:00
|
|
|
feed and renders this aggregate feed. Perlanet allows the user to customize
|
|
|
|
all of these steps through subclassing and roles.
|
2010-11-05 00:01:31 +00:00
|
|
|
|
2017-03-30 08:54:03 +00:00
|
|
|
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.
|
2010-11-05 00:01:31 +00:00
|
|
|
|
|
|
|
%prep
|
2021-01-20 12:46:55 +00:00
|
|
|
%autosetup -n %{cpan_name}-v%{version}
|
2023-03-10 10:42:55 +00:00
|
|
|
|
2020-09-23 15:35:55 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2010-11-05 00:01:31 +00:00
|
|
|
|
|
|
|
%build
|
Accepting request 647402 from devel:languages:perl:autoupdate
- Fix autogenerated changes
- updated to 1.1.3
see /usr/share/doc/packages/perl-Perlanet/Changes
2018-06-20 Dave Cross <dave@dave.org.uK>
Release 1.1.3
* Various code clean-ups
* Remove unnecessarry TT filter from example template
- updated to 1.1.2
see /usr/share/doc/packages/perl-Perlanet/Changes
2018-03-04 Dave Cross <dave@dave.org.uk>
* bin/perlanet, lib/Perlanet.pm: Remove references to defunct mailing list.
* Build.PL, MANIFEST.SKIP: Fix resources listed in metadata
2018-02-20 Dave Cross <dave@dave.org.uk>
* docs/style.css, in/style.css: Another tweak
* docs/style.css, in/style.css: Style tweak
* docs/index.html, in/index.html.md: Dealing with template tag idiocy.
* docs/style.css, in/style.css: Make border full-width.
* docs/style.css, in/style.css: Improve the footer.
* docs/index.html, in/index.html.md: Less shouting.
* docs/index.html, in/index.html.md, in/index.html.tt: More text.
* docs/CNAME, docs/index.html, docs/style.css: Generate the web site.
* in/CNAME, in/index.html.tt, in/style.css, layouts/page: Move the web site
from a branch into a directory.
2018-02-16 Dave Cross <dave@dave.org.uk>
* Build.PL: Better home page. Remove reference to long-dead mailing list.
OBS-URL: https://build.opensuse.org/request/show/647402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perlanet?expand=0&rev=10
2018-11-08 17:36:42 +00:00
|
|
|
perl Build.PL installdirs=vendor
|
2015-04-17 05:44:43 +00:00
|
|
|
./Build build flags=%{?_smp_mflags}
|
2010-11-05 00:01:31 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
2015-04-17 05:44:43 +00:00
|
|
|
%install
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
%perl_gen_filelist
|
2010-11-05 00:01:31 +00:00
|
|
|
|
2015-04-17 05:44:43 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%doc Changes examples README
|
2010-11-05 00:01:31 +00:00
|
|
|
|
2015-04-17 05:44:43 +00:00
|
|
|
%changelog
|