]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_with tests # perform "make test" | |
4 | # | |
5 | # TODO: | |
6 | # - add pod files to spec | |
7 | # | |
8 | %include /usr/lib/rpm/macros.perl | |
9 | %define pdir XML | |
10 | %define pnam LibXML | |
11 | Summary: XML::LibXML - Interface to the gnome libxml2 library | |
12 | Summary(pl): XML::LibXML - Interfejs do biblioteki libxml2 z gnome | |
13 | Name: perl-%{pdir}-%{pnam} | |
14 | Version: 1.56 | |
15 | Release: 1 | |
16 | # same as perl | |
17 | License: GPL or Artistic | |
18 | Group: Development/Languages/Perl | |
19 | Source0: http://www.cpan.org/authors/id/P/PH/PHISH/%{pdir}-%{pnam}-%{version}.tar.gz | |
20 | # Source0-md5: e22a4d79e6afdc8965518bf8a3abb492 | |
21 | Patch0: %{name}-Makefile.patch | |
22 | Patch1: %{name}-extern.patch | |
23 | BuildRequires: gdome2-devel >= 0.7.3 | |
24 | BuildRequires: libxml2-devel >= 2.5.10 | |
25 | BuildRequires: perl-XML-LibXML-Common | |
26 | BuildRequires: perl-XML-NamespaceSupport >= 1.07 | |
27 | BuildRequires: perl-XML-SAX >= 0.11 | |
28 | BuildRequires: perl-devel >= 1:5.8.0 | |
29 | BuildRequires: pkgconfig | |
30 | BuildRequires: rpm-perlprov >= 4.1-13 | |
31 | Requires: libxml2 >= 2.5.10 | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
35 | This module implements much of the DOM Level 2 API as an interface to | |
36 | the GNOME libxml2 library. This makes it a fast and highly capable | |
37 | validating XML parser library, as well as a high performance DOM. | |
38 | ||
39 | %description -l pl | |
40 |