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