python-snowballstemmer-vl.spec 3.6 KB

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