14
0
forked from pool/python-lxml
OBS User unknown
2007-01-15 23:34:06 +00:00
committed by Git OBS Bridge
commit d9a5f272ce
6 changed files with 95 additions and 0 deletions

64
python-lxml.spec Normal file
View File

@@ -0,0 +1,64 @@
#
# spec file for package python-lxml (Version 1.0.2)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-lxml
%define modname lxml
URL: http://codespeak.net/lxml
Summary: A Pythonic binding for the libxml2 and libxslt libraries
Version: 1.0.2
Release: 1
License: BSD License and BSD-like
Group: Development/Libraries/Python
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
Requires: pyxml
BuildRequires: libxml2-devel libxslt-devel pyrex python-devel pyxml
%description
lxml is a Pythonic binding for the libxml2 and libxslt libraries. It
follows the ElementTree API as much as possible, building it on top of
the native libxml2 tree. It also extends this API to expose libxml2 and
libxslt specific functionality, such as XPath, Relax NG, XML Schema,
XSLT, and c14n.
Authors: Martijn Faassen <faassen@infrae.com>
Authors:
--------
Stefan Behnel - main developer and maintainer
Martijn Faassen - creator of lxml and initial main developer
and others
%prep
%setup -q -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
rm -rf %{buildroot}
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt
%{py_sitedir}/lxml
%changelog -n python-lxml
* Fri Dec 01 2006 - toms@suse.de
- New package 1.1.2 moved from openSUSE build server