]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - libxml2/libxml2.nm
glibc: Disable multilib support on X86_64
[people/stevee/ipfire-3.x.git] / libxml2 / libxml2.nm
index 8eb4ebf56a1546f025fb5e747d92a524ee22a944..c284d5a478a16d9363acc38fdf71fd7ff4ed3fe5 100644 (file)
@@ -4,43 +4,52 @@
 ###############################################################################
 
 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