python-lxml-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. Version: 4.6.3
  6. Release: 1%{?_dist_release}
  7. Group: programming
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: BSD
  11. URL: https://lxml.de/
  12. #URL: http://pypi.python.org/pypi/lxml
  13. Source: https://pypi.python.org/packages/source/l/%{_lxml}/%{_lxml}-%{version}.tar.gz
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: libxml2-devel >= 2.6.21
  16. BuildRequires: libxslt-devel >= 1.1.15
  17. BuildRequires: python-rpm-macros
  18. BuildRequires: python-devel >= 2.3
  19. BuildRequires: python2-rpm-macros
  20. BuildRequires: python-pyrex
  21. BuildRequires: python3-devel
  22. %description
  23. lxml is a Pythonic binding for the libxml2_ and libxslt_ libraries. It is
  24. unique in that it combines the speed and feature completeness of these
  25. libraries with the simplicity of a native Python API, mostly compatible but
  26. superior to the well-known ElementTree_ API. See the introduction_ for more
  27. information about background and goals.
  28. %package -n python3-lxml
  29. Summary: lxml is a Pythonic binding for the libxml2 and libxslt libraries
  30. Summary(ja): lxml は libxml2 と libxslt の Python バインディングです
  31. Group: programming
  32. %description -n python3-lxml
  33. lxml is a Pythonic binding for the libxml2_ and libxslt_ libraries. It is
  34. unique in that it combines the speed and feature completeness of these
  35. libraries with the simplicity of a native Python API, mostly compatible but
  36. superior to the well-known ElementTree_ API. See the introduction_ for more
  37. information about background and goals.
  38. %debug_package
  39. %prep
  40. %setup -q -n %{_lxml}-%{version}
  41. %build
  42. %py2_build
  43. %py3_build
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. %py2_install
  47. %py3_install
  48. find doc/ -type f | xargs chmod -x
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %files
  52. %defattr(-,root,root)
  53. %license LICENSE*
  54. %doc CHANGES.txt CREDITS.txt README.* TODO.txt
  55. %doc doc
  56. %{python2_sitearch}/%{_lxml}
  57. %{python2_sitearch}/%{_lxml}-*-info
  58. %files -n python3-lxml
  59. %defattr(-,root,root)
  60. %license LICENSE*
  61. %doc CHANGES.txt CREDITS.txt README.* TODO.txt
  62. %doc doc
  63. %{python3_sitearch}/%{_lxml}
  64. %{python3_sitearch}/%{_lxml}-*-info
  65. %changelog
  66. * Thu Mar 25 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.6.3-1
  67. - new upstream release.
  68. * Wed Aug 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.2-2
  69. - fixed dependency.
  70. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.5.2-1
  71. - new upstream release.
  72. * Sat Sep 09 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.0-1
  73. - new upstream release.
  74. - added python3 support.
  75. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-4
  76. - rebuild with VineSeed environment
  77. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.6-3
  78. - rebuild with python-2.7.2
  79. * Wed Mar 10 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.2.6-2
  80. - change required version of libxml2-devel for Vine Plus/5
  81. (2.7.2 or later is recomended, but works with 2.6.21 or later)
  82. * Sun Mar 07 2010 Shu KONNO <owa@bg.wakwak.com> 2.2.6-1
  83. - initial build for vine linux