Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package palette for openSUSE:Factory checked in at 2024-12-06 14:26:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/palette (Old) and /work/SRC/openSUSE:Factory/.palette.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "palette" Fri Dec 6 14:26:20 2024 rev:12 rq:1228623 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/palette/palette.changes 2021-09-10 23:40:54.890534076 +0200 +++ /work/SRC/openSUSE:Factory/.palette.new.28523/palette.changes 2024-12-06 14:26:32.168877725 +0100 @@ -1,0 +2,9 @@ +Mon Nov 18 13:17:26 UTC 2024 - Richard Rahl <[email protected]> + +- update spec file for Leap 16.0: + * remove recommending lang package + * remove %suse_update_desktop_file + * remove mentions of elementary + * remove HiDPI image workaround + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ palette.spec ++++++ --- /var/tmp/diff_new_pack.SEl5v9/_old 2024-12-06 14:26:32.940910159 +0100 +++ /var/tmp/diff_new_pack.SEl5v9/_new 2024-12-06 14:26:32.944910327 +0100 @@ -1,7 +1,7 @@ # # spec file for package palette # -# 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,36 +16,33 @@ # +%define appid com.github.cassidyjames.palette Name: palette Version: 4.0.0 Release: 0 Summary: Color palette viewer License: GPL-3.0-or-later -Group: Productivity/Graphics/Visualization/Other URL: https://github.com/cassidyjames/palette -Source: https://github.com/cassidyjames/palette/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: AppStream +Source: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: gettext-runtime >= 0.19.7 BuildRequires: hicolor-icon-theme BuildRequires: libxml2-tools BuildRequires: meson >= 0.40.0 BuildRequires: pkgconfig -BuildRequires: update-desktop-files BuildRequires: vala BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(granite) >= 5.1.0 BuildRequires: pkgconfig(gtk+-3.0) -Recommends: %{name}-lang %description -A program for viewing and copying colors from Elementary OS. +A program for viewing and copying colors for the Pantheon Desktop. %lang_package %prep -%setup -q +%autosetup %build %meson @@ -53,31 +50,18 @@ %install %meson_install -%suse_update_desktop_file -r com.github.cassidyjames.palette Graphics GTK Viewer -%find_lang com.github.cassidyjames.palette %{name}.lang -%fdupes %{buildroot}/%{_datadir} - -# dirlist HiDPI icons (see: hicolor/index.theme) -touch $PWD/dir.lst -_dirlist=$PWD/dir.lst -pushd %{buildroot} -find ./ | while read _list; do - echo $_list | grep '[0-9]\@[0-9]' || continue - _path=$(echo $_list | sed 's/[^/]//') - if ! ls ${_path%/*}; then - grep -xqs "\%dir\ ${_path%/*}" $_dirlist || echo "%dir ${_path%/*}" >> $_dirlist - fi -done -popd +%find_lang %{appid} +%fdupes %{buildroot} -%files -f dir.lst +%files %license LICENSE %doc AUTHORS README.md -%{_bindir}/com.github.cassidyjames.palette -%{_datadir}/applications/com.github.cassidyjames.palette.desktop -%{_datadir}/glib-2.0/schemas/com.github.cassidyjames.palette.gschema.xml -%{_datadir}/icons/hicolor/*/apps/com.github.cassidyjames.palette.??g -%{_datadir}/metainfo/com.github.cassidyjames.palette.appdata.xml +%{_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 +%dir %{_datadir}/icons/hicolor/{128x128@2,128x128@2/apps,16x16@2,16x16@2/apps,24x24@2,24x24@2/apps,32x32@2,32x32@2/apps,48x48@2,48x48@2/apps,64x64@2,64x64@2/apps} -%files lang -f %{name}.lang +%files lang -f %{appid}.lang
