%global forgeurl https://github.com/dlenski/gp-saml-gui %global commit 21cce40334791a533c7a263fe367f0ddc072d8fb %global project gp-saml-gui # there is no debuginfo %global debug_package %{nil} %forgemeta Name: python-%{project} Version: 0 Release: %autorelease Summary: Helper script for login to GlobalProtect VPN instances which use SAML auth Url: %{forgeurl} License: GPLv3 Source0: %{forgesource} Patch0: 0001-install-into-expected-man-dir.patch BuildRequires: python3-devel BuildRequires: gtk3-devel BuildRequires: webkit2gtk3-devel Requires: openconnect %description This is a helper script to allow you to interactively login to a GlobalProtect VPN that uses SAML authentication, so that you can subsequently connect with OpenConnect. (The GlobalProtect protocol is supported in OpenConnect v8.0 or newer; v8.06+ is recommended.) Interactive login is, unfortunately, sometimes a necessary alternative to automated login via scripts such as zdave/openconnect-gp-okta. This script is known to work with many GlobalProtect VPNs using the major single-sign-on (SSO) providers: Okta (sign-in URLs typically https://.okta.com/login/*) Microsoft (sign-in URLs typically https://login.microsoftonline.com/*) %package -n python3-%{project} Summary: %{summary} %description -n python3-%{project} %_description %prep %forgesetup -v %autosetup -n %{project}-%{commit} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l gp_saml_gui %files -n python3-%{project} -f %{pyproject_files} %{_bindir}/gp-saml-gui %{_mandir}/gp-saml-gui.8 %changelog %autochangelog