## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec 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 ## START: Generated by rpmautospec * Sat Nov 23 2024 Antoine Damhet - 2.0.3-4 - Rebuild for python bump * Tue Oct 24 2023 Antoine Damhet - 2.0.3-3 - Ship LICENSE file * Thu Oct 19 2023 Antoine Damhet - 2.0.3-2 - Rework package to respect packaging guidelines * Sun Oct 8 2023 Antoine Damhet - 2.0.3-1 - Bump release * Sun Jul 3 2022 Antoine Damhet - 2.0.2-1 - Initial Fedora package ## END: Generated by rpmautospec