3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 %define pnam NodeFilter
8 Summary: XML::NodeFilter - generic node-filter class
9 Summary(pl.UTF-8): XML::NodeFilter - ogólna klasa do filtrowania węzłów
10 Name: perl-XML-NodeFilter
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: a585cd03435fc51ead427aa2c82b40a3
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 XML::NodeFilter is a generic node-filter class for DOM traversal as
25 specified in the DOM Level 2 Traversal and Range specification. It
26 extends that specification so this class is more easy to use for Perl
29 %description -l pl.UTF-8
30 XML::NodeFilter to ogólna klasa do filtrowania węzłów przy
31 przechodzeniu DOM wg specyfikacji "DOM Level 2 Traversal and Range".
32 Rozszerza ona specyfikację w ten sposób, że ta klasa jest łatwiejsza w
33 użyciu dla programistów perlowych.
36 %setup -q -n %{pdir}-%{pnam}-%{version}
39 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{perl_vendorlib}/XML/NodeFilter.pm