Summary: An X Window System graphical chessboard. Name: xboard Version: 4.2.6 Release: 1 Group: Amusements/Games Source: ftp://ftp.gnu.org/pub/gnu/xboard/xboard-%{version}.tar.gz Patch0: xboard-%{version}-entry.patch Requires: chessprogram Copyright: GPL BuildRoot: /var/tmp/xboard-root Prereq: /sbin/install-info Prefix: %{_prefix} %ifarch ia64 %define DEFCCIA cc %define DEFCC %{DEFCCIA} %else %define DEFCC cc %endif %description Xboard is an X Window System based graphical chessboard which can be used with the GNUchess and Crafty chess programs, with Internet Chess Servers (ICSs), with chess via email, or with your own saved games. Install the xboard package if you need a graphical chessboard. %prep %setup -q %patch0 -p1 %build # Use the default compiler for this platform - gcc otherwise if [[ -z "$CC" ]] then if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then export CC=%{DEFCC} else export CC=gcc fi fi if test "X$CC" != "Xgcc" then export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's:-fsigned-char::'` export CFLAGS="$RPM_OPT_FLAGS" fi %configure make all info %install rm -rf $RPM_BUILD_ROOT %makeinstall /usr/bin/strip $RPM_BUILD_ROOT%{_bindir}/xboard || : gzip -9f $RPM_BUILD_ROOT%{_infodir}/* mkdir -p $RPM_BUILD_ROOT/etc/X11/applnk/Games cat > $RPM_BUILD_ROOT/etc/X11/applnk/Games/xboard.desktop < - Update to version 4.2.6 * Wed Jun 30 2001 David Clissold - Update to version 4.2.5 * Mon Jun 04 2001 Marc Stephenson - Added desktop links for GNOME and KDE * Mon May 21 2001 David Clissold - first xboard build for AIX Toolbox. * Wed May 09 2001 Florian La Roche - update to 4.2.3 * Mon Oct 02 2000 Florian La Roche - update to 4.1.0 * Thu Jul 13 2000 Prospector - automatic rebuild * Sun Jun 11 2000 Bill Nottingham - rebuild, FHS stuff. * Thu Mar 9 2000 Bill Nottingham - update to 4.0.7 * Mon Feb 28 2000 Matt Wilson - rebuild info file to have proper dir entry, etc. * Mon Feb 07 2000 Preston Brown - wmconfig -> desktop * Sat Feb 05 2000 Cristian Gafton - add dir entries in install-info * Thu Feb 3 2000 Bernhard Rosenkraenzer - gzip info pages (Bug #9035) - add install-info stuff - deal with rpm compressing man pages - handle RPM_OPT_FLAGS * Fri Dec 17 1999 Bill Nottingham - update to 4.0.5 * Wed Sep 8 1999 Bill Nottingham - update to 4.0.3 * Sat Aug 14 1999 Bill Nottingham - change requires: to virtual 'chessprogram' * Thu Aug 12 1999 Bill Nottingham - require gnuchess so it will work out of the box * Fri Jul 30 1999 Bill Nottingham - update to 4.0.2 * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) * Thu Dec 17 1998 Michael Maher - cleaned up spec file - built package for 6.0 * Sat Jul 11 1998 Mike Wangsmo - updated to a new version - buildrooted the package too * Fri May 01 1998 Prospector System - translations modified for de, fr, tr