1 | Summary: A chess board interface for ICS and engines |
---|
2 | Summary(ja): ICS (Internet Chess Servers) と思考エンジンに対応のチェスボード。 |
---|
3 | Name: eboard |
---|
4 | Version: 1.0.4 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPL |
---|
7 | Group: Applications/Games |
---|
8 | Source: http://prdownloads.sourceforge.net/eboard/eboard-%{version}.tar.bz2 |
---|
9 | Patch: eboard-0.9.5jp.patch |
---|
10 | URL: http://www.bergo.eng.br/eboard/ |
---|
11 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | BuildRequires: gtk2-devel, libpng-devel |
---|
13 | Vendor: Project Vine |
---|
14 | Distribution: Vine Linux |
---|
15 | Packager: IKEDA Katsumi <ikeda@webmasters.gr.jp> |
---|
16 | |
---|
17 | %define _sysconfdir /etc |
---|
18 | |
---|
19 | %description |
---|
20 | eboard is a GTK+ chess board interface for ICS (Internet |
---|
21 | Chess Servers) and chess engines (GNU Chess, Crafty, etc.). |
---|
22 | It also displays games in PGN (Portable Game Notation) |
---|
23 | format. |
---|
24 | |
---|
25 | %description -l ja |
---|
26 | eboard は、ICS (Internet Chess Servers) や チェスエンジン (GNU Chess や Crafty |
---|
27 | など)に対応した、GTK+ を使ったチェスボードのインターフェースです。ネットワーク |
---|
28 | による人間同士の対戦や、コンピュータとの対戦を楽しむことができます。 |
---|
29 | PGN (Portable Game Notation) フォーマットのゲームを表示することもできます。 |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q |
---|
33 | #patch -p1 |
---|
34 | |
---|
35 | %build |
---|
36 | %configure --man-prefix=%{_mandir} |
---|
37 | make |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | |
---|
42 | make bindir=${RPM_BUILD_ROOT}%{_bindir} mandir=${RPM_BUILD_ROOT}%{_mandir} datadir=${RPM_BUILD_ROOT}%{_datadir}/eboard install |
---|
43 | |
---|
44 | chmod 644 ${RPM_BUILD_ROOT}%{_mandir}/*/* |
---|
45 | install gnupiece.xpm ${RPM_BUILD_ROOT}%{_datadir}/eboard/ |
---|
46 | |
---|
47 | # Desktop file |
---|
48 | mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications |
---|
49 | |
---|
50 | pushd ${RPM_BUILD_ROOT}%{_datadir}/applications |
---|
51 | #cat << EOF > eboard.desktop.euc |
---|
52 | cat << EOF > eboard.desktop |
---|
53 | [Desktop Entry] |
---|
54 | Name=eboard |
---|
55 | Comment=A chess board interface |
---|
56 | Comment[ja]=チェスボードのインタフェース |
---|
57 | Exec=eboard |
---|
58 | Icon=/usr/share/eboard/gnupiece.xpm |
---|
59 | Type=Application |
---|
60 | Categories=GNOME;Application;Game; |
---|
61 | EOF |
---|
62 | #iconv -f EUC-JP -t UTF-8 -o eboard.desktop eboard.desktop.euc |
---|
63 | #rm -f eboard.desktop.euc |
---|
64 | popd |
---|
65 | |
---|
66 | desktop-file-install --delete-original --vendor= \ |
---|
67 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
68 | ${RPM_BUILD_ROOT}%{_datadir}/applications/* |
---|
69 | |
---|
70 | %clean |
---|
71 | rm -rf ${RPM_BUILD_ROOT} |
---|
72 | |
---|
73 | %files |
---|
74 | %defattr(-,root,root) |
---|
75 | %doc ChangeLog COPYING INSTALL README TODO |
---|
76 | %doc Documentation/Crafty.txt Documentation/FICS-Timeseal.txt |
---|
77 | %doc Documentation/GNUChess4.txt Documentation/GNUChess5.txt |
---|
78 | %doc Documentation/Scripts.txt Documentation/Sjeng.txt Documentation/Themes.txt |
---|
79 | %{_bindir}/eboard |
---|
80 | %{_bindir}/eboard-config |
---|
81 | %{_bindir}/eboard-addtheme |
---|
82 | %{_mandir}/man1/eboard-config.1* |
---|
83 | %{_mandir}/man1/eboard-addtheme.1* |
---|
84 | %{_mandir}/man6/eboard.6* |
---|
85 | %{_datadir}/eboard/classic.png |
---|
86 | %{_datadir}/eboard/ghouls.png |
---|
87 | %{_datadir}/eboard/plastic.png |
---|
88 | %{_datadir}/eboard/eboard_themes.conf |
---|
89 | %{_datadir}/eboard/NAG.en.txt |
---|
90 | %{_datadir}/eboard/eboard.*.dict |
---|
91 | %{_datadir}/eboard/gnupiece.xpm |
---|
92 | %{_datadir}/applications/eboard.desktop |
---|
93 | |
---|
94 | %changelog |
---|
95 | * Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.4-1vl5 |
---|
96 | - applied new versioning policy, spec in utf-8 |
---|
97 | - reverted script to make eboard.desktop |
---|
98 | |
---|
99 | * Sat Aug 25 2007 Shu KONNO <owa@bg.wakwak.com> 1.0.4-0vl2 |
---|
100 | - changed euic-jp string to utf-8 codes in script eboard.desktop |
---|
101 | |
---|
102 | * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-0vl1 |
---|
103 | - new upstream release |
---|
104 | - updated URL |
---|
105 | |
---|
106 | * Mon Sep 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.5-1vl4 |
---|
107 | - changed Group to Applications/Games |
---|
108 | |
---|
109 | * Sun Aug 15 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.9.5-1vl3 |
---|
110 | - Added BuildRequires. |
---|
111 | - Modified Requires (libstdc++3). |
---|
112 | - Modified the install way of eboard.desktop. |
---|
113 | - Rebuild for Vine Linux 3.0 |
---|
114 | |
---|
115 | * Fri Jul 23 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.9.5-1vl2 |
---|
116 | - Removed duplicated configure. |
---|
117 | - Modified %%install and %%files. |
---|
118 | |
---|
119 | * Fri Feb 13 2004 by IKEDA Katsumi <ikeda@webmasters.gr.jp> |
---|
120 | - 0.9.5-1vl1 |
---|
121 | - Modified Group, Source, Buildroot, %build, %install and %files. |
---|
122 | - Add Patch, %Summary(ja) and %description -l ja. |
---|
123 | - Remove %define ver, rel and prefix. |
---|
124 | |
---|
125 | * Fri May 25 2001 Felipe Bergo <bergo@seul.org> |
---|
126 | - built from the gPS spec |
---|