Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37602734
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: alt4

Group: Games/Boards

Packager: Stanislav Ievlev <inger at altlinux.org>

Source: ftp://ftp.gnu.org/pub/gnu/xboard/xboard-%version.tar

Source1: xboard-16x16.png
Source2: xboard-32x32.png
Source3: xboard-48x48.png
Source4: xboard.desktop
Source5: xboard.ad

Requires(post): %install_info
Requires(preun): %uninstall_info

Requires: %name-theme

Patch0: xboard-4.0.5-entry.patch

# Automatically added by buildreq on Mon Feb 27 2006

BuildRequires: flex groff-base imake libICE-devel libSM-devel libX11-devel libXaw-devel libXext-devel libXmu-devel libXpm-devel libXt-devel xorg-cf-files xorg-x11-proto-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.

%package theme-default
Summary: default theme for xboard
Group: Graphics
License: GPL
Provides: %name-theme
Requires: %name

%description theme-default
default theme for xboard

%prep
%setup -q
%patch0 -p1

%build
%configure

%make_build

%install
%makeinstall

#icon

%__install -Dpm644 %SOURCE1 $RPM_BUILD_ROOT/%_miconsdir/%name.png
%__install -Dpm644 %SOURCE2 $RPM_BUILD_ROOT/%_niconsdir/%name.png
%__install -Dpm644 %SOURCE3 $RPM_BUILD_ROOT/%_liconsdir/%name.png
%__install -Dpm644 %SOURCE4 $RPM_BUILD_ROOT/%_desktopdir/%name.desktop
%__install -Dpm644 %SOURCE5 $RPM_BUILD_ROOT/%_sysconfdir/X11/app-defaults/XBoard

#default theme

%__install -d %buildroot%_datadir/%name/theme
cp -a pixmaps/*.xpm %buildroot%_datadir/%name/theme

%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
%config(noreplace) %_sysconfdir/X11/app-defaults/*
%_bindir/*
%_man6dir/*
%_infodir/*.info*
%_desktopdir/*
%_miconsdir/*.png
%_niconsdir/*.png
%_liconsdir/*.png

%files theme-default
%_datadir/%name/theme

%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