Accepting request 328665 from home:Nijel:branches:devel:languages:python

- Add devel package with header files in devel package, so that others can use
  C API (needed for dm.xmlsec.binding)

OBS-URL: https://build.opensuse.org/request/show/328665
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=84
This commit is contained in:
Michal Čihař 2015-09-02 14:07:58 +00:00 committed by Git OBS Bridge
parent b692aa2fa5
commit 9627304480
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 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). 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 %prep
%setup -q -n lxml-%{version} %setup -q -n lxml-%{version}
cp %{SOURCE1} . cp %{SOURCE1} .
@ -85,6 +98,11 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%exclude %{python_sitearch}/lxml/*.h %exclude %{python_sitearch}/lxml/*.h
%exclude %{python_sitearch}/lxml/includes/*.h %exclude %{python_sitearch}/lxml/includes/*.h
%files devel
%defattr(-,root,root)
%{python_sitearch}/lxml/*.h
%{python_sitearch}/lxml/includes/*.h
%files doc %files doc
%defattr(-,root,root) %defattr(-,root,root)
%doc doc/html lxmldoc-%{version}.pdf %doc doc/html lxmldoc-%{version}.pdf