From 5688be4f3e9a5c3ce0746d80f2bfb72ea011dc54 Mon Sep 17 00:00:00 2001 From: Justin W. Flory Date: Mar 27 2020 19:36:10 +0000 Subject: Initial commit Signed-off-by: Justin W. Flory --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b62c18a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/protonvpn-cli-ng-2.2.2.tar.gz diff --git a/README.md b/README.md index 55f68c8..7a0a884 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ -# protonvpn-cli +protonvpn-cli +============= -Linux command-line client for ProtonVPN written in Python \ No newline at end of file +Linux command-line client for [ProtonVPN](https://protonvpn.com/) written in Python + + +## About + +ProtonVPN-CLI is a full rewrite of the [bash protonvpn-cli](https://github.com/ProtonVPN/protonvpn-cli/blob/master/protonvpn-cli.sh) in Python, which adds more features and functionality with the purpose of improving readability, speed and reliability. diff --git a/protonvpn-cli.spec b/protonvpn-cli.spec new file mode 100644 index 0000000..c4cc989 --- /dev/null +++ b/protonvpn-cli.spec @@ -0,0 +1,82 @@ +%global github_name protonvpn-cli-ng +%global srcname protonvpn_cli + +Name: protonvpn-cli +Version: 2.2.2 +Release: 7%{?dist} +Summary: Linux command-line client for ProtonVPN written in Python + +License: GPLv3 +URL: https://github.com/ProtonVPN/%{github_name} +Source: %{url}/archive/v%{version}/%{github_name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3 +BuildRequires: python3-devel + +Requires: openvpn +%if 0%{?fedora} || 0%{?.el8} +Recommends: dialog +Recommends: NetworkManager-openvpn +Suggests: NetworkManager-openvpn-gnome +%else +Requires: dialog +%endif + +%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 +%autosetup -n %{github_name}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files +%license LICENSE +%doc README.md +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}/ +%{_bindir}/protonvpn + + +%changelog +* Fri Mar 27 2020 Justin W. Flory - 2.2.2-7 +- Approved package for official Fedora repositories +- Remove Requires handled by Python dependency generator (BZ #1809814) + +* Fri Mar 27 2020 Justin W. Flory - 2.2.2-6 +- Remove python3-dialog as dependency (already Required automatically) + +* Mon Mar 16 2020 Justin W. Flory - 2.2.2-5 +- Remove tags not used in Fedora packages +- Add missing dependencies tracked in upstream requirements.txt + +* Tue Mar 03 2020 Justin W. Flory - 2.2.2-4 +- Adhere to Fedora Packaging Guidelines via fedora-review + +* Wed Feb 26 2020 Justin W. Flory - 2.2.2-1 +- Update to latest upstream + +* Mon Feb 3 2020 Justin W. Flory - 2.2.1-1 +- Update to latest upstream + +* Wed Dec 25 2019 Justin W. Flory - 2.2.0-1 +- First protonvpn-cli package diff --git a/sources b/sources new file mode 100644 index 0000000..e69ae58 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (protonvpn-cli-ng-2.2.2.tar.gz) = 892aad9e509eef978bb3d4c044f00f04d87ce35cb3d5c3a69129b7a99d50a46af84c9931d6d7249690ef60d7ea63ff01e09c4dd24c0a57eb8497bfc1371bd2d7