]>
Commit | Line | Data |
---|---|---|
66c170e3 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
66c170e3 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = libxml2 |
e1d45c35 MT |
7 | version = %{ver_maj}.3 |
8 | ver_maj = 2.10 | |
d05006f4 | 9 | release = 3 |
66c170e3 | 10 | |
802ea3af | 11 | groups = System/Libraries |
e1d45c35 | 12 | url = https://xmlsoft.org/ |
802ea3af | 13 | license = MIT |
e1d45c35 | 14 | summary = Library providing XML and HTML support |
66c170e3 | 15 | |
802ea3af | 16 | description |
8cbb2a52 SS |
17 | This library allows to manipulate XML files. It includes support |
18 | to read, modify and write XML and HTML files. There is DTDs support | |
19 | this includes parsing and validation even with complex DtDs, either | |
20 | at parse time or later once the document has been modified. The output | |
21 | can be a simple SAX stream or and in-memory DOM like representations. | |
22 | In this case one can use the built-in XPath and XPointer implementation | |
23 | to select subnodes or ranges. A flexible Input/Output mechanism is | |
24 | available, with existing HTTP and FTP modules and combined to an URI | |
66c170e3 | 25 | library. |
802ea3af MT |
26 | end |
27 | ||
e1d45c35 MT |
28 | source_dl = https://download.gnome.org/sources/libxml2/%{ver_maj}/ |
29 | sources = %{thisapp}.tar.xz | |
802ea3af MT |
30 | |
31 | build | |
32 | requires | |
33 | pkg-config | |
d05006f4 | 34 | python3-devel |
802ea3af MT |
35 | zlib-devel |
36 | end | |
6d3995d1 MT |
37 | |
38 | configure_options += \ | |
d05006f4 | 39 | PYTHON=%{python3} |
802ea3af MT |
40 | end |
41 | ||
42 | packages | |
43 | package %{name} | |
1f9bc2f0 | 44 | |
802ea3af MT |
45 | package %{name}-devel |
46 | template DEVEL | |
47 | end | |
1f9bc2f0 | 48 | |
d05006f4 MT |
49 | package python3-%{name} |
50 | template PYTHON3 | |
51 | end | |
52 | ||
1f9bc2f0 MT |
53 | package %{name}-debuginfo |
54 | template DEBUGINFO | |
55 | end | |
802ea3af | 56 | end |