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/eboard/%{name}-%{version}.tar.bz2
11 # Source0-md5: 03dcdaa2bc85218b1b18c4bee276fea7
12 Source1: %{name}.desktop
13 Patch0: %{name}-const.patch
14 URL: http://www.bergo.eng.br/eboard/
15 BuildRequires: gtk+-devel >= 1.2.6
16 BuildRequires: imlib-devel
17 BuildRequires: libstdc++-devel
18 BuildRequires: libpng-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 eboard is a chess interface for Unix-like systems (GNU/Linux, FreeBSD,
26 Solaris, etc.) based on the GTK+ GUI toolkit. It provides a chess
27 board interface to ICS (Internet Chess Servers) like FICS and to chess
28 engines like GNU Chess, Sjeng and Crafty.
30 %description -l pl.UTF-8
31 eboard jest interfejsem do programów szachowych dla systemów
32 uniksowych opartym na bibliotece GTK+. Umożliwia współpracę zarówno z
33 internetowymi serwerami szachowymi (ICS) jak również z programami
34 szachowymi jak GNUchess, Sjeng czy Crafty.
40 # This way is needed, because package contains non-standard configure file
43 --prefix="%{_prefix}" \
44 --compiler="%{__cxx}" \
45 --man-prefix="%{_mandir}"
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
53 DESTDIR=$RPM_BUILD_ROOT
55 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
56 install icon-eboard.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc AUTHORS ChangeLog README TODO Documentation/*.txt
64 %attr(755,root,root) %{_bindir}/*
66 %{_desktopdir}/%{name}.desktop
68 %{_pixmapsdir}/%{name}.xpm