Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package desktopfolder for openSUSE:Factory checked in at 2024-12-06 14:26:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/desktopfolder (Old) and /work/SRC/openSUSE:Factory/.desktopfolder.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "desktopfolder" Fri Dec 6 14:26:15 2024 rev:16 rq:1228614 version:1.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/desktopfolder/desktopfolder.changes 2022-02-21 17:47:33.959611277 +0100 +++ /work/SRC/openSUSE:Factory/.desktopfolder.new.28523/desktopfolder.changes 2024-12-06 14:26:25.188583611 +0100 @@ -1,0 +2,9 @@ +Sun Nov 17 21:33:01 UTC 2024 - Richard Rahl <rra...@opensuse.org> + +- update spec file for Leap 16.0: + * remove %suse_update_desktop_file + * remove lang package from recommends + * use autosetup + * mv autostart desktop file to /usr/etc + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ desktopfolder.spec ++++++ --- /var/tmp/diff_new_pack.o3ftzv/_old 2024-12-06 14:26:25.700605185 +0100 +++ /var/tmp/diff_new_pack.o3ftzv/_new 2024-12-06 14:26:25.704605353 +0100 @@ -1,7 +1,7 @@ # # spec file for package desktopfolder # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,14 @@ # +%define appid com.github.spheras.desktopfolder Name: desktopfolder Version: 1.1.3 Release: 0 Summary: Tool for organizing the desktop with panels, notes and photos License: GPL-3.0-or-later -Group: System/GUI/Other -URL: https://github.com/spheras/desktopfolder/ -Source: https://github.com/spheras/desktopfolder/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://github.com/spheras/desktopfolder +Source: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM -- https://github.com/spheras/desktopfolder/pull/328 Patch0: 000-drop-gsettings-schema.patch # PATCH-FIX-UPSTREAM -- https://github.com/spheras/desktopfolder/pull/328 @@ -35,7 +35,6 @@ BuildRequires: intltool BuildRequires: meson >= 0.40.0 BuildRequires: pkgconfig -BuildRequires: update-desktop-files BuildRequires: vala BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gdk-pixbuf-2.0) @@ -48,7 +47,6 @@ BuildRequires: pkgconfig(gtksourceview-3.0) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libwnck-3.0) -Recommends: %{name}-lang %description A program with which the desktop can be organized with panels that hold things. @@ -61,8 +59,7 @@ %lang_package %prep -%setup -q -%autopatch -p1 +%autosetup -p1 %build %meson @@ -70,32 +67,32 @@ %install %meson_install +%find_lang %{appid} # https://github.com/spheras/desktopfolder/issues/69 -find %{buildroot} -name \*.??g -exec chmod 0644 {} \; +find %{buildroot} -name '*.svg' -exec chmod 0644 {} \; -%{suse_update_desktop_file -r \ - %{buildroot}%{_datadir}/applications/com.github.spheras.desktopfolder.desktop GTK Utility DesktopSettings} -%find_lang com.github.spheras.desktopfolder %{name}.lang -%fdupes %{buildroot}/%{_datadir} - -# Add OnlyShowIn key -if ! grep OnlyShowIn.*Pantheon %{buildroot}%{_sysconfdir}/xdg/autostart/com.github.spheras.desktopfolder-autostart.desktop; then - sed -i '$aOnlyShowIn=Pantheon;' %{buildroot}%{_sysconfdir}/xdg/autostart/com.github.spheras.desktopfolder-autostart.desktop -else - 'This entry already exists' 2> /dev/null -fi -# +%if 0%{?suse_version} >= 1600 +mkdir -p %{buildroot}%{_distconfdir}/xdg/autostart +mv %{buildroot}%{_sysconfdir}/xdg/autostart/%{appid}-autostart.desktop \ + %{buildroot}%{_distconfdir}/xdg/autostart/%{appid}-autostart.desktop +%endif + +%fdupes -s %{buildroot} %files -%license LICENSE* -%doc AUTHORS* README.md -%{_bindir}/com.github.spheras.desktopfolder -%{_datadir}/applications/com.github.spheras.desktopfolder.desktop -%{_datadir}/glib-2.0/schemas/com.github.spheras.desktopfolder.gschema.xml -%{_datadir}/icons/hicolor/*/apps/com.github.spheras.desktopfolder.??g -%{_datadir}/metainfo/com.github.spheras.desktopfolder.appdata.xml -%{_sysconfdir}/xdg/autostart/com.github.spheras.desktopfolder-autostart.desktop +%license LICENSE +%doc AUTHORS.md README.md +%{_bindir}/%{appid} +%{_datadir}/applications/%{appid}.desktop +%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml +%{_datadir}/icons/hicolor/*/apps/%{appid}.svg +%{_datadir}/metainfo/%{appid}.appdata.xml +%if 0%{?suse_version} >= 1600 +%{_distconfdir}/xdg/autostart/%{appid}-autostart.desktop +%else +%{_sysconfdir}/xdg/autostart/%{appid}-autostart.desktop +%endif -%files lang -f %{name}.lang +%files lang -f %{appid}.lang