# Created by pyp2rpm-3.3.8 %global pypi_name vpn-slice %global pypi_version 0.16.1 Name: python-%{pypi_name} Version: %{pypi_version} Release: 2%{?dist} Summary: vpnc-script replacement for easy split-tunnel VPN setup License: GPL v3 or later URL: https://github.com/dlenski/vpn-slice Source0: https://files.pythonhosted.org/packages/source/v/%{pypi_name}/%{pypi_name}-%{pypi_version}.tar.gz BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools %description vpn-slice [![License: GPL v3]( [![Build Status]( [![PyPI]( [![Homebrew]( of Contents * [Introduction](introduction) * [Who this is for](who-this-is-for) * [Requirements](requirements) %package -n python%{python3_pkgversion}-%{pypi_name} Summary: vpnc-script replacement for easy split-tunnel VPN setup Requires: python%{python3_pkgversion}-dns Requires: python%{python3_pkgversion}-setproctitle Requires: python%{python3_pkgversion}-setuptools %description -n python%{python3_pkgversion}-%{pypi_name} vpn-slice [![License: GPL v3]( [![Build Status]( [![PyPI]( [![Homebrew]( of Contents * [Introduction](introduction) * [Who this is for](who-this-is-for) * [Requirements](requirements) %prep %autosetup -n %{pypi_name}-%{pypi_version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %{__python3} setup.py build %install %{__python3} setup.py install --skip-build --root %{buildroot} %files -n python%{python3_pkgversion}-%{pypi_name} %doc README.md %{_bindir}/vpn-slice %{python3_sitelib}/vpn_slice %{python3_sitelib}/vpn_slice-%{pypi_version}-py%{python3_version}.egg-info %changelog * Fri Mar 10 2023 Vadim Raskhozhev - 0.16.1-2 - Fixed the automatically generated deps * Fri Mar 10 2023 Vadim Raskhozhev - 0.16.1-1 - Initial package.