python-lxml-vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. %define _lxml lxml
  2. Summary: lxml is a Pythonic binding for the libxml2 and libxslt libraries
  3. Summary(ja): lxml は libxml2 と libxslt の Python バインディングです
  4. Name: python-%{_lxml}
  5. Group: Development/Libraries
  6. Version: 2.2.6
  7. Release: 4%{?_dist_release}
  8. License: BSD
  9. URL: http://codespeak.net/lxml
  10. #URL: http://pypi.python.org/pypi/lxml
  11. Source: http://pypi.python.org/packages/source/l/%{_lxml}/%{_lxml}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. BuildRequires: libxml2-devel >= 2.6.21
  16. BuildRequires: libxslt-devel >= 1.1.15
  17. BuildRequires: python-devel >= 2.3
  18. BuildRequires: python-pyrex
  19. %description
  20. lxml is a Pythonic binding for the libxml2_ and libxslt_ libraries. It is
  21. unique in that it combines the speed and feature completeness of these
  22. libraries with the simplicity of a native Python API, mostly compatible but
  23. superior to the well-known ElementTree_ API. See the introduction_ for more
  24. information about background and goals.
  25. %prep
  26. %setup -q -n %{_lxml}-%{version}
  27. %build
  28. %{__python} setup.py build
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. %{__python} setup.py install --root=$RPM_BUILD_ROOT
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %files
  35. %defattr(-,root,root)
  36. %doc CHANGES.txt CREDITS.txt LICENSES.txt README.txt TODO.txt
  37. %doc doc
  38. %{python_sitearch}/%{_lxml}
  39. %{python_sitearch}/%{_lxml}-*-info
  40. %changelog
  41. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-4
  42. - rebuild with VineSeed environment
  43. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-3
  44. - rebuild with python-2.7.2
  45. * Wed Mar 10 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.2.6-2
  46. - change required version of libxml2-devel for Vine Plus/5
  47. (2.7.2 or later is recomended, but works with 2.6.21 or later)
  48. * Sun Mar 07 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.6-1
  49. - initial build for vine linux