File xboard.spec of Package xboard

# spec file for package xboard (Version 4.5.1)
# Copyright (c) 2009, 2010, 2011 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

# norootforbuild

Name:           xboard
BuildRequires:  texlive-latex update-desktop-files xorg-x11-devel xorg-x11-libXt-devel hicolor-icon-theme
BuildRequires:  flex
License:        GPL v3.0 or later
Group:          Amusements/Games/Board/Chess
Requires:       gnuchess
Recommends:     chess_backend
Version:        4.5.1
Release:        0
Summary:        X Window System Interface for playing chess
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %install_info_prereq

XBoard is a graphical user interface for chess in all its major forms, including international chess, xiangqi (Chinese chess), shogi Japanese chess) and Makruk, in addition to many minor variants such as Losers Chess, Crazyhouse, Chess960 and Capabanca Chess. It displays a chessboard on the screen, accepts moves made with the mouse, and loads and saves games in Portable Game Notation (PGN). It serves as a front-end for many different chess services, including:

    * Chess engines that will run on your machine and play a game against you or help you analyze, such as GNU Chess, Crafty, or many others.

    * Chess servers on the Internet, where you can connect to play chess with people from all over the world, watch other users play, or just hang out and chat.

    * Correspondence chess played by electronic mail. The CMail program automates the tasks of parsing email from your opponent, playing his moves out on your board, and mailing your reply move after you have chosen it.

    Wayne Christopher
    Chris Sears and Dan Sears
    Tim Mann <>
    John Chanak
    Evan Welsh <>
    Elmar Bartel <>
    Jochen Wiedmann
    Frank McIngvale <>
    Hugh Fisher <>
    Allessandro Scotti
    H.G. Muller <>
    Arun Persaud <>
    Eric Mullins <>

%setup -q

autoreconf -f -i
%configure --enable-silent-rules
make %{?jobs:-j%jobs}

%suse_update_desktop_file -i %{name} Game BoardGame


%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%doc AUTHORS ChangeLog COPYING COPYRIGHT FAQ.html NEWS README SHORTLOG TODO engine-intf.html ics-parsing.txt readme.htm zippy.README
%doc %{_mandir}/man6/*.*
%doc %{_infodir}/*
%dir %{_datadir}/games/xboard/
%config %{_sysconfdir}/%{name}.conf

openSUSE Build Service is sponsored by