2019-11-30 11:18:17 +08:00
|
|
|
Name: python-snowballstemmer
|
2020-07-30 22:30:13 +08:00
|
|
|
Version: 2.0.0
|
2020-10-29 19:13:19 +08:00
|
|
|
Release: 2
|
2019-11-30 11:18:17 +08:00
|
|
|
Summary: This package provides 16 stemmers for 15 languages generated from Snowball algorithms
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://pypi.python.org/pypi/snowballstemmer
|
2020-07-30 22:30:13 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/21/1b/6b8bbee253195c61aeaa61181bb41d646363bdaa691d0b94b304d4901193/snowballstemmer-%{version}.tar.gz
|
2019-11-30 11:18:17 +08:00
|
|
|
BuildArch: noarch
|
2020-10-29 19:13:19 +08:00
|
|
|
BuildRequires: python3-devel
|
2019-11-30 11:18:17 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module uses it to accelerate for PyStemmer. It includes following language
|
|
|
|
|
algorithms: Danish, Dutch, English(Standard, Porter), Finnish, French, German,
|
|
|
|
|
Hungarian, Italian, Norwegian, Portuguese, Romanian, Russian, Spanish, Swedish,
|
|
|
|
|
Turkis.
|
|
|
|
|
|
|
|
|
|
%package -n python3-snowballstemmer
|
|
|
|
|
Summary: Provides 16 stemmer algorithms generated from Snowball algorithms
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%{?python_provide:%python_provide python3-snowballstemmer}
|
|
|
|
|
|
|
|
|
|
%description -n python3-snowballstemmer
|
|
|
|
|
This module uses it to accelerate for PyStemmer. It includes following language
|
|
|
|
|
algorithms: Danish, Dutch, English(Standard, Porter), Finnish, French, German,
|
|
|
|
|
Hungarian, Italian, Norwegian, Portuguese, Romanian, Russian, Spanish, Swedish,
|
|
|
|
|
Turkis.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n snowballstemmer-%{version}
|
|
|
|
|
rm -rf snowballstemmer.egg-info
|
2020-07-30 22:30:13 +08:00
|
|
|
|
2019-11-30 11:18:17 +08:00
|
|
|
%build
|
|
|
|
|
%py3_build
|
2020-07-30 22:30:13 +08:00
|
|
|
|
2019-11-30 11:18:17 +08:00
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%files -n python3-snowballstemmer
|
2020-07-30 22:30:13 +08:00
|
|
|
%license COPYING
|
|
|
|
|
%doc README.rst
|
2019-11-30 11:18:17 +08:00
|
|
|
%{python3_sitelib}/snowballstemmer-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
%{python3_sitelib}/snowballstemmer/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-10-29 19:13:19 +08:00
|
|
|
* Wed Oct 21 2020 jinzhimin <jinzhimin2@huawei.com> - 2.0.0-2
|
|
|
|
|
- remove python2-snowballstemmer subpackage
|
|
|
|
|
|
2020-07-30 22:30:13 +08:00
|
|
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.0.0-1
|
|
|
|
|
- update to 2.0.0 from upstream
|
|
|
|
|
|
2019-11-30 11:18:17 +08:00
|
|
|
* Mon Nov 25 2019 Ling Yang <lingyang2@huawei.com> - 1.2.1-8
|
|
|
|
|
- Package init
|