Name: matrix-synapse-shared-secret-auth Version: 2.0.3 Release: %autorelease -b 2 Summary: Shared Secret Authenticator password provider module for Matrix Synapse %global subname python3-shared-secret-authenticator %global common_description %{expand: Shared Secret Authenticator is a password provider module that plugs into your Matrix Synapse homeserver. The goal is to allow an external system to send a specially-crafted login request to Matrix Synapse and be able to obtain login credentials for any user on the homeserver.} License: AGPL-3.0-or-later URL: https://github.com/devture/%{name} Source: https://github.com/devture/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: python3-devel Requires: %{subname} = %{version}-%{release} BuildArch: noarch %description %{common_description} %package -n %{subname} Summary: %{summary} %description -n %{subname} %{common_description} %prep %autosetup -v -p1 -n %{name}-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files shared_secret_authenticator %check %pyproject_check_import %files %doc README.md %files -n %{subname} -f %{pyproject_files} %license LICENSE %changelog %autochangelog