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