diff --git a/syncthing.changes b/syncthing.changes index 612474d..02c934f 100644 --- a/syncthing.changes +++ b/syncthing.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 10 11:54:51 UTC 2023 - Jakob Lorenz + +- Adding a desktop file for the Web UI + ------------------------------------------------------------------- Tue Mar 7 21:19:00 UTC 2023 - Marius Kittler diff --git a/syncthing.spec b/syncthing.spec index d4505a1..ff874ec 100644 --- a/syncthing.spec +++ b/syncthing.spec @@ -30,6 +30,7 @@ Patch0: harden_strelaysrv.service.patch Patch1: harden_syncthing-resume.service.patch Patch2: harden_syncthing@.service.patch BuildRequires: systemd-rpm-macros +BuildRequires: update-desktop-files BuildRequires: golang(API) >= 1.14 BuildRequires: pkgconfig(systemd) %{?systemd_ordering} @@ -104,6 +105,8 @@ install -Dpm 0644 etc/linux-systemd/user/%{name}.service \ %{buildroot}%{_userunitdir}/%{name}.service %endif +%suse_update_desktop_file -i "syncthing-ui" + %pre %service_add_pre %{name}-resume.service @@ -145,6 +148,7 @@ getent passwd strelaysrv >/dev/null || \ %license LICENSE %doc AUTHORS CONDUCT.md CONTRIBUTING.md README.md %{_bindir}/%{name} +%{_datadir}/applications/syncthing-ui.desktop %{_unitdir}/%{name}@.service %{_unitdir}/%{name}-resume.service %if 0%{?suse_version} >= 1500 || 0%{?sle_version} > 120300