Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37605442
en ru br
ALT Linux repos
S:4.9.1-alt2
5.0: 4.2.7-alt4
4.1: 4.2.7-alt4
4.0: 4.2.7-alt4
3.0: 4.2.7-alt1

Group :: Games/Boards
RPM: xboard

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: xboard
Version: 4.2.7
Release: alt1

Group: Games/Boards

Source: ftp://ftp.gnu.org/pub/gnu/xboard/xboard-%version.tar.bz2
Source1: xboard.xpm.bz2
Source2: xboard-32x32.xpm.bz2
Patch0: xboard-4.0.5-entry.patch.bz2

# Automatically added by buildreq on Tue Jan 27 2004

BuildRequires: XFree86-devel-static flex groff-base xpm-devel


Requires: chess
License: GPL

Summary: An X Window System graphical chessboard
%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.

%prep
%setup -q
%patch0 -p1

%build
%configure

%make_build

%install
%makeinstall

#menu

install -d $RPM_BUILD_ROOT/%_menudir
cat << EOF > $RPM_BUILD_ROOT/%_menudir/xboard
?package(xboard):         \
needs=X11                 \
section=Amusement/Boards  \
title="XBoard"            \
longtitle="A chessboard game" \
command="/usr/bin/xboard -size Small" \
icon="/%_iconsdir/mini/xboard.xpm"
EOF

#icon

install -d $RPM_BUILD_ROOT/%_iconsdir/mini
bzcat %SOURCE1 > $RPM_BUILD_ROOT/%_iconsdir/%name.xpm
bzcat %SOURCE2 > $RPM_BUILD_ROOT/%_iconsdir/mini/%name.xpm

%post
%update_menus
%install_info %name.info

%postun
%clean_menus
%uninstall_info %name.info

%files
%doc COPYING ChangeLog ChangeLog.2 FAQ
%doc FAQ.html INSTALL READ_ME
%_bindir/*
%_mandir/man?/*
%_infodir/*.info*
%_menudir/%name
%_iconsdir/*.xpm
%_iconsdir/mini/*.xpm

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin