From daf37528cf5493578c1f86bcaf7c3d762200aa14 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 17 Mar 2026 21:00:58 -0700 Subject: [PATCH] fix: helium-browser-bin .desktop file, use %desktop_file_install (#10696) (#10697) --- anda/apps/helium-browser-bin/helium-browser-bin.spec | 8 ++++---- .../{net.imput.helium.desktop => helium.desktop} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename anda/apps/helium-browser-bin/{net.imput.helium.desktop => helium.desktop} (100%) diff --git a/anda/apps/helium-browser-bin/helium-browser-bin.spec b/anda/apps/helium-browser-bin/helium-browser-bin.spec index 1335cf1e81..d957cc7f85 100644 --- a/anda/apps/helium-browser-bin/helium-browser-bin.spec +++ b/anda/apps/helium-browser-bin/helium-browser-bin.spec @@ -12,7 +12,7 @@ Name: helium-browser-bin Version: 0.10.5.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Private, fast, and honest web browser based on Chromium URL: https://helium.computer @@ -21,7 +21,7 @@ License: GPL-3.0-only AND BSD-3-Clause Source0: https://github.com/imputnet/helium-linux/releases/download/%{version}/helium-%{version}-%{arch}_linux.tar.xz Source1: https://github.com/imputnet/helium-linux/archive/refs/tags/%{version}.tar.gz Source2: net.imput.helium.metainfo.xml -Source3: net.imput.helium.desktop +Source3: helium.desktop ExclusiveArch: x86_64 aarch64 @@ -47,7 +47,7 @@ tar --strip-components=1 -zxvf %{SOURCE1} install -dm755 %{buildroot}%{_libdir}/%{name} cp -a * %{buildroot}%{_libdir}/%{name}/ -install -Dm644 %{SOURCE3} %{buildroot}%{_appsdir}/%{appid}.desktop +%desktop_file_install %{S:3} install -Dm644 product_logo_256.png %{buildroot}%{_hicolordir}/256x256/apps/%{appid}.png @@ -111,7 +111,7 @@ chmod 755 %{buildroot}%{_bindir}/%{name} %{_libdir}/%{name}/ # shebang reasons %attr(0755,root,root) %{_bindir}/%{name} -%{_appsdir}/%{appid}.desktop +%{_appsdir}/helium.desktop %{_hicolordir}/256x256/apps/%{appid}.png %{_metainfodir}/%{appid}.metainfo.xml diff --git a/anda/apps/helium-browser-bin/net.imput.helium.desktop b/anda/apps/helium-browser-bin/helium.desktop similarity index 100% rename from anda/apps/helium-browser-bin/net.imput.helium.desktop rename to anda/apps/helium-browser-bin/helium.desktop