%define version 0.16.0 %define release %mkrel 1 Summary: An Othello/Reversi chess with strong AI Name: grhino Version: %{version} Release: %{release} License: GPLv2+ Group: Games/Boards URL: http://rhino.sourceforge.net/ Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: libgnomeui2-devel BuildRequires: scrollkeeper Requires(post,postun): scrollkeeper %description GRhino, or Rhino its former name, is an Othello/Reversi game on Linux and other UNIX-like systems. What distinguish GRhino from most other Othello games is that GRhino will be targeted for experienced Othello players. Strong AI is the main focus and the ultimate target strength of the AI is that it should be able to beat the best human player at the highest difficulty level. %prep %setup -q %build %configure2_5x --bindir=%{_gamesbindir} %make %install rm -rf %{buildroot} %makeinstall_std mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/ cat << EOF > %buildroot%{_datadir}/applications/mandriva-%{name}.desktop [Desktop Entry] Type=Application Exec=%{_gamesbindir}/%{name} Icon=%name Comment=Othello/Reversi chess with strong AI Categories=BoardGame;Game;GTK;GNOME; Name=GRhino EOF %find_lang %{name} --with-gnome --all-name %post %update_menus %update_scrollkeeper %postun %clean_menus %clean_scrollkeeper %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %doc README %{_gamesbindir}/* %{_datadir}/applications/mandriva-%{name}.desktop %{_datadir}/%{name}-%{version} %{_datadir}/pixmaps/*.png %{_datadir}/omf/* %changelog * Fri Feb 08 2008 Funda Wang <fundawang@mandriva.org> 0.16.0-1mdv2008.1 + Revision: 164046 - drop old patch - New version 0.16.0 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.15.0-1mdv2008.1 + Revision: 131698 - auto-convert XDG menu entry - kill re-definition of %%buildroot on Pixel's request - import grhino * Sat Jun 18 2005 Abel Cheung <deaddog@mandriva.org> 0.15.0-1mdk - New release 0.15.0 - Supports GTP now (since 0.14) * Sun Mar 27 2005 Abel Cheung <deaddog@mandrake.org> 0.13.0-1mdk - New release 0.13.0 - Redo P0 * Mon Nov 29 2004 Abel Cheung <deaddog@mandrake.org> 0.12.0-2mdk - Likely Rafael and me submitted same package at same time, so rebuild and pray for everything to automatically clean up themselves (Rafael, if you really did submit grhino, can you add your changes here?) * Mon Nov 22 2004 Abel Cheung <deaddog@mandrake.org> 0.12.0-1mdk - First Mandrake package