%global modname precis-i18n %global sum Internationalised Usernames and Passwords %define _name precis_i18n Name: python-precis-i18n Version: 1.0 Release: 1%{?dist} Summary: %{sum} License: MIT Group: Development/Languages/Python URL: https://github.com/byllyfish/precis_i18n Source: https://files.pythonhosted.org/packages/source/p/%{_name}/%{_name}-%{version}.tar.gz BuildRequires: python3-devel BuildArch: noarch %global desc The PRECIS framework makes internationalised user names and\ passwords safer for use by applications. PRECIS profiles transform\ unicode strings into a canonical form, suitable for comparison.\ \ This module implements the PRECIS Framework as described in:\ - PRECIS Framework: Preparation, Enforcement, and Comparison of\ Internationalized Strings in Application Protocols (RFC 8264).\ - Preparation, Enforcement, and Comparison of Internationalized\ Strings Representing Usernames and Passwords (RFC 8265).\ - Preparation, Enforcement, and Comparison of Internationalized\ Strings Representing Nicknames (RFC 8266). %description %{desc} %package -n python3-%{modname} Summary: %{sum} %{?python_provide:%python_provide python3-%{modname}} %description -n python3-%{modname} %{desc} %prep %setup -q -n %{_name}-%{version} %build %{py3_build} %install %{py3_install} %files -n python3-%{modname} %license LICENSE.txt %doc CHANGELOG.rst README.rst %{python3_sitelib}/%{_name}/ %{python3_sitelib}/%{_name}-* %changelog * Thu Nov 29 2018 Christoph Erhardt - 1.0-1 - Initial Fedora packaging.