]> git.pld-linux.org Git - packages/perl-XML-RSS-LibXML.git/blame - perl-XML-RSS-LibXML.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-XML-RSS-LibXML.git] / perl-XML-RSS-LibXML.spec
CommitLineData
f1c57152 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
f1c57152 5%define pdir XML
6%define pnam RSS-LibXML
7Summary: XML::RSS::LibXML - XML::RSS with XML::LibXML
c920c791 8Summary(pl.UTF-8): XML::RSS::LibXML - XML::RSS z XML::LibXML
f1c57152 9Name: perl-XML-RSS-LibXML
c7f85dc5 10Version: 0.3102
f1c57152 11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
c920c791 15Source0: http://www.cpan.org/modules/by-authors/id/D/DM/DMAKI/%{pdir}-%{pnam}-%{version}.tar.gz
c7f85dc5 16# Source0-md5: 9fbc00ce70c200a22dd6438e8679d174
f1c57152 17URL: http://search.cpan.org/dist/XML-RSS-LibXML/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20%if %{with tests}
21BuildRequires: perl-Class-Accessor
22BuildRequires: perl-DateTime-Format-Mail
23BuildRequires: perl-DateTime-Format-W3CDTF
24BuildRequires: perl-UNIVERSAL-require
25BuildRequires: perl-XML-LibXML
26BuildRequires: perl-XML-LibXML-XPathContext
27%endif
28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
c920c791
JB
32XML::RSS::LibXML uses XML::LibXML (libxml2) for parsing RSS instead of
33XML::RSS' XML::Parser (expat), while trying to keep interface
34compatibility with XML::RSS.
f1c57152 35
c920c791
JB
36XML::RSS is an extremely handy tool, but it is unfortunately not
37exactly the most lean or efficient RSS parser, especially in a
38long-running process. So for a long time I had been using my own
39version of RSS parser to get the maximum speed and efficiency - this
40is the re-packaged version of that module, such that it adheres to the
41XML::RSS interface.
f1c57152 42
c920c791
JB
43Use this module when you have severe performance requirements working
44with RSS files.
f1c57152 45
c920c791
JB
46%description -l pl.UTF-8
47XML::RSS::LibXML do przetwarzania RSS wykorzystuje XML::LibXML
48(libxml2) zamiast używanego przez XML::RSS XML::Parser (expat),
49próbując zachować interfejs kompatybilny z XML::RSS.
50
51XML::RSS to bardzo podręczne narzędzie, ale niestety nie jest
52najlżejszym ani najbardziej wydajnym analizatorem RSS, zwłaszcza przy
53długo działających procesach. Natomiast ten pakiet zawiera
54przepakowaną wersję własnego analizatora RSS używanego od dawna przez
55autora.
56
57Tego modułu można używać jeśli mamy ostre wymagania co do wydajności
58przy pracy z plikami RSS.
f1c57152 59
60%prep
c7f85dc5 61%setup -q -n %{pdir}-%{pnam}-%{version}
f1c57152 62
63%build
c7f85dc5 64%{__perl} Makefile.PL \
65 INSTALLDIRS=vendor
66%{__make}
f1c57152 67
c7f85dc5 68%{?with_tests:%{__make} test}
f1c57152 69
70%install
71rm -rf $RPM_BUILD_ROOT
72
c7f85dc5 73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT
f1c57152 75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(644,root,root,755)
81%doc Changes
82%{perl_vendorlib}/XML/RSS/*.pm
83%{perl_vendorlib}/XML/RSS/LibXML
84%{_mandir}/man3/*
This page took 1.020532 seconds and 4 git commands to generate.