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
This commit is contained in:
Dominique Leuenberger 2017-11-06 11:07:34 +00:00 committed by Git OBS Bridge
parent 378c1c0bca
commit 3db60f59e3
4 changed files with 28 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a07a991ccdef7cd5af1bf22414956f45048c96e7fdd4a4cf686ee36718f404d
size 2940436

3
gbrainy-2.3.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ddf5464dae222ee895f09765066b30d247ff902f43b052cd64078907bde9ffd
size 2953299

View File

@ -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

View File

@ -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}