From 359ab677f110a75156ae59ae955552233791de4bb2580330e284a6eea9e81425 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Sat, 15 Jan 2011 00:28:35 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/gbrainy revision 22.0 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gbrainy?expand=0&rev=604736768a787998a29942d5f06ef25a --- gbrainy.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gbrainy.spec b/gbrainy.spec index 60d3319..c673457 100644 --- a/gbrainy.spec +++ b/gbrainy.spec @@ -1,7 +1,7 @@ # -# spec file for package gbrainy (Version 1.61) +# spec file for package gbrainy # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From dbddd6978a8b08ebe7297693ab221ff1059078d7b8747e74987bdbca67924d93 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 31 Jan 2011 21:01:20 +0000 Subject: [PATCH 2/2] Accepting request 59554 from home:dimstar:branches:GNOME:Apps Forwarding to openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/59554 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gbrainy?expand=0&rev=24 --- gbrainy.changes | 8 ++++++++ gbrainy.spec | 12 ++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/gbrainy.changes b/gbrainy.changes index 35473f7..620564b 100644 --- a/gbrainy.changes +++ b/gbrainy.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Jan 26 19:38:18 UTC 2011 - dimstar@opensuse.org + +- Split out -lang package which is Recommended by the main package. + Keep the C lang help in the main package +- Recommend mimehandler(x-scheme-handler/ghelp) for the help + system to work. + ------------------------------------------------------------------- Fri Jan 14 08:39:12 CET 2011 - vuntz@opensuse.org diff --git a/gbrainy.spec b/gbrainy.spec index c673457..f6bbd29 100644 --- a/gbrainy.spec +++ b/gbrainy.spec @@ -47,6 +47,9 @@ BuildRequires: update-desktop-files %if 0%{?fedora_version} BuildRequires: gnome-sharp-devel gtk-sharp2-devel %endif +Recommends: %{name}-lang +# For the help system to work, we require a ghelp:// URI handler. +Recommends: mimehandler(x-scheme-handler/ghelp) %description gbrainy is a brain teaser game and trainer to have fun and to keep @@ -70,6 +73,7 @@ It provides the following types of games: %patch %patch1 -p1 +%lang_package %build export MONO_SHARED_DIR=/var/tmp %configure --disable-static @@ -78,7 +82,7 @@ make %install %makeinstall %suse_update_desktop_file %name Game -%find_lang %{name} +%find_lang %{name} %no_lang_C rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps # It's not the right size: 32x32 rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gbrainy.png @@ -88,9 +92,11 @@ rm %{buildroot}%{_libdir}/pkgconfig/gbrainy.pc %clean rm -rf "$RPM_BUILD_ROOT" -%files -f %{name}.lang +%files %defattr(-,root,root) %doc AUTHORS NEWS README COPYING +%dir %{_datadir}/gnome/help/gbrainy/ +%doc %{_datadir}/gnome/help/gbrainy/C/ %{_bindir}/gbrainy %{_libexecdir}/gbrainy/ %{_datadir}/games/gbrainy/ @@ -98,4 +104,6 @@ rm -rf "$RPM_BUILD_ROOT" %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/man/man6/gbrainy.6.gz +%files lang -f %{name}.lang + %changelog