1
%define __python /usr/bin/python2.6
2
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
5
%define real_name python-lxml
6
%define name python%{pybase_ver}-lxml
10
Release: 1.ius%{?dist}
11
Summary: ElementTree-like Python bindings for libxml2 and libxslt
13
Group: Development/Libraries
15
URL: http://codespeak.net/lxml/
16
Source0: http://cheeseshop.python.org/packages/source/l/lxml/lxml-%{version}.tar.gz
17
#Source0: http://codespeak.net/lxml/lxml-%{version}.tgz
18
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20
BuildRequires: libxslt-devel
21
BuildRequires: python%{pybase_ver}, python%{pybase_ver}-setuptools
24
lxml provides a Python binding to the libxslt and libxml2 libraries.
25
It follows the ElementTree API as much as possible in order to provide
26
a more Pythonic interface to libxml2 and libxslt than the default
27
bindings. In particular, lxml deals with Python Unicode strings
28
rather than encoded UTF-8 and handles memory management automatically,
29
unlike the default bindings.
32
%setup -q -n lxml-%{version}
34
chmod a-x doc/rest2html.py
37
CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
41
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
47
%defattr(-,root,root,-)
48
%doc README.txt LICENSES.txt PKG-INFO CREDITS.txt CHANGES.txt doc/
52
* Mon Aug 24 2009 BJ Dierkes <wdierkes@rackspace.com> - 2.0.11-1.ius
55
* Fri Dec 12 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.11-1
59
- * Crash when using an XPath evaluator in multiple threads.
61
* Tue Nov 18 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.10-1
65
- * Ref-count leaks when lxml enters a try-except statement while an
66
- outside exception lives in sys.exc_*(). This was due to a problem
67
- in Cython, not lxml itself.
69
* Fri Sep 5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.9-1
73
- * Memory problem when passing documents between threads.
74
- * Target parser did not honour the recover option and raised an exception
75
- instead of calling .close() on the target.
77
* Fri Jul 25 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.8-1
80
* Fri Jun 20 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.7-1
84
* Sat May 31 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.6-1
87
* Thu May 8 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.5-1
90
* Wed Mar 26 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.3-1
93
* Sat Feb 23 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.2-1
96
* Tue Feb 19 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.1-1
99
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.6-2
100
- Autorebuild for GCC 4.3
102
* Mon Nov 4 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.6-1
105
* Mon Oct 22 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.5-1
108
* Thu Aug 30 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.4-1
111
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.3.3-3
112
- Rebuild for selinux ppc32 issue.
114
* Tue Aug 28 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.3-2
115
- BR python-setuptools-devel
117
* Mon Jul 30 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.3-1
120
* Fri Jan 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.1.2-1
123
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.0.3-3
124
- Rebuild for new Python
126
* Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 1.0.3-2
129
* Thu Aug 17 2006 Shahms E. King <shahms@shahms.com> 1.0.3-1
130
- Update to new upstream version
132
* Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 1.0.2-2
133
- Include, don't ghost .pyo files per new guidelines
135
* Fri Jul 07 2006 Shahms E. King <shahms@shahms.com> 1.0.2-1
136
- Update to new upstream release
138
* Mon Jun 26 2006 Shahms E. King <shahms@shahms.com> 1.0.1-1
139
- Update to new upstream release
141
* Fri Jun 02 2006 Shahms E. King <shahms@shahms.com> 1.0-1
142
- Update to new upstream 1.0 release
144
* Wed Apr 26 2006 Shahms E. King <shahms@shahms.com> 0.9.1-3
145
- Add python-setuptools to BuildRequires
148
* Wed Apr 26 2006 Shahms E. King <shahms@shahms.com> 0.9.1-2
149
- Fix summary and description
151
* Tue Apr 18 2006 Shahms E. King <shahms@shahms.com> 0.9.1-1
152
- update the new upstream version
153
- remove Pyrex build req
155
* Tue Dec 13 2005 Shahms E. King <shahms@shahms.com> 0.8-1