]> git.pld-linux.org Git - packages/perl-XML-Filter-DOMFilter-LibXML.git/blame - perl-XML-Filter-DOMFilter-LibXML.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-XML-Filter-DOMFilter-LibXML.git] / perl-XML-Filter-DOMFilter-LibXML.spec
CommitLineData
ed769a30 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
65a6265e 4
bf8c62a9 5%define pdir XML
6%define pnam Filter-DOMFilter-LibXML
906e1c5a 7Summary: XML::Filter::DOMFilter::LibXML - SAX filter allowing DOM processing of selected subtrees
e828124d 8Summary(pl.UTF-8): XML::Filter::DOMFilter::LibXML - filtr SAX pozwalający na przetwarzanie DOM wybranych poddrzew
ed769a30 9Name: perl-XML-Filter-DOMFilter-LibXML
10Version: 0.02
a2f592c2 11Release: 3
ed769a30 12License: unknown
13Group: Development/Languages/Perl
e09e2bc6 14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
a5f36c31 15# Source0-md5: 9089d02fbd5ff914070af4c3b9142f02
65a6265e 16URL: http://search.cpan.org/dist/XML-Filter-DOMFilter-LibXML/
c7e6a2c8 17BuildRequires: perl-devel >= 1:5.8.0
ed769a30 18BuildRequires: rpm-perlprov >= 4.1-13
19%if %{with tests}
20BuildRequires: perl-XML-LibXML >= 1.53
21BuildRequires: perl-XML-LibXML-SAX
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27This module provides a compromise between SAX and DOM processing by
c7e6a2c8
JB
28allowing to use DOM API to process only reasonably small parts of an
29XML document. It works as a SAX filter temporarily building small DOM
30trees around parts selected by given XPath expressions (with some
31limitations).
32
550f04e6
JR
33%description -l pl.UTF-8
34Ten moduł daje kompromis pomiędzy przetwarzaniem SAX i DOM zezwalając
35na używanie API DOM do przetwarzania tylko odpowiednio małych części
36dokumentu XML. Działa jako filtr SAX tymczasowo budujący małe drzewa
37DOM dla części wybranych poprzez podane wyrażenia XPath (z pewnymi
c7e6a2c8 38ograniczeniami).
ed769a30 39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make}
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
906e1c5a 61%dir %{perl_vendorlib}/XML/Filter/DOMFilter
62%{perl_vendorlib}/XML/Filter/DOMFilter/*.pm
ed769a30 63%{_mandir}/man3/*
This page took 0.105569 seconds and 4 git commands to generate.