4 Summary: A Pythonic binding for the libxml2 and libxslt libraries
5 Summary(pl.UTF-8): Pythonowe wiązanie do bibliotek libxml2 i libxslt
10 Group: Development/Languages/Python
11 Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz
12 # Source0-md5: b156da08fea2af7b34774d5f9c4fa206
13 Patch0: %{name}-path.patch
14 URL: http://codespeak.net/lxml/
15 BuildRequires: libxml2-devel
16 BuildRequires: libxslt-devel
17 BuildRequires: python-Pyrex >= 0.9.4.2
18 BuildRequires: python-devel
19 BuildRequires: rpmbuild(macros) >= 1.219
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 lxml is a Pythonic binding for the libxml2 and libxslt libraries.
26 %description -l pl.UTF-8
27 lxml to pythonowe wiązanie do bibliotek libxml2 i libxslt.
30 %setup -q -n %{module}-%{version}
37 rm -rf $RPM_BUILD_ROOT
39 python setup.py install \
40 --root=$RPM_BUILD_ROOT \
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc doc/* CHANGES.txt CREDITS.txt TODO.txt
51 %dir %{py_sitedir}/lxml
52 %{py_sitedir}/lxml/*.py[co]
53 %attr(755,root,root) %{py_sitedir}/lxml/*.so
54 %dir %{py_sitedir}/lxml/tests
55 %{py_sitedir}/lxml/tests/*.py[co]
56 %{py_sitedir}/lxml/tests/*.xml