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: 03dcdaa2bc85218b1b18c4bee276fea7
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
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 eboard is a chess interface for Unix-like systems (GNU/Linux, FreeBSD,
24 Solaris, etc.) based on the GTK+ GUI toolkit. It provides a chess
25 board interface to ICS (Internet Chess Servers) like FICS and to chess
26 engines like GNU Chess, Sjeng and Crafty.
28 %description -l pl.UTF-8
29 eboard jest interfejsem do programów szachowych dla systemów
30 uniksowych opartym na bibliotece GTK+. Umożliwia współpracę zarówno z
31 internetowymi serwerami szachowymi (ICS) jak również z programami
32 szachowymi jak GNUchess, Sjeng czy Crafty.
37 # This way is needed, because package contains non-standard configure file
40 --prefix="%{_prefix}" \
41 --compiler="%{__cxx}" \
42 --man-prefix="%{_mandir}"
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
50 DESTDIR=$RPM_BUILD_ROOT
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
53 install icon-eboard.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog README TODO Documentation/*.txt
61 %attr(755,root,root) %{_bindir}/*
63 %{_desktopdir}/%{name}.desktop
65 %{_pixmapsdir}/%{name}.xpm