]> git.pld-linux.org Git - packages/perl-XML-XUpdate-LibXML.git/blame - perl-XML-XUpdate-LibXML.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-XML-XUpdate-LibXML.git] / perl-XML-XUpdate-LibXML.spec
CommitLineData
e3bab152
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
ac1d7258 4
bc225888 5%define pdir XML
6%define pnam XUpdate-LibXML
ec60e026 7Summary: XML::XUpdate::LibXML - simple implementation of XUpdate format
a896c18f 8Summary(pl.UTF-8): XML::XUpdate::LibXML - prosta implementacja formatu XUpdate
e3bab152 9Name: perl-XML-XUpdate-LibXML
1e011da9 10Version: 0.6.0
11Release: 1
e3bab152
JB
12License: unknown
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
1e011da9 15# Source0-md5: feee3db4ab0a0520d9b1f17b50f74693
ac1d7258
ER
16URL: http://search.cpan.org/dist/XML-XUpdate-LibXML/
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
e3bab152
JB
19%if %{with tests}
20BuildRequires: perl-XML-LibXML >= 1.54
21BuildRequires: perl-XML-LibXML-Iterator
22BuildRequires: perl-XML-LibXML-XPathContext >= 0.04
23%endif
e3bab152
JB
24Requires: perl-XML-LibXML >= 1.54
25Requires: perl-XML-LibXML-XPathContext >= 0.04
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This module implements the XUpdate format described in XUpdate Working
31Draft from 2000-09-14 (http://www.xmldb.org/xupdate/xupdate-wd.html).
32The implementation is based on XML::LibXML DOM API.
33
178e76c8
JR
34%description -l pl.UTF-8
35Ten moduł implementuje format XUpdate opisany w XUpdate Working Draft
e3bab152
JB
36z 14.09.2000 (http://www.xmldb.org/xupdate/xupdate-wd.html).
37Implementacja jest oparta na API DOM z XML::LibXML.
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
e3bab152
JB
45%{__make}
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes
61%attr(755,root,root) %{_bindir}/xupdate
62%{perl_vendorlib}/XML/Normalize
63%{perl_vendorlib}/XML/XUpdate
64%{_mandir}/man[13]/*
This page took 0.074745 seconds and 4 git commands to generate.