1 Summary: GTK+ chess board interface for ICS and chess engines
2 Summary(pl.UTF-8): Interfejs GTK+ do szachowych programów i serwerów
7 Group: X11/Applications/Games
8 Source0: http://dl.sourceforge.net/eboard/%{name}-%{version}.tar.bz2
9 # Source0-md5: 03dcdaa2bc85218b1b18c4bee276fea7
10 Source1: %{name}.desktop
11 Patch0: %{name}-const.patch
12 Patch1: %{name}-libpng15.patch
13 URL: http://www.bergo.eng.br/eboard/
14 BuildRequires: gtk+2-devel
15 BuildRequires: libpng-devel
16 BuildRequires: libstdc++-devel
17 BuildRequires: perl-base
18 BuildRequires: pkgconfig
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.
41 # This way is needed, because package contains non-standard configure file
44 --prefix="%{_prefix}" \
45 --compiler="%{__cxx}" \
47 --man-prefix="%{_mandir}"
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
55 DESTDIR=$RPM_BUILD_ROOT
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58 install icon-eboard.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog README TODO Documentation/*.txt
66 %attr(755,root,root) %{_bindir}/*
68 %{_desktopdir}/%{name}.desktop
70 %{_pixmapsdir}/%{name}.xpm