diff --git a/python-lxml.changes b/python-lxml.changes index 4e267c2..2c3babb 100644 --- a/python-lxml.changes +++ b/python-lxml.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 2 13:02:29 UTC 2015 - mcihar@suse.cz + +- Add devel package with header files in devel package, so that others can use + C API (needed for dm.xmlsec.binding) + ------------------------------------------------------------------- Mon Jul 27 19:15:25 UTC 2015 - aloisio@gmx.com diff --git a/python-lxml.spec b/python-lxml.spec index 2dba324..0839b17 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -59,6 +59,19 @@ RelaxNG, XML Schema, XSLT, C14N and much more. This package contains documentation for lxml (HTML and PDF). +%package devel +Summary: Powerful and Pythonic XML processing library - Devel files +Group: Development/Libraries/Python +Requires: %{name} = %{version} + +%description devel +lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It +provides safe and convenient access to these libraries using the ElementTree +API. It extends the ElementTree API significantly to offer support for XPath, +RelaxNG, XML Schema, XSLT, C14N and much more. + +This package contains header files needed to use lxml's C API. + %prep %setup -q -n lxml-%{version} cp %{SOURCE1} . @@ -85,6 +98,11 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %exclude %{python_sitearch}/lxml/*.h %exclude %{python_sitearch}/lxml/includes/*.h +%files devel +%defattr(-,root,root) +%{python_sitearch}/lxml/*.h +%{python_sitearch}/lxml/includes/*.h + %files doc %defattr(-,root,root) %doc doc/html lxmldoc-%{version}.pdf