From 52970a26bb83c35244d28667b2f8967c88f852be0383e97d9b6dc2ed6b6d3dc7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 15 Aug 2018 09:09:47 +0000 Subject: [PATCH] Accepting request 629277 from GNOME:Next - Update to version 1.4.2: + Hide category chooser on scores dialog when not needed. - Changes from version 1.4.1: + Fix invalid cast in scores dialog. - Changes from version 1.4.0: + Fix Scores.Context.get_high_scores() returning unordered scores. + Ensure all public objects are usable when created with g_object_new(). + Build with --abi-stability (requires valac 0.40). Bump soname. - Following upstream changes, bump soname to 3, use define sover to ease future bumps. - Drop gnome-common BuildRequires and remove conditional autogen call, we are using a prestine tarball. - Add make_build, actually build the libs ourselves, not just install the upstream ones. Use autosetup macro. OBS-URL: https://build.opensuse.org/request/show/629277 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgnome-games-support?expand=0&rev=14 --- libgnome-games-support-1.2.3.tar.xz | 3 --- libgnome-games-support-1.4.2.tar.xz | 3 +++ libgnome-games-support.changes | 20 +++++++++++++++++++ libgnome-games-support.spec | 31 +++++++++++++++-------------- 4 files changed, 39 insertions(+), 18 deletions(-) delete mode 100644 libgnome-games-support-1.2.3.tar.xz create mode 100644 libgnome-games-support-1.4.2.tar.xz diff --git a/libgnome-games-support-1.2.3.tar.xz b/libgnome-games-support-1.2.3.tar.xz deleted file mode 100644 index fa38308..0000000 --- a/libgnome-games-support-1.2.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6123c2419b8224589b09ca9b4f471ea51e4817c0369cec3137cd1f8fe7698aef -size 344372 diff --git a/libgnome-games-support-1.4.2.tar.xz b/libgnome-games-support-1.4.2.tar.xz new file mode 100644 index 0000000..7042087 --- /dev/null +++ b/libgnome-games-support-1.4.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08017b6b3656441eb6d7ec1cb3e32f5ff0335da16cd095156f561684e6cd110a +size 335656 diff --git a/libgnome-games-support.changes b/libgnome-games-support.changes index 43d7c25..78e0ffc 100644 --- a/libgnome-games-support.changes +++ b/libgnome-games-support.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Aug 13 08:56:31 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 1.4.2: + + Hide category chooser on scores dialog when not needed. +- Changes from version 1.4.1: + + Fix invalid cast in scores dialog. +- Changes from version 1.4.0: + + Fix Scores.Context.get_high_scores() returning unordered + scores. + + Ensure all public objects are usable when created with + g_object_new(). + + Build with --abi-stability (requires valac 0.40). Bump soname. +- Following upstream changes, bump soname to 3, use define sover to + ease future bumps. +- Drop gnome-common BuildRequires and remove conditional autogen + call, we are using a prestine tarball. +- Add make_build, actually build the libs ourselves, not just + install the upstream ones. Use autosetup macro. + ------------------------------------------------------------------- Mon Mar 5 15:24:47 UTC 2018 - jengelh@inai.de diff --git a/libgnome-games-support.spec b/libgnome-games-support.spec index da1e0c1..ee806c9 100644 --- a/libgnome-games-support.spec +++ b/libgnome-games-support.spec @@ -16,18 +16,20 @@ # +%define sover 3 + Name: libgnome-games-support -Version: 1.2.3 +Version: 1.4.2 Release: 0 Summary: Internal support library for GNOME games License: LGPL-3.0-or-later Group: Development/Libraries/GNOME -Url: https://git.gnome.org/browse/libgnome-games-support/ -Source: http://download.gnome.org/sources/libgnome-games-support/1.2/%{name}-%{version}.tar.xz -BuildRequires: gnome-common +URL: https://git.gnome.org/browse/libgnome-games-support/ +Source0: https://download.gnome.org/sources/libgnome-games-support/1.4/%{name}-%{version}.tar.xz + BuildRequires: intltool >= 0.50.2 BuildRequires: pkgconfig -BuildRequires: vala >= 0.24 +BuildRequires: vala >= 0.40 BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gio-2.0) >= 2.40 BuildRequires: pkgconfig(glib-2.0) >= 2.40 @@ -39,13 +41,13 @@ libgnome-games-support is a small library intended for internal use by GNOME Games, but it may be used by others. The API will only break with the major version number. The ABI is unstable. -%package -n libgnome-games-support-1-2 +%package -n libgnome-games-support-1-%{sover} Summary: Internal support library for GNOME games # In order for the -lang package to be installable Group: System/Libraries Provides: %{name} = %{version} -%description -n libgnome-games-support-1-2 +%description -n libgnome-games-support-1-%{sover} libgnome-games-support is a small library intended for internal use by GNOME Games, but it may be used by others. The API will only break with the major version number. The ABI is unstable. @@ -53,7 +55,7 @@ with the major version number. The ABI is unstable. %package devel Summary: Development files for the GNOME Internal games library Group: Development/Libraries/C and C++ -Requires: libgnome-games-support-1-2 = %{version} +Requires: libgnome-games-support-1-%{sover} = %{version} %description devel libgnome-games-support is a small library intended for internal use by @@ -63,24 +65,23 @@ with the major version number. The ABI is unstable. %lang_package %prep -%setup -q +%autosetup %build -if [ ! -e configure ]; then ./autogen.sh; fi %configure +%make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} -%post -n libgnome-games-support-1-2 -p /sbin/ldconfig -%postun -n libgnome-games-support-1-2 -p /sbin/ldconfig +%post -n libgnome-games-support-1-%{sover} -p /sbin/ldconfig +%postun -n libgnome-games-support-1-%{sover} -p /sbin/ldconfig -%files -n libgnome-games-support-1-2 +%files -n libgnome-games-support-1-%{sover} %license COPYING.LESSER - -%{_libdir}/libgnome-games-support-1.so.2* +%{_libdir}/libgnome-games-support-1.so.%{sover}* %files devel %{_includedir}/gnome-games-support-1/