2024-01-05 16:41:31 +01:00
|
|
|
Name: python-snowballstemmer
|
2024-01-05 16:41:31 +01:00
|
|
|
Version: 2.2.0
|
2024-01-05 16:41:31 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 16:41:31 +01:00
|
|
|
Summary: Snowball stemming library collection for Python
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:41:31 +01:00
|
|
|
URL: https://pypi.org/project/snowballstemmer/
|
2024-01-05 16:41:31 +01:00
|
|
|
Source: https://pypi.debian.net/snowballstemmer/snowballstemmer-%{version}.tar.gz
|
2024-01-05 16:41:31 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:41:31 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 16:41:31 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides 16 stemmer algorithms (15 + Poerter English stemmer) generated from Snowball algorithms.
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n snowballstemmer-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:41:31 +01:00
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:41:31 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:41:31 +01:00
|
|
|
%dir %{python_sitearch}/snowballstemmer-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/snowballstemmer-%{version}-py*.egg-info/*
|
2024-01-05 16:41:31 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:41:31 +01:00
|
|
|
* Thu Mar 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
* Wed Nov 17 2021 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
* Sat Apr 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
* Sat Jan 23 2021 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
* Sat Oct 05 2019 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
* Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
|
|
|
|
- rebuilt with py36 target
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
* Fri Dec 25 2015 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:41:31 +01:00
|
|
|
* Thu Jan 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- package created using the webbuild interface
|