%define repo_name protonvpn-cli-ng Name: protonvpn-cli Version: 2.2.0 Release: 1%{?dist} Summary: Linux command-line client for ProtonVPN written in Python License: GPLv3 URL: https://github.com/ProtonVPN/protonvpn-cli-ng Source: %{url}/archive/v%{version}/%{repo_name}-%{version}.tar.gz Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch Vendor: Proton Technologies AG BuildRequires: python3 BuildRequires: python3-setuptools Requires: python3 Requires: openvpn Recommends: dialog %description The official Linux CLI for ProtonVPN. ProtonVPN-CLI is a full rewrite of the bash protonvpn-cli in Python, which adds more features and functionality with the purpose of improving readability, speed and reliability. ProtonVPN-CLI features a DNS Leak Protection feature, which makes sure that your online traffic uses ProtonVPN's DNS Servers. This prevents third parties (like your ISP) from being able to see your DNS queries (and, therefore, your browsing history). For further information and a usage guide, please view the project page: https://github.com/ProtonVPN/protonvpn-cli-ng %prep %setup -q -n %{repo_name}-%{version} -n %{repo_name}-%{version} %build python3 setup.py build %install python3 setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %changelog * Wed Dec 25 2019 Justin W. Flory - 2.2.0-1 - First protonvpn-cli package