[521] | 1 | Summary: The GNU chess program. |
---|
| 2 | Summary(ja): GNU チェスゲーム |
---|
| 3 | Name: gnuchess |
---|
| 4 | Version: 5.07 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPL |
---|
| 7 | Group: Applications/Games |
---|
| 8 | URL: ftp://ftp.gnu.org/pub/gnu/chess/ |
---|
| 9 | Source: ftp://ftp.gnu.org/pub/gnu/chess/%{name}-%{version}.tar.gz |
---|
| 10 | ##Source1: http://ftp.gnu.org/pub/gnu/chess/book_1.00.pgn.gz |
---|
| 11 | # use precompiled book.dat: |
---|
| 12 | Source1: http://ftp.gnu.org/pub/gnu/chess/book.dat.gz |
---|
| 13 | #Patch0: gnuchess-5.02-fsstnd.patch |
---|
| 14 | Patch1: gnuchess-5.06-bookpath.patch |
---|
| 15 | Patch2: gnuchess-5.07-common.patch |
---|
| 16 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | Provides: chessprogram |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | The gnuchess package contains the GNU chess program. By default, |
---|
| 22 | GNUchess uses a curses text-based interface. Alternatively, GNUchess |
---|
| 23 | can be used in conjunction with the xboard user interface and the X |
---|
| 24 | Window System for a graphical chessboard. |
---|
| 25 | |
---|
| 26 | Install the gnuchess package if you would like to play chess on your |
---|
| 27 | computer. If you'd like to use a graphical interface with GNUchess, |
---|
| 28 | you'll also need to install the xboard package and the X Window System. |
---|
| 29 | |
---|
| 30 | %description -l ja |
---|
| 31 | GNUチェスプログラムを含むパッケージです。デフォルトはテキストベースで |
---|
| 32 | すが、グラフィックチェス用のxboardインターフェイスと組み合わせることに |
---|
| 33 | より、グラフィカルに楽しめます。 |
---|
| 34 | |
---|
| 35 | コンピュータ上でチェスを楽しみたいのであればこのパッケージをインストー |
---|
| 36 | ルしましょう。ただし、グラフィカルに楽しみたいのであれば、xbordとX |
---|
| 37 | Window Systemをあらかじめインストールしておいてください。 |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %prep |
---|
| 41 | %setup -q -n %{name}-%{version} |
---|
| 42 | #%patch0 -p1 -b .fsp |
---|
| 43 | %patch1 -p1 -b .bp |
---|
| 44 | %patch2 -p1 -b .common |
---|
| 45 | gzip -dc %{SOURCE1} > book/book.dat |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %configure |
---|
| 49 | make |
---|
| 50 | |
---|
| 51 | %install |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
| 53 | mkdir -p $RPM_BUILD_ROOT/var/lib/games/gnuchess $RPM_BUILD_ROOT/usr/bin |
---|
| 54 | install -m 755 src/gnuchess $RPM_BUILD_ROOT/usr/bin |
---|
| 55 | install -m 644 book/book.dat $RPM_BUILD_ROOT/var/lib/games/gnuchess |
---|
| 56 | |
---|
| 57 | cd $RPM_BUILD_ROOT |
---|
| 58 | strip usr/bin/gnuchess |
---|
| 59 | |
---|
| 60 | %clean |
---|
| 61 | rm -rf $RPM_BUILD_ROOT |
---|
| 62 | |
---|
| 63 | %files |
---|
| 64 | %defattr(-,root,root) |
---|
| 65 | %attr(2755,root,games) %{_bindir}/%{name} |
---|
| 66 | %dir /var/lib/games/%{name} |
---|
| 67 | %attr(664,root,games) /var/lib/games/%{name}/book.dat |
---|
| 68 | %doc doc/* COPYING |
---|
| 69 | |
---|
| 70 | %changelog |
---|
| 71 | * Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.07-1vl5 |
---|
| 72 | - applied new versioning policy |
---|
| 73 | - spec in UTF-8 |
---|
| 74 | |
---|
| 75 | * Tue Jan 29 2008 Shu KONNO <owa@bg.wakwak.com> - 5.07-0vl1 |
---|
| 76 | - updated gnuchess to 5.07 |
---|
| 77 | - added gnuchess-5.07-common.patch |
---|
| 78 | |
---|
| 79 | * Mon Sep 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 5.06-2vl2 |
---|
| 80 | - rebuilt with new toolchains |
---|
| 81 | - changed Group to Applications/Games |
---|
| 82 | |
---|
| 83 | * Thu Aug 14 2003 Susumu Tanimura <stanimura-ngs@umin.ac.jp> |
---|
| 84 | - Japanized this spec file. |
---|
| 85 | |
---|
| 86 | * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> |
---|
| 87 | - rebuilt |
---|
| 88 | |
---|
| 89 | * Mon May 05 2003 Karsten Hopp <karsten@redhat.de> 5.06-1 |
---|
| 90 | - update |
---|
| 91 | - precompile book.dat |
---|
| 92 | |
---|
| 93 | * Wed Jan 22 2003 Tim Powers <timp@redhat.com> |
---|
| 94 | - rebuilt |
---|
| 95 | |
---|
| 96 | * Tue Nov 19 2002 Tim Powers <timp@redhat.com> |
---|
| 97 | - rebuild for all arches |
---|
| 98 | |
---|
| 99 | * Sat Jul 27 2002 Karsten Hopp <karsten@redhat.de> |
---|
| 100 | - compress SRPM with bzip2 to save some space |
---|
| 101 | |
---|
| 102 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 103 | - automated rebuild |
---|
| 104 | |
---|
| 105 | * Thu May 30 2002 Karsten Hopp <karsten@redhat.de> |
---|
| 106 | - remove obsolete Obsoletes: gnuchess |
---|
| 107 | |
---|
| 108 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
| 109 | - automated rebuild |
---|
| 110 | |
---|
| 111 | * Fri Jan 25 2002 Karsten Hopp <karsten@redhat.de> |
---|
| 112 | - Fix buffer overflow |
---|
| 113 | |
---|
| 114 | * Wed Jan 23 2002 Karsten Hopp <karsten@redhat.de> (5.02-4) |
---|
| 115 | - remove ExcludeArch Alpha |
---|
| 116 | |
---|
| 117 | * Wed Dec 19 2001 Karsten Hopp <karsten@redhat.de> 5.02-2 |
---|
| 118 | - fix #57687 (book.dat not writable) |
---|
| 119 | |
---|
| 120 | * Wed Nov 28 2001 Karsten Hopp <karsten@redhat.de> |
---|
| 121 | - Update gnuchess to 5.02 |
---|
| 122 | - added URL (#54612) |
---|
| 123 | - ExcludeArch alpha until the compiler is fixed |
---|
| 124 | |
---|
| 125 | * Wed Jul 07 2001 Karsten Hopp <karsten@redhat.de> |
---|
| 126 | - dir /usr/lib/games/gnuchess owned by this package |
---|
| 127 | |
---|
| 128 | * Sat Jul 07 2001 Karsten Hopp <karsten@redhat.de> |
---|
| 129 | - add BuildRequires (#45026) |
---|
| 130 | |
---|
| 131 | * Thu Jul 13 2000 Prospector <bugzilla@redhat.com> |
---|
| 132 | - automatic rebuild |
---|
| 133 | |
---|
| 134 | * Fri Jun 10 2000 Bill Nottingham <notting@redhat.com> |
---|
| 135 | - rebuid in new environment |
---|
| 136 | |
---|
| 137 | * Mon Apr 3 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 138 | - Rebuild with new ncurses |
---|
| 139 | - do NOT update to 5.00 because it sucks: The UI is gone, the print |
---|
| 140 | tools are gone, and the Makefile contains DOS-specific instructions. |
---|
| 141 | |
---|
| 142 | * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com> |
---|
| 143 | - handle compressed man pages |
---|
| 144 | |
---|
| 145 | * Sat Aug 14 1999 Bill Nottingham <notting@redhat.com> |
---|
| 146 | - provide chessprogram, don't require xboard |
---|
| 147 | |
---|
| 148 | * Fri Jul 29 1999 Bill Nottingham <notting@redhat.com> |
---|
| 149 | - update to 4.0pl80 |
---|
| 150 | |
---|
| 151 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 152 | - auto rebuild in the new build environment (release 3) |
---|
| 153 | |
---|
| 154 | * Mon Jan 23 1999 Michael Maher <mike@redhat.com> |
---|
| 155 | - changed group name |
---|
| 156 | |
---|
| 157 | * Thu Dec 17 1998 Michael Maher <mike@redhat.com> |
---|
| 158 | - rebuilt for 6.0, cleaned up spec file. |
---|
| 159 | |
---|
| 160 | * Fri May 01 1998 Prospector System <bugs@redhat.com> |
---|
| 161 | - translations modified for de, fr, tr |
---|
| 162 | |
---|
| 163 | * Wed Apr 15 1998 Erik Troan <ewt@redhat.com> |
---|
| 164 | - built against new ncurses |
---|
| 165 | |
---|
| 166 | * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com> |
---|
| 167 | - BuildRoot'ed |
---|
| 168 | |
---|
| 169 | * Thu Jul 10 1997 Erik Troan <ewt@redhat.com> |
---|
| 170 | - built against glibc |
---|