python-snowballstemmer-vl.spec 3.5 KB

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