diff --git a/gbrainy-2.06.tar.gz b/gbrainy-2.06.tar.gz deleted file mode 100644 index bcbf3f6..0000000 --- a/gbrainy-2.06.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:19d0eafcc50935fd711cc86c43ce7e2396847fd4516fb9fd54cb9f8402127c1f -size 2355627 diff --git a/gbrainy-2.1.5-CSharpCompiler.patch b/gbrainy-2.1.5-CSharpCompiler.patch new file mode 100644 index 0000000..c51afb3 --- /dev/null +++ b/gbrainy-2.1.5-CSharpCompiler.patch @@ -0,0 +1,16 @@ +Index: src/Core/Libraries/CSharpCompiler.cs +=================================================================== +--- src/Core/Libraries/CSharpCompiler.cs.orig ++++ src/Core/Libraries/CSharpCompiler.cs +@@ -44,10 +44,7 @@ namespace gbrainy.Core.Libraries + + public CSharpCompiler () + { +- CompilerSettings settings = new CompilerSettings (); +- Report report = new Report (new NullReportPrinter ()); +- +- evaluator = new Evaluator (settings, report); ++ evaluator = new Evaluator (new CompilerContext (new CompilerSettings (), new NullReportPrinter ())); + } + + public void EvaluateCode (string code) diff --git a/gbrainy-2.1.5.tar.gz b/gbrainy-2.1.5.tar.gz new file mode 100644 index 0000000..5334674 --- /dev/null +++ b/gbrainy-2.1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29b6b926410c4aee78a68115e293bb6c8436021212a81ac5cdb71c2669a114a6 +size 2629526 diff --git a/gbrainy.changes b/gbrainy.changes index afb2caf..8b53fef 100644 --- a/gbrainy.changes +++ b/gbrainy.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Tue Jan 8 11:52:24 UTC 2013 - gankov@opensuse.org + +- Update to version 2.1.5: + + Remove code to handle low resolutions, let the system to decide + + Some new verbal analogies + + Updated translations. +- Changes from 2.1.4: + + Bugs fixed: bgo#676211· + + Updated translations. +- Changes from 2.1.3: + + In memory count dots puzzle, we were not painting all dots in + some cases plus we were always asking for the red dot color in + the question instead of random + + Updated translations. +- Changes from 2.1.2: + + Allow to set the time to memorize a question below 4 for very + advanced players + + Text should be plural in the sentence + + Bugs fixed: bgo#655725, bgo#669105, bgo#669102, bgo#669099, + bgo#669106, bgo#669104. + + Updated translations. +- Changes from 2.1.1: + + The correct answer for the Average game was always the smaller + option + + Updated translations. +- Changes from 2.1.0: + + Software improvements + - Refactoring to break down responsibilities in classes and + make code more modular + - Automated “Assembly / package versioning” + + Existing games improvements + - Mouse support for Memorize figures and text + - Show graphically the answer in square sheets puzzle + - Add rationale to handshake puzzle + - People at the table has a better graphic + - Some controls in games handle better larger texts + + Updated translations. +- Add patch gbrainy-2.1.5-CSharpCompiler.patch - fix build for + mono-3.0 +- Use spec-cleaner +- Use fdupes +- Fix executable permission on gbrainy.exe.config + ------------------------------------------------------------------- Mon Feb 13 10:46:36 UTC 2012 - coolo@suse.com diff --git a/gbrainy.spec b/gbrainy.spec index d5174ac..d0e70c5 100644 --- a/gbrainy.spec +++ b/gbrainy.spec @@ -1,7 +1,7 @@ # # spec file for package gbrainy # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -17,13 +17,18 @@ Name: gbrainy -Version: 2.06 +Version: 2.1.5 Release: 0 -Source: http://gent.softcatala.org/jmas/gbrainy/%{name}-%{version}.tar.gz -Patch: gbrainy-use-libexecdir.patch +Summary: A brain teaser game and trainer +License: GPL-2.0+ +Group: Amusements/Games/Logic Url: http://live.gnome.org/gbrainy -BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +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 gbrainy-2.1.5-CSharpCompiler.patch - gankov@opensuse.org -- simple fix build for mono-3.0 because Evaluator API is changed. +Patch1: gbrainy-2.1.5-CSharpCompiler.patch +BuildRequires: fdupes BuildRequires: gnome-doc-utils-devel BuildRequires: gtk-sharp2 BuildRequires: intltool @@ -31,9 +36,8 @@ BuildRequires: librsvg-devel BuildRequires: mono-addins BuildRequires: mono-devel BuildRequires: translation-update-upstream -Summary: A brain teaser game and trainer -License: GPL-2.0+ -Group: Amusements/Games/Logic +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %if 0%{?suse_version} BuildRequires: update-desktop-files %else @@ -66,7 +70,10 @@ It provides the following types of games: %prep %setup -q translation-update-upstream -%patch +%patch0 +%if 0%{?suse_version} > 1220 +%patch1 +%endif %lang_package @@ -77,17 +84,23 @@ export MONO_SHARED_DIR=/var/tmp make %install -%makeinstall -%suse_update_desktop_file %name Game +%make_install +%suse_update_desktop_file %{name} Game %find_lang %{name} %{?no_lang_C} -rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps +rm -rf %{buildroot}%{_datadir}/pixmaps ## It's not the right size: 32x32 -#rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gbrainy.png +#rm -rf %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/gbrainy.png # 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 +# When below tests fail, we can now remove the chmod +test -x %{buildroot}%{_libexecdir}/%{name}/gbrainy.exe.config +chmod -x %{buildroot}%{_libexecdir}/%{name}/gbrainy.exe.config + +%fdupes -s %{buildroot} + %clean -rm -rf "$RPM_BUILD_ROOT" +rm -rf %{buildroot} %if 0%{?suse_version} > 1130 @@ -115,7 +128,7 @@ rm -rf "$RPM_BUILD_ROOT" %{_datadir}/games/gbrainy/ %{_datadir}/applications/gbrainy.desktop %{_datadir}/icons/hicolor/*/apps/* -%{_datadir}/man/man6/gbrainy.6.gz +%{_mandir}/man6/gbrainy.6.gz %files lang -f %{name}.lang