]> git.pld-linux.org Git - packages/eboard.git/blob - eboard.spec
7634e6fc529d7f20e385ca94db20377b6c6f68f5
[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.1.1
7 Release:        4
8 License:        GPL v2+
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
19 Suggests:       Sjeng-Free
20 Suggests:       crafty
21 Suggests:       gnuchess
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
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.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 # This way is needed, because package contains non-standard configure file
41 %build
42 ./configure \
43         --prefix="%{_prefix}" \
44         --compiler="%{__cxx}" \
45         --man-prefix="%{_mandir}"
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
56 install icon-eboard.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc AUTHORS ChangeLog README TODO Documentation/*.txt
64 %attr(755,root,root) %{_bindir}/*
65 %{_datadir}/%{name}
66 %{_desktopdir}/%{name}.desktop
67 %{_mandir}/man[16]/*
68 %{_pixmapsdir}/%{name}.xpm
This page took 0.035937 seconds and 3 git commands to generate.