Accepting request 147984 from home:Gankov:branches:GNOME:Apps
OBS-URL: https://build.opensuse.org/request/show/147984 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gbrainy?expand=0&rev=50
This commit is contained in:
parent
1d73f37fb6
commit
f571d0385c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:19d0eafcc50935fd711cc86c43ce7e2396847fd4516fb9fd54cb9f8402127c1f
|
|
||||||
size 2355627
|
|
16
gbrainy-2.1.5-CSharpCompiler.patch
Normal file
16
gbrainy-2.1.5-CSharpCompiler.patch
Normal file
@ -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)
|
3
gbrainy-2.1.5.tar.gz
Normal file
3
gbrainy-2.1.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:29b6b926410c4aee78a68115e293bb6c8436021212a81ac5cdb71c2669a114a6
|
||||||
|
size 2629526
|
@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 8 11:52:24 UTC 2013 - gankov@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.1.5
|
||||||
|
+ Updated translations and bugs fix
|
||||||
|
- 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
|
||||||
|
+ Translations
|
||||||
|
- New Telugu translation
|
||||||
|
- Many 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
|
Mon Feb 13 10:46:36 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
45
gbrainy.spec
45
gbrainy.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gbrainy
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,13 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gbrainy
|
Name: gbrainy
|
||||||
Version: 2.06
|
Version: 2.1.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Source: http://gent.softcatala.org/jmas/gbrainy/%{name}-%{version}.tar.gz
|
Summary: A brain teaser game and trainer
|
||||||
Patch: gbrainy-use-libexecdir.patch
|
License: GPL-2.0+
|
||||||
|
Group: Amusements/Games/Logic
|
||||||
Url: http://live.gnome.org/gbrainy
|
Url: http://live.gnome.org/gbrainy
|
||||||
BuildArch: noarch
|
Source: http://gent.softcatala.org/jmas/gbrainy/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
# PATCH-FIX-OPENSUSE -- gbrainy-use-libexecdir.patch
|
||||||
|
Patch0: gbrainy-use-libexecdir.patch
|
||||||
|
# PATCH-FIX-OPENSUSE -- simple fix build for mono-3.0 because Evaluator API is changed - gankov@opensuse.org
|
||||||
|
Patch1: gbrainy-2.1.5-CSharpCompiler.patch
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: gnome-doc-utils-devel
|
BuildRequires: gnome-doc-utils-devel
|
||||||
BuildRequires: gtk-sharp2
|
BuildRequires: gtk-sharp2
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
@ -31,9 +36,8 @@ BuildRequires: librsvg-devel
|
|||||||
BuildRequires: mono-addins
|
BuildRequires: mono-addins
|
||||||
BuildRequires: mono-devel
|
BuildRequires: mono-devel
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
Summary: A brain teaser game and trainer
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
License: GPL-2.0+
|
BuildArch: noarch
|
||||||
Group: Amusements/Games/Logic
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
%else
|
%else
|
||||||
@ -66,7 +70,10 @@ It provides the following types of games:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
%patch
|
%patch0
|
||||||
|
%if 0%{?suse_version} > 1220
|
||||||
|
%patch1
|
||||||
|
%endif
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
@ -77,17 +84,23 @@ export MONO_SHARED_DIR=/var/tmp
|
|||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
%suse_update_desktop_file %name Game
|
%suse_update_desktop_file %{name} Game
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%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
|
## 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).
|
# 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
|
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
|
%clean
|
||||||
rm -rf "$RPM_BUILD_ROOT"
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1130
|
%if 0%{?suse_version} > 1130
|
||||||
|
|
||||||
@ -115,7 +128,7 @@ rm -rf "$RPM_BUILD_ROOT"
|
|||||||
%{_datadir}/games/gbrainy/
|
%{_datadir}/games/gbrainy/
|
||||||
%{_datadir}/applications/gbrainy.desktop
|
%{_datadir}/applications/gbrainy.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
%{_datadir}/man/man6/gbrainy.6.gz
|
%{_mandir}/man6/gbrainy.6.gz
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user