X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-lxml.git;a=blobdiff_plain;f=python-lxml.spec;h=876643ea3f0292819c659de0c9d774a871ee9d0b;hp=c5cea12f03cb725abd0e64722854a00e31bf6165;hb=7217b13fdce209b8d89a7440cec9cc61e9475ea6;hpb=459884ee0483cb1117cbb80ac50c31696713c820 diff --git a/python-lxml.spec b/python-lxml.spec index c5cea12..876643e 100644 --- a/python-lxml.spec +++ b/python-lxml.spec @@ -2,20 +2,20 @@ %define module lxml # Summary: A Pythonic binding for the libxml2 and libxslt libraries -Summary(pl): Pythonowe wi±zanie do bibliotek libxml2 i libxslt +Summary(pl.UTF-8): Pythonowe wiązanie do bibliotek libxml2 i libxslt Name: python-%{module} -Version: 0.8 +Version: 2.2.4 Release: 1 License: BSD -Group: Development/Languages/Python +Group: Libraries/Python Source0: http://codespeak.net/lxml/%{module}-%{version}.tgz -# Source0-md5: b156da08fea2af7b34774d5f9c4fa206 -Patch0: %{name}-path.patch +# Source0-md5: 077841e74ee728e7746b65d8483274be URL: http://codespeak.net/lxml/ BuildRequires: libxml2-devel BuildRequires: libxslt-devel -BuildRequires: python-Pyrex BuildRequires: python-devel +BuildRequires: python-modules +BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.219 BuildRequires: unzip BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -23,12 +23,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description lxml is a Pythonic binding for the libxml2 and libxslt libraries. -%description -l pl -lxml to pythonowe wi±zanie do bibliotek libxml2 i libxslt. +%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 @@ -50,7 +49,8 @@ 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 +%{py_sitedir}/lxml-*.egg-info