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