diff --git a/appdata-workaround.patch b/appdata-workaround.patch new file mode 100644 index 0000000..db7459d --- /dev/null +++ b/appdata-workaround.patch @@ -0,0 +1,23 @@ +From a07f55476e83144554dd253df2519a9ce018a1e0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= + +Date: Sun, 21 Aug 2016 11:30:56 +0200 +Subject: [PATCH] Resolve the screenshot redirect. + +--- + data/gbrainy.appdata.xml.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/data/gbrainy.appdata.xml.in b/data/gbrainy.appdata.xml.in +index 4c3af0a..7df826f 100644 +--- a/data/gbrainy.appdata.xml.in ++++ b/data/gbrainy.appdata.xml.in +@@ -15,7 +15,7 @@ + + + +- http://gent.softcatala.org/jmas/gbrainy/gbrainy-screenshot-appdata.png ++ https://gent.softcatala.org/jmas/gbrainy/gbrainy-screenshot-appdata.png + + https://wiki.gnome.org/action/show/Apps/gbrainy/ + jmas_at_softcatala_dot_org diff --git a/gbrainy-2.2.7.tar.gz b/gbrainy-2.2.7.tar.gz deleted file mode 100644 index 0fefc3a..0000000 --- a/gbrainy-2.2.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f400675178e02b78ac8e1111a237119a57cc77348bea0f143f51356615edfadb -size 2933715 diff --git a/gbrainy-2.3.0.tar.gz b/gbrainy-2.3.0.tar.gz new file mode 100644 index 0000000..c00b68f --- /dev/null +++ b/gbrainy-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:290db61ce37e0e2178f941423bd7ddbc968170ae17d8b40fbab0f05410dbeb89 +size 2930324 diff --git a/gbrainy.changes b/gbrainy.changes index 2be0029..b3af02a 100644 --- a/gbrainy.changes +++ b/gbrainy.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Aug 21 09:18:17 UTC 2016 - mailaender@opensuse.org + +* Update to version 2.3.0 + * Ported to Gtk3. + * Updated translations. +* Add appdata-workaround.patch + as https://github.com/openSUSE/software-o-o/pull/88 is stalling. +* Update build requirements + * gtk-sharp2 to gtk-sharp-3.0 + * libcanberra-gtk to libcanberra-gtk3 + ------------------------------------------------------------------- Tue Jan 12 14:53:37 UTC 2016 - dimstar@opensuse.org diff --git a/gbrainy.spec b/gbrainy.spec index 4314b2c..a37f63d 100644 --- a/gbrainy.spec +++ b/gbrainy.spec @@ -17,7 +17,7 @@ Name: gbrainy -Version: 2.2.7 +Version: 2.3.0 Release: 0 Summary: A brain teaser game and trainer License: GPL-2.0+ @@ -26,15 +26,17 @@ Url: http://live.gnome.org/gbrainy Source: http://gent.softcatala.org/jmas/gbrainy/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE -- gbrainy-use-libexecdir.patch Patch0: gbrainy-use-libexecdir.patch +# PATCH-FIX-UPSTREAM https://github.com/GNOME/gbrainy/pull/1 +Patch1: appdata-workaround.patch BuildRequires: fdupes BuildRequires: gnome-doc-utils-devel -BuildRequires: gtk-sharp2 BuildRequires: intltool -BuildRequires: librsvg-devel -BuildRequires: mono-addins -BuildRequires: mono-devel >= 3.0.0 BuildRequires: translation-update-upstream -BuildRequires: pkgconfig(libcanberra-gtk) >= 0.26 +BuildRequires: pkgconfig(gtk-sharp-3.0) +BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26 +BuildRequires: pkgconfig(librsvg-2.0) +BuildRequires: pkgconfig(mono) +BuildRequires: pkgconfig(mono-addins) BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: update-desktop-files @@ -63,6 +65,7 @@ It provides the following types of games: %setup -q translation-update-upstream %patch0 +%patch1 -p1 %lang_package