]> git.pld-linux.org Git - packages/perl-XML-RSS.git/blob - perl-XML-RSS.spec
- updated URL and macros
[packages/perl-XML-RSS.git] / perl-XML-RSS.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # unit tests
4
5 %define         pdir    XML
6 %define         pnam    RSS
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)
9 Name:           perl-XML-RSS
10 Version:        1.62
11 Release:        1
12 # same as perl
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
18 %if %{with tests}
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
24 %endif
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)
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
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
35 saving RSS files.
36
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ć
40 pliki RSS.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48 %{__make}
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{perl_vendorlib}/XML/RSS
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
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*
This page took 0.104208 seconds and 4 git commands to generate.