Summary: Library providing XML and HTML support
Name: libxml2
Version: 2.7.8
-Release: 8.5
+Release: 8.5.1
License: MIT
Group: System/Libraries
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
available, with existing HTTP and FTP modules and combined to an
URI library.
+%package python
+Summary: Python bindings for the libxml2 library
+Group: Development/Libraries
+Requires: libxml2 = %{version}
+Requires: %{_libdir}/python%{python_version}
+
+%description python
+The libxml2-python package contains a module that permits applications
+written in the Python programming language to use the interface
+supplied by the libxml2 library to manipulate XML files.
+
+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.
+
%prep
%setup -q
%{_libdir}/lib*.so.*
%{_bindir}/xmllint
%{_bindir}/xmlcatalog
-%{python_sitelib}/drv_libxml2*
-%{python_sitelib}/libxml2*
%files devel
%{_bindir}/xml2-config
%{_datadir}/aclocal/libxml.m4
%{_libdir}/pkgconfig/libxml-2.0.pc
+
+%files python
+%defattr(-, root, root)
+%{python_sitelib}/drv_libxml2*
+%{python_sitelib}/libxml2*