14
0
forked from pool/python-lxml

Accepting request 328666 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/328666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=56
This commit is contained in:
2015-09-13 07:42:22 +00:00
committed by Git OBS Bridge
2 changed files with 24 additions and 0 deletions

View File

@@ -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

View File

@@ -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