source: projects/specs/trunk/g/gnuchess/gnuchess-vl.spec @ 3495

Revision 3495, 5.5 KB checked in by inagaki, 13 years ago (diff)

update: gnuchess, gsm

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