python-snowballstemmer: openEuler init
This commit is contained in:
commit
c093b5dbab
61
python-snowballstemmer.spec
Normal file
61
python-snowballstemmer.spec
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
Name: python-snowballstemmer
|
||||||
|
Version: 1.2.1
|
||||||
|
Release: 8
|
||||||
|
Summary: This package provides 16 stemmers for 15 languages generated from Snowball algorithms
|
||||||
|
License: BSD
|
||||||
|
URL: https://pypi.python.org/pypi/snowballstemmer
|
||||||
|
Source0: https://pypi.python.org/packages/20/6b/d2a7cb176d4d664d94a6debf52cd8dbae1f7203c8e42426daa077051d59c/snowballstemmer-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: python2-devel python3-devel
|
||||||
|
|
||||||
|
%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 python2-snowballstemmer
|
||||||
|
Summary: Provides 16 stemmer algorithms generated from Snowball algorithms
|
||||||
|
BuildArch: noarch
|
||||||
|
%{?python_provide:%python_provide python2-snowballstemmer}
|
||||||
|
|
||||||
|
%description -n python2-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.
|
||||||
|
|
||||||
|
%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
|
||||||
|
%build
|
||||||
|
%py2_build
|
||||||
|
%py3_build
|
||||||
|
%install
|
||||||
|
%py2_install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
%files -n python2-snowballstemmer
|
||||||
|
%doc LICENSE.rst README.rst
|
||||||
|
%{python2_sitelib}/snowballstemmer-%{version}-py%{python2_version}.egg-info
|
||||||
|
%{python2_sitelib}/snowballstemmer/
|
||||||
|
|
||||||
|
%files -n python3-snowballstemmer
|
||||||
|
%doc LICENSE.rst README.rst
|
||||||
|
%{python3_sitelib}/snowballstemmer-%{version}-py%{python3_version}.egg-info
|
||||||
|
%{python3_sitelib}/snowballstemmer/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Nov 25 2019 Ling Yang <lingyang2@huawei.com> - 1.2.1-8
|
||||||
|
- Package init
|
||||||
BIN
snowballstemmer-1.2.1.tar.gz
Normal file
BIN
snowballstemmer-1.2.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user