4 Summary: A Pythonic binding for the libxml2 and libxslt libraries
9 Group: Development/Languages/Python
10 Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz
11 # Source0-md5: b156da08fea2af7b34774d5f9c4fa206
12 URL: http://codespeak.net/lxml/
14 BuildRequires: rpmbuild(macros) >= 1.219
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 lxml is a Pythonic binding for the libxml2 and libxslt libraries.
22 %setup -q -n %{module}-%{version}
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
30 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/ElementTree-%{version}-py%{py_ver}.egg-info
32 python setup.py install \
33 --root=$RPM_BUILD_ROOT \
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
43 %doc doc/* CHANGES.txt CREDITS.txt TODO.txt
44 %{py_sitescriptdir}/%{module}
45 %{py_sitescriptdir}/ElementTree*