]> git.pld-linux.org Git - packages/perl-XML-XUpdate-LibXML.git/blob - perl-XML-XUpdate-LibXML.spec
- converted to UTF-8
[packages/perl-XML-XUpdate-LibXML.git] / perl-XML-XUpdate-LibXML.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    XML
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
11 Version:        0.6.0
12 Release:        1
13 License:        unknown
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  feee3db4ab0a0520d9b1f17b50f74693
17 %if %{with tests}
18 BuildRequires:  perl-XML-LibXML >= 1.54
19 BuildRequires:  perl-XML-LibXML-Iterator
20 BuildRequires:  perl-XML-LibXML-XPathContext >= 0.04
21 %endif
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
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
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.
33
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.
38
39 %prep
40 %setup -q -n %{pdir}-%{pnam}-%{version}
41
42 %build
43 %{__perl} Makefile.PL \
44         INSTALLDIRS=vendor
45 %{__make}
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -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.075546 seconds and 3 git commands to generate.