From ff433c2279152d2a69376cf6c9136af6eaacecd735530c5dae7da7bea98896b1 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 6 Nov 2017 11:07:34 +0000 Subject: [PATCH] Accepting request 539053 from home:luc14n0:branches:GNOME:Apps Update to version 2.3.3 OBS-URL: https://build.opensuse.org/request/show/539053 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gbrainy?expand=0&rev=77 --- gbrainy-2.3.2.tar.gz | 3 --- gbrainy-2.3.3.tar.gz | 3 +++ gbrainy.changes | 15 +++++++++++++++ gbrainy.spec | 25 ++++++++++--------------- 4 files changed, 28 insertions(+), 18 deletions(-) delete mode 100644 gbrainy-2.3.2.tar.gz create mode 100644 gbrainy-2.3.3.tar.gz diff --git a/gbrainy-2.3.2.tar.gz b/gbrainy-2.3.2.tar.gz deleted file mode 100644 index 45d6b69..0000000 --- a/gbrainy-2.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4a07a991ccdef7cd5af1bf22414956f45048c96e7fdd4a4cf686ee36718f404d -size 2940436 diff --git a/gbrainy-2.3.3.tar.gz b/gbrainy-2.3.3.tar.gz new file mode 100644 index 0000000..43af156 --- /dev/null +++ b/gbrainy-2.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ddf5464dae222ee895f09765066b30d247ff902f43b052cd64078907bde9ffd +size 2953299 diff --git a/gbrainy.changes b/gbrainy.changes index 740ea64..e3eba13 100644 --- a/gbrainy.changes +++ b/gbrainy.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sun Nov 5 00:42:13 UTC 2017 - luc14n0@linuxmail.org + +- Update to version 2.3.3: + + 3 new games. + + Updated translations. +- Update Url to https://wiki.gnome.org/Apps/gbrainy: current + gbrainy's web page. +- Point fdupes to the data directory intead of the build root, + which is a practice that must be avoided. +- Drop %desktop_database_* and %icon_theme_cache_* post(un) + scriplets: the functionality now is covered by file triggers. +- Add conditional use to translation-update-upstream since it's a + SLE-only requirement. + ------------------------------------------------------------------- Sat Sep 9 18:56:13 UTC 2017 - zaitor@opensuse.org diff --git a/gbrainy.spec b/gbrainy.spec index f12adcd..fc5efd4 100644 --- a/gbrainy.spec +++ b/gbrainy.spec @@ -17,26 +17,28 @@ Name: gbrainy -Version: 2.3.2 +Version: 2.3.3 Release: 0 Summary: A brain teaser game and trainer License: GPL-2.0+ Group: Amusements/Games/Logic -Url: http://live.gnome.org/gbrainy -Source: http://gent.softcatala.org/jmas/gbrainy/%{name}-%{version}.tar.gz +Url: https://wiki.gnome.org/Apps/gbrainy +Source: https://gent.softcatala.org/jmas/gbrainy/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE -- gbrainy-use-libexecdir.patch Patch0: gbrainy-use-libexecdir.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: pkgconfig +%if !0%{?is_opensuse} BuildRequires: translation-update-upstream +%endif BuildRequires: update-desktop-files BuildRequires: yelp-tools -BuildRequires: pkgconfig(gtk-sharp-3.0) +BuildRequires: pkgconfig(gtk-sharp-3.0) >= 2.99.1 BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26 BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(mono) >= 4.0.0 -BuildRequires: pkgconfig(mono-addins) +BuildRequires: pkgconfig(mono-addins) >= 0.2.0 Recommends: %{name}-lang # For the help system to work, we require a ghelp:// URI handler. Recommends: mimehandler(x-scheme-handler/ghelp) @@ -61,7 +63,9 @@ It provides the following types of games: %prep %setup -q +%if !0%{?is_opensuse} translation-update-upstream +%endif %patch0 %lang_package @@ -76,6 +80,7 @@ make %{?_smp_mflags} %make_install %suse_update_desktop_file %{name} Game %find_lang %{name} %{?no_lang_C} +%fdupes %{buildroot}%{_datadir} rm -rf %{buildroot}%{_datadir}/pixmaps # There are no extensions yet, Thus creating a -devel package sounds overkill (file can't reside in noarch package). rm %{buildroot}%{_libdir}/pkgconfig/gbrainy.pc @@ -84,16 +89,6 @@ rm %{buildroot}%{_libdir}/pkgconfig/gbrainy.pc test -x %{buildroot}%{_libexecdir}/%{name}/gbrainy.exe.config chmod -x %{buildroot}%{_libexecdir}/%{name}/gbrainy.exe.config -%fdupes -s %{buildroot} - -%post -%desktop_database_post -%icon_theme_cache_post - -%postun -%desktop_database_postun -%icon_theme_cache_postun - %files %doc AUTHORS NEWS README COPYING %{_bindir}/%{name}