forked from pool/python-lxml
		
	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:
		
				
					committed by
					
						 Git OBS Bridge
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							b692aa2fa5
						
					
				
				
					commit
					9627304480
				
			| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user