2008-02-18 04:32:40 +01:00
|
|
|
#
|
2009-12-08 10:21:30 +01:00
|
|
|
# spec file for package gbrainy (Version 1.20)
|
2008-02-18 04:32:40 +01:00
|
|
|
#
|
2009-02-06 23:25:34 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-02-18 04:32:40 +01:00
|
|
|
#
|
2008-08-14 01:56:47 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-02-18 04:32:40 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
|
|
Name: gbrainy
|
2009-12-08 10:21:30 +01:00
|
|
|
Version: 1.20
|
2008-02-18 04:32:40 +01:00
|
|
|
Release: 1
|
2009-12-08 10:21:30 +01:00
|
|
|
License: GPLv2+
|
2008-02-18 04:32:40 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch: libdir.patch
|
|
|
|
PreReq: filesystem
|
|
|
|
Url: http://live.gnome.org/gbrainy
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-07-31 19:12:35 +02:00
|
|
|
BuildRequires: gtk-sharp2
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: librsvg-devel
|
|
|
|
BuildRequires: mono-devel
|
|
|
|
BuildRequires: mono-addins
|
2008-02-18 04:32:40 +01:00
|
|
|
Group: Amusements/Games/Logic
|
|
|
|
Summary: A brain teaser game and trainer to have fun and to keep your brain trained
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: glade-sharp2 gnome-sharp2
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
%else
|
|
|
|
%define suse_update_desktop_file true
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora_version}
|
|
|
|
BuildRequires: gnome-sharp-devel gtk-sharp2-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
gbrainy is a brain teaser game and trainer to have fun and to keep your
|
|
|
|
brain trained.
|
|
|
|
|
|
|
|
It provides the following types of games: * Logic puzzles. Games
|
|
|
|
designed to challenge your reasoning and thinking skills.
|
|
|
|
|
|
|
|
* Mental calculation. Games based on arithmetical operations
|
|
|
|
designed to prove your mental calculation skills.
|
|
|
|
|
|
|
|
* Memory trainers. Games designed to challenge your short term memory.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
export MONO_SHARED_DIR=/var/tmp
|
|
|
|
autoreconf
|
2009-12-08 10:21:30 +01:00
|
|
|
%configure --disable-static
|
2008-02-18 04:32:40 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2009-07-31 19:12:35 +02:00
|
|
|
%makeinstall
|
2008-02-18 04:32:40 +01:00
|
|
|
%suse_update_desktop_file %name Game
|
|
|
|
%find_lang %{name}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
2009-07-31 19:12:35 +02:00
|
|
|
# It's not the right size: 32x32
|
2008-02-18 04:32:40 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gbrainy.png
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS NEWS README COPYING
|
|
|
|
%{_bindir}/gbrainy
|
|
|
|
%dir %{_prefix}/lib/gbrainy
|
|
|
|
%{_prefix}/lib/gbrainy/gbrainy.exe
|
2008-09-05 01:00:15 +02:00
|
|
|
%{_prefix}/lib/gbrainy/gbrainy.exe.config
|
2008-02-18 04:32:40 +01:00
|
|
|
%dir %{_datadir}/games/gbrainy
|
|
|
|
%{_datadir}/applications/gbrainy.desktop
|
|
|
|
%{_datadir}/games/gbrainy/*
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
|
|
%{_datadir}/man/man6/gbrainy.6.gz
|
|
|
|
|
|
|
|
%changelog
|