2 # - check why it fails with ccache turned on
3 Summary: GTK+ chess board interface for ICS and chess engines
4 Summary(pl.UTF-8): Interfejs GTK+ do szachowych programów i serwerów
9 Group: X11/Applications/Games
10 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
11 # Source0-md5: 2bd2927a670ed23594cbf524bc5746ef
12 Source1: %{name}.desktop
13 URL: http://www.bergo.eng.br/eboard/
14 BuildRequires: gtk+-devel >= 1.2.6
15 BuildRequires: imlib-devel
16 BuildRequires: libstdc++-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 eboard is a chess interface for Unix-like systems (GNU/Linux, FreeBSD,
23 Solaris, etc.) based on the GTK+ GUI toolkit. It provides a chess
24 board interface to ICS (Internet Chess Servers) like FICS and to chess
25 engines like GNU Chess, Sjeng and Crafty.
27 %description -l pl.UTF-8
28 eboard jest interfejsem do programów szachowych dla systemów
29 uniksowych opartym na bibliotece GTK+. Umożliwia współpracę zarówno z
30 internetowymi serwerami szachowymi (ICS) jak również z programami
31 szachowymi jak GNUchess, Sjeng czy Crafty.
36 #I think it can be do better
39 --prefix="%{_prefix}" \
40 --compiler="%{__cxx}" \
41 --man-prefix="%{_mandir}"
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
49 DESTDIR=$RPM_BUILD_ROOT
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
52 install icon-eboard.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog README TODO Documentation/*.txt
60 %attr(755,root,root) %{_bindir}/*
62 %{_desktopdir}/%{name}.desktop
64 %{_pixmapsdir}/%{name}.xpm