###############################################################################
name = libxml2
-version = 2.7.8
-release = 1
+version = %{ver_maj}.3
+ver_maj = 2.10
+release = 3
groups = System/Libraries
-url = http://xmlsoft.org/
+url = https://xmlsoft.org/
license = MIT
-summary = Library providing XML and HTML support.
+summary = Library providing XML and HTML support
description
- This library allows to manipulate XML files. It includes support \
- to read, modify and write XML and HTML files. There is DTDs support \
- this includes parsing and validation even with complex DtDs, either \
- at parse time or later once the document has been modified. The output \
- can be a simple SAX stream or and in-memory DOM like representations. \
- In this case one can use the built-in XPath and XPointer implementation \
- to select subnodes or ranges. A flexible Input/Output mechanism is \
- available, with existing HTTP and FTP modules and combined to an URI \
+ This library allows to manipulate XML files. It includes support
+ to read, modify and write XML and HTML files. There is DTDs support
+ this includes parsing and validation even with complex DtDs, either
+ at parse time or later once the document has been modified. The output
+ can be a simple SAX stream or and in-memory DOM like representations.
+ In this case one can use the built-in XPath and XPointer implementation
+ to select subnodes or ranges. A flexible Input/Output mechanism is
+ available, with existing HTTP and FTP modules and combined to an URI
library.
end
-source_dl = ftp://xmlsoft.org/libxml2/
+source_dl = https://download.gnome.org/sources/libxml2/%{ver_maj}/
+sources = %{thisapp}.tar.xz
build
requires
pkg-config
+ python3-devel
zlib-devel
end
+
+ configure_options += \
+ PYTHON=%{python3}
end
packages
package %{name}
- end
package %{name}-devel
template DEVEL
end
+ package python3-%{name}
+ template PYTHON3
+ end
+
package %{name}-debuginfo
template DEBUGINFO
end