# Created by pyp2rpm-3.3.8 %global pypi_name jarowinkler %global pypi_version 1.2.1 Name: python-%{pypi_name} Version: %{pypi_version} Release: %mkrel 1 Summary: library for fast approximate string matching using Jaro and Jaro-Winkler similarity Group: Development/Python License: MIT URL: https://github.com/maxbachmann/JaroWinkler Source0: %{pypi_name}-%{pypi_version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description JaroWinkler is a library to calculate the Jaro and Jaro-Winkler similarity. It is easy to use, is far more performant than all alternatives and is designed to integrate seemingless with RapidFuzz. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} JaroWinkler is a library to calculate the Jaro and Jaro-Winkler similarity. It is easy to use, is far more performant than all alternatives and is designed to integrate seemingless with RapidFuzz. %prep %autosetup -n %{pypi_name}-%{pypi_version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE extern/jarowinkler-cpp/LICENSE %doc README.md %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info %changelog * Mon Aug 15 2022 kekepower <kekepower> 1.2.1-1.mga9 + Revision: 1878083 - imported package python-jarowinkler