python-snowballstemmer-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. %global pypi_name snowballstemmer
  2. Summary: Provides 16 stemmer algorithms generated from Snowball algorithms
  3. Name: python-%{pypi_name}
  4. Version: 2.2.0
  5. Release: 1%{?_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: BSD
  10. URL: https://pypi.python.org/pypi/%{pypi_name}
  11. Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
  12. BuildArch: noarch
  13. BuildRequires: python-rpm-macros
  14. BuildRequires: python-devel
  15. BuildRequires: python2-setuptools
  16. BuildRequires: python2-rpm-macros
  17. BuildRequires: python3-devel
  18. BuildRequires: python3-rpm-macros
  19. %{?python_provide:%python_provide python2-%{pypi_name}}
  20. %description
  21. It includes following language algorithms:
  22. * Danish
  23. * Dutch
  24. * English (Standard, Porter)
  25. * Finnish
  26. * French
  27. * German
  28. * Hungarian
  29. * Italian
  30. * Norwegian
  31. * Portuguese
  32. * Romanian
  33. * Russian
  34. * Spanish
  35. * Swedish
  36. * Turkis
  37. This is a pure Python stemming library. If PyStemmer is available, this module
  38. uses it to accelerate.
  39. %package -n python3-%{pypi_name}
  40. Summary: Provides 16 stemmer algorithms generated from Snowball algorithms
  41. Group: programming
  42. BuildArch: noarch
  43. %{?python_provide:%python_provide python3-%{pypi_name}}
  44. %description -n python3-%{pypi_name}
  45. It includes following language algorithms:
  46. * Danish
  47. * Dutch
  48. * English (Standard, Porter)
  49. * Finnish
  50. * French
  51. * German
  52. * Hungarian
  53. * Italian
  54. * Norwegian
  55. * Portuguese
  56. * Romanian
  57. * Russian
  58. * Spanish
  59. * Swedish
  60. * Turkis
  61. This is a pure Python stemming library. If PyStemmer is available, this module
  62. uses it to accelerate.
  63. %prep
  64. %setup -qn %{pypi_name}-%{version}
  65. # Remove upstream's egg-info
  66. rm -rf %{pypi_name}.egg-info
  67. %build
  68. %py2_build
  69. %pip3_build_wheel
  70. %install
  71. %py2_install
  72. %pip3_install_wheel
  73. %check
  74. # No tests
  75. %files
  76. %license COPYING
  77. %doc README.rst
  78. %{python_sitelib}/%{pypi_name}-%{version}-py%{python_version}.egg-info
  79. %{python_sitelib}/%{pypi_name}/
  80. %files -n python3-%{pypi_name}
  81. %license COPYING
  82. %doc README.rst
  83. %{python3_sitelib}/%{pypi_name}-*-info
  84. %{python3_sitelib}/%{pypi_name}/
  85. %changelog
  86. * Tue Nov 01 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.2.0-1
  87. - new upstream release.
  88. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.0.0-1
  89. - new upstream release.
  90. * Wed Nov 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.1-8
  91. - initial build for Vine Linux.
  92. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-7
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  94. * Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-6
  95. - Rebuilt for Python 3.7
  96. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5
  97. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  98. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
  99. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  100. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
  101. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  102. * Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.2.1-2
  103. - Rebuild for Python 3.6
  104. * Sun Sep 18 2016 Julien Enselme <jujens@jujens.eu> - 1.2.1-1
  105. - Update to 1.2.1
  106. * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
  107. - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
  108. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
  109. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  110. * Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 1.2.0-2
  111. - Rebuilt for python 3.5
  112. * Mon Aug 24 2015 Julien Enselme <jujens@jujens.eu> - 1.2.0-1
  113. - Initial package