]> git.pld-linux.org Git - packages/perl-XML-RSS-Feed.git/blob - perl-XML-RSS-Feed.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-XML-RSS-Feed.git] / perl-XML-RSS-Feed.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    XML
6 %define         pnam    RSS-Feed
7 Summary:        XML::RSS::Feed - module for RDF Site Summary (RSS) files managment
8 Summary(pl.UTF-8):      XML::RSS::Feed - moduł do zarządzania plikami RDF Site Summary (RSS)
9 Name:           perl-XML-RSS-Feed
10 Version:        2.32
11 Release:        1
12 Epoch:          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/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  50a070684776c05834b42e0e0c4e4668
18 URL:            http://search.cpan.org/dist/XML-RSS-Feed/
19 %if %{with tests}
20 BuildRequires:  perl-Clone
21 BuildRequires:  perl-Digest-MD5
22 BuildRequires:  perl-URI
23 BuildRequires:  perl-XML-RSS
24 %endif
25 BuildRequires:  perl-devel >= 1:5.8.0
26 BuildRequires:  rpm-perlprov >= 4.1-13
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 XML::RSS::Feed - module for RDF Site Summary (RSS) files managment.
32
33 %description -l pl.UTF-8
34 XML::RSS::Feed - moduł do zarządzania plikami RDF Site Summary (RSS).
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43
44 %{?with_tests:%{__make} test}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changes
58 %{perl_vendorlib}/XML/RSS/*.pm
59 %dir %{perl_vendorlib}/XML/RSS/Headline
60 %{perl_vendorlib}/XML/RSS/Headline/*.pm
61 %{_mandir}/man3/*
This page took 0.063315 seconds and 4 git commands to generate.