X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-lxml.git;a=blobdiff_plain;f=python-lxml.spec;h=c2bbfd599961e76fce4b1f9d4b2db5e2a91730bc;hp=a304bd52e98a12d00bfd8a65b9e1b1afce3ff1a3;hb=3198043504cc02986699a8259c55d362679654f9;hpb=0f893bb9ad46c1ebf8e587a60db7405248c40d97 diff --git a/python-lxml.spec b/python-lxml.spec index a304bd5..c2bbfd5 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -2,18 +2,17 @@ %define module lxml # Summary: A Pythonic binding for the libxml2 and libxslt libraries +Summary(pl.UTF-8): Pythonowe wiązanie do bibliotek libxml2 i libxslt Name: python-%{module} -Version: 0.8 +Version: 2.0.5 Release: 1 License: BSD Group: Development/Languages/Python Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz -# Source0-md5: b156da08fea2af7b34774d5f9c4fa206 -Patch0: %{name}-path.patch +# Source0-md5: 2cc8caf84c3b55353d5513c6d668c090 URL: http://codespeak.net/lxml/ BuildRequires: libxml2-devel BuildRequires: libxslt-devel -BuildRequires: python-Pyrex BuildRequires: python-devel BuildRequires: rpmbuild(macros) >= 1.219 BuildRequires: unzip @@ -22,9 +21,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description lxml is a Pythonic binding for the libxml2 and libxslt libraries. +%description -l pl.UTF-8 +lxml to pythonowe wiązanie do bibliotek libxml2 i libxslt. + %prep %setup -q -n %{module}-%{version} -%patch0 -p1 %build python setup.py build @@ -46,7 +47,9 @@ rm -rf $RPM_BUILD_ROOT %doc doc/* CHANGES.txt CREDITS.txt TODO.txt %dir %{py_sitedir}/lxml %{py_sitedir}/lxml/*.py[co] -%attr(755,root,root) %{py_sitedir}/lxml/*.so -%dir %{py_sitedir}/lxml/tests -%{py_sitedir}/lxml/tests/*.py[co] -%{py_sitedir}/lxml/tests/*.xml +%dir %{py_sitedir}/lxml/html +%{py_sitedir}/lxml/html/*.py[co] +%attr(755,root,root) %{py_sitedir}/lxml/etree.so +%attr(755,root,root) %{py_sitedir}/lxml/objectify.so +%attr(755,root,root) %{py_sitedir}/lxml/pyclasslookup.so +%{py_sitedir}/lxml-*.egg-info