3 %bcond_without tests # unit tests
7 Summary: XML::RSS - module for RDF Site Summary (RSS) files managment
8 Summary(pl.UTF-8): XML::RSS - moduł do zarządzania plikami RDF Site Summary (RSS)
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: e08802800b7ef7a7b9e043e82eabdfe8
17 URL: https://metacpan.org/dist/XML-RSS
19 BuildRequires: perl-DateTime-Format-Mail
20 BuildRequires: perl-DateTime-Format-W3CDTF
21 BuildRequires: perl-HTML-Parser
22 BuildRequires: perl-Test-Manifest >= 0.9
23 BuildRequires: perl-XML-Parser >= 2.23
25 BuildRequires: perl-devel >= 1:5.8.0
26 BuildRequires: rpm-perlprov >= 4.1-13
27 BuildRequires: rpmbuild(macros) >= 1.745
28 Provides: perl(XML::RSS::Creator)
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 This module was created to help those who need to manage RDF Site
34 Summary (RSS) files. It makes quick work of creating, updating, and
37 %description -l pl.UTF-8
38 Ten moduł został stworzony, aby pomóc przy zarządzaniu plikami RDF
39 Site Summary (RSS). Pozwala szybko tworzyć, uaktualniać i zapisywać
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
50 %{?with_tests:%{__make} test}
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{perl_vendorlib}/XML/RSS
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc TODO README Changes
65 %{perl_vendorlib}/XML/RSS.pm
66 %dir %{perl_vendorlib}/XML/RSS
67 %{perl_vendorlib}/XML/RSS/Private
68 %{_mandir}/man3/XML::RSS.3pm*
69 %{_mandir}/man3/XML::RSS::Private::Output*.3pm*