~ius-coredev/ius/python26-lxml

« back to all changes in this revision

Viewing changes to SPECS/python26-lxml.spec

  • Committer: wdierkes
  • Date: 2009-09-14 23:19:01 UTC
  • Revision ID: wdierkes@220805-mock00.rpms.rackspace.com-20090914231901-ikwni6u517kw2thg
initial import of python26-lxml

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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)")}
 
3
 
 
4
%define pybase_ver 26
 
5
%define real_name python-lxml
 
6
%define name python%{pybase_ver}-lxml
 
7
 
 
8
Name:           %{name} 
 
9
Version:        2.0.11
 
10
Release:        1.ius%{?dist}
 
11
Summary:        ElementTree-like Python bindings for libxml2 and libxslt
 
12
 
 
13
Group:          Development/Libraries
 
14
License:        BSD
 
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)
 
19
 
 
20
BuildRequires:  libxslt-devel
 
21
BuildRequires:  python%{pybase_ver}, python%{pybase_ver}-setuptools
 
22
 
 
23
%description
 
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.
 
30
 
 
31
%prep
 
32
%setup -q -n lxml-%{version}
 
33
 
 
34
chmod a-x doc/rest2html.py
 
35
 
 
36
%build
 
37
CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
 
38
 
 
39
%install
 
40
rm -rf %{buildroot}
 
41
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
 
42
 
 
43
%clean
 
44
rm -rf %{buildroot}
 
45
 
 
46
%files
 
47
%defattr(-,root,root,-)
 
48
%doc README.txt LICENSES.txt PKG-INFO CREDITS.txt CHANGES.txt doc/
 
49
%{python_sitearch}/*
 
50
 
 
51
%changelog
 
52
* Mon Aug 24 2009 BJ Dierkes <wdierkes@rackspace.com> - 2.0.11-1.ius
 
53
- Rebuilding for IUS
 
54
 
 
55
* Fri Dec 12 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.11-1
 
56
- 2.0.11 (2008-12-12)
 
57
- Bugs fixed
 
58
 
59
-    * Crash when using an XPath evaluator in multiple threads.
 
60
 
 
61
* Tue Nov 18 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.10-1
 
62
- 2.0.10 (2008-11-17)
 
63
- Bugs fixed
 
64
 
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.
 
68
 
 
69
* Fri Sep  5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.9-1
 
70
- 2.0.9 (2008-09-05)
 
71
- Bugs fixed
 
72
 
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.
 
76
 
 
77
* Fri Jul 25 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.8-1
 
78
- Update to 2.0.8
 
79
 
 
80
* Fri Jun 20 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.7-1
 
81
- Update to 2.0.7
 
82
- Update download URL
 
83
 
 
84
* Sat May 31 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.6-1
 
85
- Update to 2.0.6
 
86
 
 
87
* Thu May  8 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.5-1
 
88
- Update to 2.0.5
 
89
 
 
90
* Wed Mar 26 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.3-1
 
91
- Update to 2.0.3
 
92
 
 
93
* Sat Feb 23 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.2-1
 
94
- Update to 2.0.2
 
95
 
 
96
* Tue Feb 19 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.1-1
 
97
- Update to 2.0.1
 
98
 
 
99
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.6-2
 
100
- Autorebuild for GCC 4.3
 
101
 
 
102
* Mon Nov  4 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.6-1
 
103
- Update to 1.3.6.
 
104
 
 
105
* Mon Oct 22 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.5-1
 
106
- Update to 1.3.5.
 
107
 
 
108
* Thu Aug 30 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.4-1
 
109
- Update to 1.3.4.
 
110
 
 
111
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.3.3-3
 
112
- Rebuild for selinux ppc32 issue.
 
113
 
 
114
* Tue Aug 28 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.3-2
 
115
- BR python-setuptools-devel
 
116
 
 
117
* Mon Jul 30 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.3-1
 
118
- Update to 1.3.3
 
119
 
 
120
* Fri Jan 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.1.2-1
 
121
- Update to 1.1.2
 
122
 
 
123
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.0.3-3
 
124
- Rebuild for new Python
 
125
 
 
126
* Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 1.0.3-2
 
127
- Rebuild for FC6
 
128
 
 
129
* Thu Aug 17 2006 Shahms E. King <shahms@shahms.com> 1.0.3-1
 
130
- Update to new upstream version
 
131
 
 
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
 
134
 
 
135
* Fri Jul 07 2006 Shahms E. King <shahms@shahms.com> 1.0.2-1
 
136
- Update to new upstream release
 
137
 
 
138
* Mon Jun 26 2006 Shahms E. King <shahms@shahms.com> 1.0.1-1
 
139
- Update to new upstream release
 
140
 
 
141
* Fri Jun 02 2006 Shahms E. King <shahms@shahms.com> 1.0-1
 
142
- Update to new upstream 1.0 release
 
143
 
 
144
* Wed Apr 26 2006 Shahms E. King <shahms@shahms.com> 0.9.1-3
 
145
- Add python-setuptools to BuildRequires
 
146
- Use dist tag
 
147
 
 
148
* Wed Apr 26 2006 Shahms E. King <shahms@shahms.com> 0.9.1-2
 
149
- Fix summary and description
 
150
 
 
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
 
154
 
 
155
* Tue Dec 13 2005 Shahms E. King <shahms@shahms.com> 0.8-1
 
156
- Initial package