%define debug_package %{nil} BuildArch: noarch Name: vpn-slice Version: 0.16.1 Release: 1%{?dist} Summary: Replacement for the vpnc-script used by OpenConnect or VPNC License: GPL-3.0 URL: https://github.com/dlenski/vpn-slice Provides: vpn-slice Source0: https://github.com/dlenski/vpn-slice/archive/refs/tags/v%{version}.tar.gz BuildRequires: python3-devel BuildRequires: python3-setuptools %if 0%{?rhel} == 7 Requires: python36-dns Requires: python36-setproctitle %endif %description vpn-slice is a replacement for the vpnc-script used by OpenConnect or VPNC. Instead of trying to copy the behavior of standard corporate VPN clients, which normally reroute all your network traffic through the VPN, this one tries to minimize your contact with an intrusive VPN. This is also known as a split-tunnel VPN, since it splits your traffic between the VPN tunnel and your normal network interfaces. %prep %autosetup %build %py3_build %install %py3_install %files %license LICENSE.txt %{python3_sitelib}/vpn_slice-*.egg-info/ %{python3_sitelib}/vpn_slice/ %{_bindir}/vpn-slice %changelog * Sat Jan 8 2022 Michael Lampe - 0.16.1-1 - update to 0.16.1 * Fri Jul 23 2021 Michael Lampe - 0.15-1 - initial build