]> git.pld-linux.org Git - packages/perl-XML-RSS.git/blob - perl-XML-RSS.spec
Up to 1.62
[packages/perl-XML-RSS.git] / perl-XML-RSS.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # don't perform "make test"
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:            http://search.cpan.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 Provides:       perl(XML::RSS::Creator)
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 This module was created to help those who need to manage RDF Site
33 Summary (RSS) files. It makes quick work of creating, updating, and
34 saving RSS files.
35
36 %description -l pl.UTF-8
37 Ten moduł został stworzony, aby pomóc przy zarządzaniu plikami RDF
38 Site Summary (RSS). Pozwala szybko tworzyć, uaktualniać i zapisywać
39 pliki RSS.
40
41 %prep
42 %setup -q -n %{pdir}-%{pnam}-%{version}
43
44 %build
45 %{__perl} Makefile.PL \
46         INSTALLDIRS=vendor
47 %{__make}
48
49 %{?with_tests:%{__make} test}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{perl_vendorlib}/XML/RSS
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc TODO README Changes
64 %{perl_vendorlib}/XML/RSS.pm
65 %dir %{perl_vendorlib}/XML/RSS
66 %{perl_vendorlib}/XML/RSS/Private
67 %{_mandir}/man3/XML::RSS.3pm*
68 %{_mandir}/man3/XML::RSS::Private::Output*.3pm*
This page took 0.096222 seconds and 3 git commands to generate.