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: 2cc8caf84c3b55353d5513c6d668c090
13 URL: http://codespeak.net/lxml/
14 BuildRequires: libxml2-devel
15 BuildRequires: libxslt-devel
16 BuildRequires: python-devel
17 BuildRequires: rpmbuild(macros) >= 1.219
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 lxml is a Pythonic binding for the libxml2 and libxslt libraries.
24 %description -l pl.UTF-8
25 lxml to pythonowe wiązanie do bibliotek libxml2 i libxslt.
28 %setup -q -n %{module}-%{version}
34 rm -rf $RPM_BUILD_ROOT
36 python setup.py install \
37 --root=$RPM_BUILD_ROOT \
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc doc/* CHANGES.txt CREDITS.txt TODO.txt
48 %dir %{py_sitedir}/lxml
49 %{py_sitedir}/lxml/*.py[co]
50 %dir %{py_sitedir}/lxml/html
51 %{py_sitedir}/lxml/html/*.py[co]
52 %attr(755,root,root) %{py_sitedir}/lxml/etree.so
53 %attr(755,root,root) %{py_sitedir}/lxml/objectify.so
54 %attr(755,root,root) %{py_sitedir}/lxml/pyclasslookup.so
55 %{py_sitedir}/lxml-*.egg-info