source: projects/specs/branches/6/g/gnuchess/gnuchess-vl.spec @ 3568

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