forked from pool/perl-XML-RSS
- Some correctness and Modern Perl changes to the rss2html.pl
script (it still appears to be very hairy.)
- Add support for parsing rssCloud:
- https://rt.cpan.org/Ticket/Display.html?id=67241
- Thanks to STUIFZAND for the patch.
- corrected license to GPL+ or Artistic
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-RSS?expand=0&rev=7
66 lines
1.7 KiB
RPMSpec
66 lines
1.7 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
# norootforbuild
|
|
|
|
%define cpan_name XML-RSS
|
|
Name: perl-XML-RSS
|
|
Version: 1.49
|
|
Release: 0
|
|
Summary: Creates and updates RSS files
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
|
URL: http://search.cpan.org/dist/XML-RSS
|
|
Group: Development/Libraries/Perl
|
|
License: GPL+ or Artistic
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
%{perl_requires}
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Test::Pod)
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
BuildRequires: perl(Test::Differences)
|
|
BuildRequires: perl(Test::More)
|
|
BuildRequires: perl(Test::Manifest) >= 0.9
|
|
BuildRequires: perl(Module::Build) >= 0.36
|
|
BuildRequires: perl(Module::Build)
|
|
BuildRequires: perl(DateTime::Format::W3CDTF)
|
|
BuildRequires: perl(DateTime)
|
|
BuildRequires: perl(HTML::Entities)
|
|
BuildRequires: perl(DateTime::Format::Mail)
|
|
BuildRequires: perl(XML::Parser) >= 2.23
|
|
Requires: perl(DateTime::Format::W3CDTF)
|
|
Requires: perl(DateTime)
|
|
Requires: perl(HTML::Entities)
|
|
Requires: perl(DateTime::Format::Mail)
|
|
Requires: perl(XML::Parser) >= 2.23
|
|
|
|
%description
|
|
This module provides a basic framework for creating and maintaining RDF
|
|
Site Summary (RSS) files.
|
|
|
|
%prep
|
|
%setup -q -n "%{cpan_name}-%{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 TODO README examples
|
|
%dir %{perl_vendorlib}/XML
|
|
%{perl_vendorlib}/XML/RSS.pm
|
|
%{perl_vendorlib}/XML/RSS
|
|
%dir %{perl_vendorarch}/auto/XML
|
|
%{perl_vendorarch}/auto/XML/RSS
|
|
%doc %{perl_man3dir}/XML::RSS.%{perl_man3ext}%{ext_man}
|
|
|