]> git.pld-linux.org Git - packages/python-lxml.git/blobdiff - python-lxml.spec
- updated to 2.2.4
[packages/python-lxml.git] / python-lxml.spec
index e4f485611ef6c3e47265f3fe4720f9d7cdaca430..17adf76901209f1a6c06bb89c1749680565c5795 100644 (file)
@@ -2,15 +2,18 @@
 %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
-Release:       0.1
+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
+# Source0-md5: 077841e74ee728e7746b65d8483274be
 URL:           http://codespeak.net/lxml/
-BuildRequires: python
+BuildRequires: libxml2-devel
+BuildRequires: libxslt-devel
+BuildRequires: python-devel
 BuildRequires: rpmbuild(macros) >= 1.219
 BuildRequires: unzip
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -18,6 +21,9 @@ 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}
 
@@ -26,8 +32,6 @@ python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/ElementTree-%{version}-py%{py_ver}.egg-info
 
 python setup.py install \
        --root=$RPM_BUILD_ROOT \
@@ -41,5 +45,10 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc doc/* CHANGES.txt CREDITS.txt TODO.txt
-%{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/ElementTree*
+%dir %{py_sitedir}/lxml
+%{py_sitedir}/lxml/*.py[co]
+%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
This page took 0.026929 seconds and 4 git commands to generate.