]> git.pld-linux.org Git - packages/perl-XML-RSS.git/blob - perl-XML-RSS.spec
e6feb7d5d066b15bb442a14796c6e4e3b4e8eb31
[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 %include        /usr/lib/rpm/macros.perl
8 Summary:        XML::RSS - module for RDF Site Summary (RSS) files managment
9 Summary(pl.UTF-8):      XML::RSS - moduł do zarządzania plikami RDF Site Summary (RSS)
10 Name:           perl-XML-RSS
11 Version:        1.60
12 Release:        1
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  75d5a98f96cfb959c8013fca4283e98b
18 URL:            http://search.cpan.org/dist/XML-RSS/
19 %if %{with tests}
20 BuildRequires:  perl-DateTime-Format-Mail
21 BuildRequires:  perl-DateTime-Format-W3CDTF
22 BuildRequires:  perl-HTML-Parser
23 BuildRequires:  perl-Test-Manifest >= 0.9
24 BuildRequires:  perl-XML-Parser >= 2.23
25 %endif
26 BuildRequires:  perl-devel >= 1:5.8.0
27 BuildRequires:  rpm-perlprov >= 4.1-13
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.020141 seconds and 2 git commands to generate.