3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: XML::DOM - build DOM Level 1 compliant document structures
9 Summary(pl): XML::DOM - budowanie struktur dokumentów zgodnych z DOM Level 1
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: e4c3fdd46e7ada0f9db326b493058d4d
18 BuildRequires: perl-devel >= 5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-XML-Parser >= 2.30
22 BuildRequires: perl-XML-RegExp
23 BuildRequires: perl-libwww
24 BuildRequires: perl-libxml >= 0.07
26 Obsoletes: perl-libxml-enno
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 This is a Perl extension to XML::Parser. It adds a new 'Style' to
32 XML::Parser, called 'Dom', that allows XML::Parser to build an Object
33 Oriented datastructure with a DOM Level 1 compliant interface.
34 However, there is a new DOM module, XML::GDOME which is under active
35 development and significantly faster than XML::DOM, since it is based
36 on the libgdome C library.
39 To jest rozszerzenie Perla do XML::Parser. Dodaje do XML::Parser nowy
40 styl o nazwie "Dom", pozwalaj±c modu³owi budowaæ obiektowo
41 zorientowane struktury danych z interfejsem zgodnym z DOM Level 1.
42 Aczkolwiek jest nowy modu³ DOM, XML::GDOME - aktualnie aktywnie
43 rozwijany i znacznie szybszy ni¿ XML::DOM, poniewa¿ jest oparty na
44 bibliotece C libgdome.
47 %setup -q -n %{pdir}-%{pnam}-%{version}
50 %{__perl} Makefile.PL \
54 %{?with_tests:%{__make} test}
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %dir %{perl_vendorlib}/XML/DOM
69 %{perl_vendorlib}/XML/DOM.pm
70 %{perl_vendorlib}/XML/DOM/*.pm
71 %{perl_vendorlib}/XML/Handler/*