Hello community, here is the log from the commit of package translator for openSUSE:Factory checked in at 2019-02-27 15:07:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/translator (Old) and /work/SRC/openSUSE:Factory/.translator.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "translator" Wed Feb 27 15:07:28 2019 rev:6 rq:679484 version:1.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/translator/translator.changes 2018-04-16 12:49:38.547686226 +0200 +++ /work/SRC/openSUSE:Factory/.translator.new.28833/translator.changes 2019-02-27 15:07:32.450421584 +0100 @@ -1,0 +2,9 @@ +Mon Jan 28 20:20:41 UTC 2019 - Alexei Podvalsky <[email protected]> + +- Update to 1.3.2: + * Switch to meson +- Add HiDPI icons +- Remove obsolete macros +- Spec file cleanup + +------------------------------------------------------------------- Old: ---- Translator-1.2.1.tar.gz New: ---- Translator-1.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ translator.spec ++++++ --- /var/tmp/diff_new_pack.s1zXDB/_old 2019-02-27 15:07:34.178421057 +0100 +++ /var/tmp/diff_new_pack.s1zXDB/_new 2019-02-27 15:07:34.218421046 +0100 @@ -1,7 +1,7 @@ # # spec file for package translator # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,33 +12,31 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: translator -Version: 1.2.1 +Version: 1.3.2 Release: 0 Summary: Translation program -License: GPL-3.0+ +License: GPL-3.0-or-later Group: Productivity/Office/Dictionary URL: https://rapidfingers.github.io/Translator Source: https://github.com/RapidFingers/Translator/archive/%{version}.tar.gz#/Translator-%{version}.tar.gz -BuildRequires: cmake BuildRequires: fdupes -BuildRequires: gcc-c++ +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: vala >= 0.28 BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gio-2.0) -BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(granite) >= 0.5 BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libsoup-2.4) Recommends: %{name}-lang -%glib2_gsettings_schema_requires %description This is a translator. It is suited only for small messages, not @@ -49,39 +47,39 @@ %prep %setup -q -n Translator-%{version} -sed -i 's/\bmetainfo\b/appdata/' $(grep -rwl 'metainfo') - cp debian/copyright COPYING %build -%cmake \ - -DGSETTINGS_COMPILE=OFF -make %{?_smp_mflags} +%meson +%meson_build %install -%cmake_install %{?_smp_mflags} +%meson_install %suse_update_desktop_file -r com.github.rapidfingers.translator GTK Office Dictionary %find_lang com.github.rapidfingers.translator %{name}.lang %fdupes %{buildroot}%{_datadir} -%post -%glib2_gsettings_schema_post -%icon_theme_cache_post -%desktop_database_post - -%postun -%glib2_gsettings_schema_postun -%icon_theme_cache_postun -%desktop_database_postun - -%files -%doc COPYING README.md +# 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 + +%files -f dir.lst +%license COPYING +%doc README.md %{_bindir}/com.github.rapidfingers.translator -%dir %{_datadir}/appdata -%{_datadir}/appdata/com.github.rapidfingers.translator.appdata.xml %{_datadir}/applications/com.github.rapidfingers.translator.desktop %{_datadir}/glib-2.0/schemas/com.github.rapidfingers.translator.gschema.xml %{_datadir}/icons/hicolor/*/apps/com.github.rapidfingers.translator.??g +%{_datadir}/metainfo/com.github.rapidfingers.translator.appdata.xml %files lang -f %{name}.lang ++++++ Translator-1.2.1.tar.gz -> Translator-1.3.2.tar.gz ++++++ ++++ 7828 lines of diff (skipped)
