]> git.pld-linux.org Git - packages/eboard.git/blob - eboard.spec
0db02f672920101b0c3ac89fcfa5ccf4a556fca4
[packages/eboard.git] / eboard.spec
1 # TODO:
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
5 Name:           eboard
6 Version:        1.0.4
7 Release:        1
8 License:        GPL v2+
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
17 Suggests:       crafty
18 Suggests:       gnuchess
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
26
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.
32
33 %prep
34 %setup -q
35
36 #I think it can be do better
37 %build
38 ./configure \
39         --prefix="%{_prefix}" \
40         --compiler="%{__cxx}" \
41         --man-prefix="%{_mandir}"
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
52 install icon-eboard.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog README TODO Documentation/*.txt
60 %attr(755,root,root) %{_bindir}/*
61 %{_datadir}/%{name}
62 %{_desktopdir}/%{name}.desktop
63 %{_mandir}/man[16]/*
64 %{_pixmapsdir}/%{name}.xpm
This page took 0.047502 seconds and 2 git commands to generate.