[client] add xdg-utils dependency to UI packages

The UI shells out to xdg-open at runtime to open links and reveal
files in the file manager, but neither the deb nor the rpm declared
xdg-utils, so it could be missing on minimal installs. The package
is named xdg-utils on Debian/Ubuntu, Fedora and OpenSUSE alike.
This commit is contained in:
Zoltán Papp
2026-06-19 07:58:29 +02:00
parent 794778fcd9
commit 742e357252

View File

@@ -90,6 +90,8 @@ nfpms:
- netbird
- libgtk-4-1
- libwebkitgtk-6.0-4
# xdg-open is invoked at runtime to open links and reveal files.
- xdg-utils
- maintainer: Netbird <dev@netbird.io>
description: Netbird client UI.
@@ -116,6 +118,8 @@ nfpms:
# RHEL 10 (EPEL) all Provide these, so one RPM resolves everywhere they exist.
- libgtk-4.so.1()(64bit)
- libwebkitgtk-6.0.so.4()(64bit)
# xdg-open is invoked at runtime to open links and reveal files.
- xdg-utils
rpm:
signature:
key_file: '{{ if index .Env "GPG_RPM_KEY_FILE" }}{{ .Env.GPG_RPM_KEY_FILE }}{{ end }}'