add: proton-vpn (#9277)

Signed-off-by: Owen-sz <owen@fyralabs.com>
This commit is contained in:
Owen Zimmerman
2026-01-17 17:37:41 -06:00
committed by GitHub
parent 305cb22bf3
commit a43a3311e0
3 changed files with 73 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "proton-vpn.spec"
}
}
+66
View File
@@ -0,0 +1,66 @@
Name: proton-vpn-gtk-app
Version: 4.13.1
Release: 1%?dist
Summary: Official ProtonVPN Linux app
License: GPL-3.0-only
URL: https://protonvpn.com/download-linux
Source0: https://github.com/ProtonVPN/proton-vpn-gtk-app/archive/refs/tags/v%version.tar.gz
Source1: https://github.com/flathub/com.protonvpn.www/blob/master/com.protonvpn.www.metainfo.xml
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-build
BuildRequires: python3-wheel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: python3-gobject
BuildRequires: python3-dbus
BuildRequires: python3-packaging
BuildRequires: gtk3
BuildRequires: libnotify
BuildRequires: python3-proton-vpn-api-core
BuildRequires: librsvg2
Requires: gtk3
Requires: libnotify
Requires: python3-gobject
Requires: python3-dbus
Requires: python3-packaging
Requires: python3-proton-vpn-api-core
Requires: librsvg2
Provides: protonvpn
Provides: proton-vpn
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
The Proton VPN GTK app is intended for every Proton VPN service user,
it provides full access to all functionalities available to authenticated users,
with the user signup process handled on the website.
%prep
%autosetup -n %{name}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files proton
install -Dm644 rpmbuild/SOURCES/proton-vpn-logo.svg %{buildroot}%{_scalableiconsdir}/proton-vpn-logo.svg
install -Dm644 %{SOURCE1} %{buildroot}%{_metainfodir}/com.protonvpn.www.metainfo.xml
# Match metainfo
install -Dm644 rpmbuild/SOURCES/proton.vpn.app.gtk.desktop %{buildroot}%{_appsdir}/com.protonvpn.www.desktop
%files -f %{pyproject_files}
%doc README.md CONTRIBUTING.md CODEOWNERS
%license LICENSE COPYING.md
%{_bindir}/protonvpn-app
%{_appsdir}/com.protonvpn.www.desktop
%{_scalableiconsdir}/proton-vpn-logo.svg
%{_metainfodir}/com.protonvpn.www.metainfo.xml
%changelog
* Sat Jan 17 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(gh_tag("ProtonVPN/proton-vpn-gtk-app"));