]>
Commit | Line | Data |
---|---|---|
a6a4f455 | 1 | Summary: GTK+ chess board interface for ICS and chess engines |
2d655216 | 2 | Summary(pl.UTF-8): Interfejs GTK+ do szachowych programów i serwerów |
d411c89a | 3 | Name: eboard |
68757ca6 | 4 | Version: 1.1.1 |
d4c85be5 | 5 | Release: 8 |
5f4b5858 | 6 | License: GPL v2+ |
d411c89a | 7 | Group: X11/Applications/Games |
2848d767 | 8 | Source0: http://dl.sourceforge.net/eboard/%{name}-%{version}.tar.bz2 |
68757ca6 | 9 | # Source0-md5: 03dcdaa2bc85218b1b18c4bee276fea7 |
ca0c5577 | 10 | Source1: %{name}.desktop |
a039827d | 11 | Patch0: %{name}-const.patch |
c3a9e9a1 | 12 | Patch1: %{name}-libpng15.patch |
ca0c5577 | 13 | URL: http://www.bergo.eng.br/eboard/ |
ccdef418 | 14 | BuildRequires: gtk+2-devel |
a039827d | 15 | BuildRequires: libpng-devel |
ccdef418 | 16 | BuildRequires: libstdc++-devel |
17 | BuildRequires: perl-base | |
18 | BuildRequires: pkgconfig | |
7ccbd83f | 19 | Suggests: Sjeng-Free |
03c02667 PG |
20 | Suggests: crafty |
21 | Suggests: gnuchess | |
d411c89a | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
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. | |
29 | ||
e8873f09 JR |
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 | |
9f7255b9 | 34 | szachowymi jak GNUchess, Sjeng czy Crafty. |
d411c89a | 35 | |
36 | %prep | |
37 | %setup -q | |
17cc977f | 38 | %patch0 -p1 |
c3a9e9a1 | 39 | %patch1 -p1 |
d411c89a | 40 | |
68757ca6 | 41 | # This way is needed, because package contains non-standard configure file |
d411c89a | 42 | %build |
5f4b5858 | 43 | ./configure \ |
44 | --prefix="%{_prefix}" \ | |
45 | --compiler="%{__cxx}" \ | |
c3a9e9a1 | 46 | --extra-libs="dl" \ |
5f4b5858 | 47 | --man-prefix="%{_mandir}" |
d411c89a | 48 | %{__make} |
49 | ||
d411c89a | 50 | %install |
51 | rm -rf $RPM_BUILD_ROOT | |
ca0c5577 | 52 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
d411c89a | 53 | |
54 | %{__make} install \ | |
fbdeebdd | 55 | DESTDIR=$RPM_BUILD_ROOT |
d411c89a | 56 | |
ca0c5577 | 57 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
58 | install icon-eboard.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm | |
59 | ||
d411c89a | 60 | %clean |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
5f4b5858 | 63 | %files |
d411c89a | 64 | %defattr(644,root,root,755) |
ca0c5577 | 65 | %doc AUTHORS ChangeLog README TODO Documentation/*.txt |
d411c89a | 66 | %attr(755,root,root) %{_bindir}/* |
9f7255b9 | 67 | %{_datadir}/%{name} |
ca0c5577 | 68 | %{_desktopdir}/%{name}.desktop |
98cc1a9e | 69 | %{_mandir}/man[16]/* |
ca0c5577 | 70 | %{_pixmapsdir}/%{name}.xpm |