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 http://bugs.opensuse.org/
#

# 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
Url:            http://www.gnu.org/software/xboard/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %install_info_prereq

%description
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.


Authors:
--------
    Wayne Christopher
    Chris Sears and Dan Sears
    Tim Mann <tim@tim-mann.org>
    John Chanak
    Evan Welsh <Evan.Welsh@msdw.com>
    Elmar Bartel <bartel@informatik.tu-muenchen.de>
    Jochen Wiedmann
    Frank McIngvale <frankm@hiwaay.net>
    Hugh Fisher <Hugh.Fisher@cs.anu.edu.au>
    Allessandro Scotti
    H.G. Muller <h.g.muller@hccnet.nl>
    Arun Persaud <arun@nubati.net>
    Eric Mullins <emwine@earthlink.net>

%prep
%setup -q

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

%install
%makeinstall
%suse_update_desktop_file -i %{name} Game BoardGame

%clean
rm -rf $RPM_BUILD_ROOT

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

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

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING COPYRIGHT FAQ.html NEWS README SHORTLOG TODO engine-intf.html ics-parsing.txt readme.htm zippy.README
%{_bindir}/*
%doc %{_mandir}/man6/*.*
%doc %{_infodir}/xboard.info*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%dir %{_datadir}/games/xboard/
%{_datadir}/games/xboard/wood_d.xpm
%{_datadir}/games/xboard/wood_l.xpm
%config %{_sysconfdir}/%{name}.conf

%changelog
openSUSE Build Service is sponsored by