5688be4
%global         github_name protonvpn-cli-ng
5688be4
%global         srcname protonvpn_cli
5688be4
5688be4
Name:           protonvpn-cli
5688be4
Version:        2.2.2
5688be4
Release:        7%{?dist}
5688be4
Summary:        Linux command-line client for ProtonVPN written in Python
5688be4
5688be4
License:        GPLv3
5688be4
URL:            https://github.com/ProtonVPN/%{github_name}
5688be4
Source:         %{url}/archive/v%{version}/%{github_name}-%{version}.tar.gz
5688be4
5688be4
BuildArch:      noarch
5688be4
BuildRequires:  python3
5688be4
BuildRequires:  python3-devel
5688be4
5688be4
Requires:       openvpn
5688be4
%if 0%{?fedora} || 0%{?.el8}
5688be4
Recommends:     dialog
5688be4
Recommends:     NetworkManager-openvpn
5688be4
Suggests:       NetworkManager-openvpn-gnome
5688be4
%else
5688be4
Requires:       dialog
5688be4
%endif
5688be4
5688be4
%description
5688be4
The official Linux CLI for ProtonVPN.
5688be4
5688be4
ProtonVPN-CLI is a full rewrite of the bash protonvpn-cli in Python, which adds
5688be4
more features and functionality with the purpose of improving readability,
5688be4
speed and reliability.
5688be4
5688be4
ProtonVPN-CLI features a DNS Leak Protection feature, which makes sure that
5688be4
your online traffic uses ProtonVPN's DNS Servers. This prevents third parties
5688be4
(like your ISP) from being able to see your DNS queries (and, therefore, your
5688be4
browsing history).
5688be4
5688be4
For further information and a usage guide, please view the project page:
5688be4
5688be4
https://github.com/ProtonVPN/protonvpn-cli-ng
5688be4
5688be4
5688be4
%prep
5688be4
%autosetup -n %{github_name}-%{version}
5688be4
5688be4
%build
5688be4
%py3_build
5688be4
5688be4
%install
5688be4
%py3_install
5688be4
5688be4
%files
5688be4
%license LICENSE
5688be4
%doc README.md
5688be4
%{python3_sitelib}/%{srcname}-*.egg-info/
5688be4
%{python3_sitelib}/%{srcname}/
5688be4
%{_bindir}/protonvpn
5688be4
5688be4
5688be4
%changelog
5688be4
* Fri Mar 27 2020 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.2-7
5688be4
- Approved package for official Fedora repositories
5688be4
- Remove Requires handled by Python dependency generator (BZ #1809814)
5688be4
5688be4
* Fri Mar 27 2020 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.2-6
5688be4
- Remove python3-dialog as dependency (already Required automatically)
5688be4
5688be4
* Mon Mar 16 2020 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.2-5
5688be4
- Remove tags not used in Fedora packages
5688be4
- Add missing dependencies tracked in upstream requirements.txt
5688be4
5688be4
* Tue Mar 03 2020 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.2-4
5688be4
- Adhere to Fedora Packaging Guidelines via fedora-review
5688be4
5688be4
* Wed Feb 26 2020 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.2-1
5688be4
- Update to latest upstream
5688be4
5688be4
* Mon Feb 3 2020 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.1-1
5688be4
- Update to latest upstream
5688be4
5688be4
* Wed Dec 25 2019 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.0-1
5688be4
- First protonvpn-cli package