]> git.pld-linux.org Git - packages/eboard.git/blob - eboard.spec
- release 8 (by relup.sh)
[packages/eboard.git] / eboard.spec
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
3 Name:           eboard
4 Version:        1.1.1
5 Release:        8
6 License:        GPL v2+
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
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 %patch1 -p1
40
41 # This way is needed, because package contains non-standard configure file
42 %build
43 ./configure \
44         --prefix="%{_prefix}" \
45         --compiler="%{__cxx}" \
46         --extra-libs="dl" \
47         --man-prefix="%{_mandir}"
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58 install icon-eboard.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog README TODO Documentation/*.txt
66 %attr(755,root,root) %{_bindir}/*
67 %{_datadir}/%{name}
68 %{_desktopdir}/%{name}.desktop
69 %{_mandir}/man[16]/*
70 %{_pixmapsdir}/%{name}.xpm
This page took 0.073313 seconds and 4 git commands to generate.