5a3f574
%global         github_name linux-cli-community
5688be4
%global         srcname protonvpn_cli
5688be4
5688be4
Name:           protonvpn-cli
5a3f574
Version:        2.2.11
6aa8613
Release:        7%{?dist}
5688be4
Summary:        Linux command-line client for ProtonVPN written in Python
5688be4
5688be4
License:        GPLv3
53c88a9
URL:            https://github.com/Rafficer/%{github_name}
5688be4
Source:         %{url}/archive/v%{version}/%{github_name}-%{version}.tar.gz
5688be4
5688be4
BuildArch:      noarch
5688be4
BuildRequires:  python3
5688be4
BuildRequires:  python3-devel
aa98770
BuildRequires:  python3-setuptools
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
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
6aa8613
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-7
6aa8613
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
6aa8613
8d10708
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-6
8d10708
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
8d10708
be256f6
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.2.11-5
be256f6
- Rebuilt for Python 3.11
be256f6
8b39230
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-4
8b39230
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
8b39230
53c88a9
* Sun Oct 24 2021 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.11-3
53c88a9
- Updated for new git source URL
53c88a9
a83af44
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.11-2
a83af44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a83af44
5a3f574
* Sun Jul 18 2021 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.11-1
5a3f574
- Update to latest upstream
5a3f574
5929e61
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.2.6-2
5929e61
- Rebuilt for Python 3.10
5929e61
Alexandru Cheltuitor 045c40e
* Tue Feb 16 2021 Alexandru Cheltuitor <acrandom@pm.me> - 2.2.6-1
Alexandru Cheltuitor 045c40e
- Enhancement: Properly specifies versioning when contacting Proton API
Alexandru Cheltuitor 045c40e
399c9f8
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-3
399c9f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
399c9f8
91fc39d
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.4-2
91fc39d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
91fc39d
2a61957
* Mon Jun 01 2020 Justin W. Flory <jflory7@fedoraproject.org> - 2.2.4-1
2a61957
- Enhancement: Option to define API domain via config
2a61957
- Enhancement: Improve wording on connection failure
2a61957
- Bug fix: Error during connection when IPv6 is disabled system-wide
2a61957
- Bug fix: Unable to change DNS in containers
2a61957
- Bug fix: pgrep not working on some distros
2a61957
- Bug fix: Failing to connect when choosing a server via dialog menu
2a61957
31fce59
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 2.2.2-8
31fce59
- Rebuilt for Python 3.9
31fce59
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