3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
7 %define pnam XUpdate-LibXML
8 Summary: XML::XUpdate::LibXML - simple implementation of XUpdate format
9 Summary(pl.UTF-8): XML::XUpdate::LibXML - prosta implementacja formatu XUpdate
10 Name: perl-XML-XUpdate-LibXML
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: feee3db4ab0a0520d9b1f17b50f74693
18 BuildRequires: perl-XML-LibXML >= 1.54
19 BuildRequires: perl-XML-LibXML-Iterator
20 BuildRequires: perl-XML-LibXML-XPathContext >= 0.04
22 BuildRequires: perl-devel >= 1:5.8.0
23 BuildRequires: rpm-perlprov >= 4.1-13
24 Requires: perl-XML-LibXML >= 1.54
25 Requires: perl-XML-LibXML-XPathContext >= 0.04
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 This module implements the XUpdate format described in XUpdate Working
31 Draft from 2000-09-14 (http://www.xmldb.org/xupdate/xupdate-wd.html).
32 The implementation is based on XML::LibXML DOM API.
34 %description -l pl.UTF-8
35 Ten moduĊ implementuje format XUpdate opisany w XUpdate Working Draft
36 z 14.09.2000 (http://www.xmldb.org/xupdate/xupdate-wd.html).
37 Implementacja jest oparta na API DOM z XML::LibXML.
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/xupdate
62 %{perl_vendorlib}/XML/Normalize
63 %{perl_vendorlib}/XML/XUpdate