SHA256
1
0
forked from pool/gbrainy
gbrainy/gbrainy.spec

120 lines
3.4 KiB
RPMSpec

#
# spec file for package gbrainy (Version 0.70)
#
# Copyright (c) 2008 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
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gbrainy
Version: 0.70
Release: 1
License: GPL v2 or later
Source: %{name}-%{version}.tar.bz2
Patch: libdir.patch
AutoReqProv: on
PreReq: filesystem
Url: http://live.gnome.org/gbrainy
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gtk-sharp2 intltool mono-devel perl-XML-Parser
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.
Authors:
--------
Jordi Mas i Hernandez <jmas@softcatala.org>
%prep
%setup -q
%patch
%build
export MONO_SHARED_DIR=/var/tmp
export CFLAGS="$RPM_OPT_FLAGS"
autoreconf
%configure
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%suse_update_desktop_file %name Game
%find_lang %{name}
rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps
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
%dir %{_datadir}/games/gbrainy
%{_datadir}/applications/gbrainy.desktop
%{_datadir}/games/gbrainy/*
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/man/man6/gbrainy.6.gz
%changelog
* Thu Aug 07 2008 mauro@suse.de
- Update to version 0.7
* 8 new puzzles
* License included in the about box
* The drawing area is now square and the application resizes better
* Better score feedback
* Player's history
* Preferences persistence
* Better game selection
* Bug fixes
* Mon Mar 31 2008 vuntz@suse.de
- Update to version 0.61:
+ Implemented difficulty levels: easy, medium and master
+ Complete revision of the texts
+ 1 new math game and 3 new logic games
+ Bug fixes
- Changes from version 0.5x:
+ Basic user preferences (memory games)
+ 4 new logic games and 2 new memory trainers
+ Count down for memory games (to get your memory ready)
+ Some bug fixes
* Wed Feb 13 2008 ajorgensen@novell.com
- Initial import