source: projects/specs/branches/6/p/python-lxml/python-lxml.spec @ 540

Revision 540, 1.6 KB checked in by kazutaka, 14 years ago (diff)

update for Vine Plus/5 build

Line 
1%define _lxml lxml
2Summary: lxml is a Pythonic binding for the libxml2 and libxslt libraries
3Summary(ja): lxml は libxml2 と libxslt の Python バインディングです
4Name: python-%{_lxml}
5Group: Development/Libraries
6Version: 2.2.6
7Release: 2%{?_dist_release}
8License: BSD
9URL: http://codespeak.net/lxml
10#URL: http://pypi.python.org/pypi/lxml
11Source: http://pypi.python.org/packages/source/l/%{_lxml}/%{_lxml}-%{version}.tar.gz
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13Vendor: Project Vine
14Distribution: Vine Linux
15
16BuildRequires: libxml2-devel >= 2.6.21
17BuildRequires: libxslt-devel >= 1.1.15
18BuildRequires: python-devel >= 2.3
19BuildRequires: python-pyrex
20
21%description
22lxml is a Pythonic binding for the libxml2_ and libxslt_ libraries.  It is
23unique in that it combines the speed and feature completeness of these
24libraries with the simplicity of a native Python API, mostly compatible but
25superior to the well-known ElementTree_ API.  See the introduction_ for more
26information about background and goals.
27
28%prep
29%setup -q -n %{_lxml}-%{version}
30
31%build
32%{__python} setup.py build
33
34%install
35rm -rf $RPM_BUILD_ROOT
36%{__python} setup.py install --root=$RPM_BUILD_ROOT
37
38%clean
39rm -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
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
53* Sun Mar 07 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.6-1
54- initial build for vine linux
55
Note: See TracBrowser for help on using the repository browser.