%global pypi_name SecretStorage %global package_name secretstorage Name: python-%{pypi_name} Version: 3.3.3 Release: 1%{?dist} Summary: Python bindings to FreeDesktop.org Secret Service API # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: BSD URL: https://github.com/mitya57/secretstorage Source0: https://files.pythonhosted.org/packages/source/s/%{package_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-wheel BuildRequires: pyproject-rpm-macros %description %{summary} %package -n python%{python3_pkgversion}-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} Requires: python%{python3_pkgversion}-jeepney Requires: python%{python3_pkgversion}-cryptography %description -n python%{python3_pkgversion}-%{pypi_name} %{summary} %prep set -ex %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info # rm -rf %{pypi_name}.egg-info %build set -ex %pyproject_wheel %install set -ex %pyproject_install %files -n python%{python3_pkgversion}-%{pypi_name} %{python3_sitelib}/%{package_name} %{python3_sitelib}/%{pypi_name}-%{version}.dist-info/ %changelog * Wed Jul 19 2023 Odilon Sousa - 3.3.3-1 - Initial package.