[533] | 1 | %define _lxml lxml |
---|
| 2 | Summary: lxml is a Pythonic binding for the libxml2 and libxslt libraries |
---|
| 3 | Summary(ja): lxml は libxml2 と libxslt の Python バインディングです |
---|
| 4 | Name: python-%{_lxml} |
---|
| 5 | Group: Development/Libraries |
---|
| 6 | Version: 2.2.6 |
---|
[540] | 7 | Release: 2%{?_dist_release} |
---|
[533] | 8 | License: BSD |
---|
| 9 | URL: http://codespeak.net/lxml |
---|
| 10 | #URL: http://pypi.python.org/pypi/lxml |
---|
| 11 | Source: http://pypi.python.org/packages/source/l/%{_lxml}/%{_lxml}-%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | Vendor: Project Vine |
---|
| 14 | Distribution: Vine Linux |
---|
| 15 | |
---|
[540] | 16 | BuildRequires: libxml2-devel >= 2.6.21 |
---|
[533] | 17 | BuildRequires: libxslt-devel >= 1.1.15 |
---|
| 18 | BuildRequires: python-devel >= 2.3 |
---|
| 19 | BuildRequires: python-pyrex |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | lxml is a Pythonic binding for the libxml2_ and libxslt_ libraries. It is |
---|
| 23 | unique in that it combines the speed and feature completeness of these |
---|
| 24 | libraries with the simplicity of a native Python API, mostly compatible but |
---|
| 25 | superior to the well-known ElementTree_ API. See the introduction_ for more |
---|
| 26 | information about background and goals. |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q -n %{_lxml}-%{version} |
---|
| 30 | |
---|
| 31 | %build |
---|
| 32 | %{__python} setup.py build |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | rm -rf $RPM_BUILD_ROOT |
---|
| 36 | %{__python} setup.py install --root=$RPM_BUILD_ROOT |
---|
| 37 | |
---|
| 38 | %clean |
---|
| 39 | rm -rf $RPM_BUILD_ROOT |
---|
| 40 | |
---|
| 41 | %files |
---|
| 42 | %defattr(-,root,root) |
---|
| 43 | %doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt |
---|
| 44 | %doc doc |
---|
| 45 | %{python_sitearch}/%{_lxml} |
---|
| 46 | %{python_sitearch}/%{_lxml}-*-info |
---|
| 47 | |
---|
| 48 | %changelog |
---|
[540] | 49 | * Wed Mar 10 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.2.6-2 |
---|
| 50 | - change required version of libxml2-devel for Vine Plus/5 |
---|
| 51 | (2.7.2 or later is recomended, but works with 2.6.21 or later) |
---|
| 52 | |
---|
[533] | 53 | * Sun Mar 07 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.6-1 |
---|
| 54 | - initial build for vine linux |
---|
| 55 | |
---|