gnuchess-vl.spec 5.8 KB

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