eboard-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Summary: A chess board interface for ICS and engines
  2. Summary(ja): ICS (Internet Chess Servers) と思考エンジンに対応のチェスボード。
  3. Name: eboard
  4. Version: 1.1.1
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Games
  8. Source: http://prdownloads.sourceforge.net/eboard/eboard-%{version}.tar.bz2
  9. Patch0: eboard-0.9.5jp.patch
  10. Patch1: eboard-1.1.1-ntext.patch
  11. URL: http://www.bergo.eng.br/eboard/
  12. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gtk2-devel, libpng-devel
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: IKEDA, inagaki, owa
  17. %description
  18. eboard is a GTK+ chess board interface for ICS (Internet
  19. Chess Servers) and chess engines (GNU Chess, Crafty, etc.).
  20. It also displays games in PGN (Portable Game Notation)
  21. format.
  22. %description -l ja
  23. eboard は、ICS (Internet Chess Servers) や チェスエンジン (GNU Chess や Crafty
  24. など)に対応した、GTK+ を使ったチェスボードのインターフェースです。ネットワーク
  25. による人間同士の対戦や、コンピュータとの対戦を楽しむことができます。
  26. PGN (Portable Game Notation) フォーマットのゲームを表示することもできます。
  27. %prep
  28. %setup -q
  29. #patch -p1
  30. %patch1 -p0 -b .ntext
  31. %build
  32. %configure --man-prefix=%{_mandir}
  33. make
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make bindir=${RPM_BUILD_ROOT}%{_bindir} mandir=${RPM_BUILD_ROOT}%{_mandir} datadir=${RPM_BUILD_ROOT}%{_datadir}/eboard install
  37. chmod 644 ${RPM_BUILD_ROOT}%{_mandir}/*/*
  38. install gnupiece.xpm ${RPM_BUILD_ROOT}%{_datadir}/eboard/
  39. # Desktop file
  40. mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
  41. pushd ${RPM_BUILD_ROOT}%{_datadir}/applications
  42. cat << EOF > eboard.desktop
  43. [Desktop Entry]
  44. Name=eboard
  45. Comment=A chess board interface
  46. Comment[ja]=チェスボードのインタフェース
  47. Exec=eboard
  48. Icon=/usr/share/eboard/gnupiece.xpm
  49. Type=Application
  50. Categories=GNOME;Application;Game;
  51. EOF
  52. popd
  53. desktop-file-install --delete-original --vendor= \
  54. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  55. ${RPM_BUILD_ROOT}%{_datadir}/applications/*
  56. %post
  57. update-desktop-database >& /dev/null ||:
  58. %postun
  59. update-desktop-database >& /dev/null ||:
  60. %clean
  61. rm -rf ${RPM_BUILD_ROOT}
  62. %files
  63. %defattr(-,root,root)
  64. %doc ChangeLog COPYING INSTALL README TODO
  65. %doc Documentation/Crafty.txt Documentation/FICS-Timeseal.txt
  66. %doc Documentation/GNUChess4.txt Documentation/GNUChess5.txt
  67. %doc Documentation/Scripts.txt Documentation/Sjeng.txt Documentation/Themes.txt
  68. %{_bindir}/eboard
  69. %{_bindir}/eboard-config
  70. %{_bindir}/eboard-addtheme
  71. %{_mandir}/man1/eboard-config.1*
  72. %{_mandir}/man1/eboard-addtheme.1*
  73. %{_mandir}/man6/eboard.6*
  74. %{_datadir}/eboard/classic.png
  75. %{_datadir}/eboard/ghouls.png
  76. %{_datadir}/eboard/plastic.png
  77. %{_datadir}/eboard/eboard_themes.conf
  78. %{_datadir}/eboard/NAG.en.txt
  79. %{_datadir}/eboard/eboard.*.dict
  80. %{_datadir}/eboard/gnupiece.xpm
  81. %{_datadir}/applications/eboard.desktop
  82. %changelog
  83. * Sun May 16 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.1-1
  84. - updated eboard to 1.1.1
  85. - added eboard-1.1.1-ntext.patch
  86. - added %%post, %%postun section
  87. - rebuilt with new environment
  88. * Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.4-1vl5
  89. - applied new versioning policy, spec in utf-8
  90. - reverted script to make eboard.desktop
  91. * Sat Aug 25 2007 Shu KONNO <owa@bg.wakwak.com> 1.0.4-0vl2
  92. - changed euic-jp string to utf-8 codes in script eboard.desktop
  93. * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-0vl1
  94. - new upstream release
  95. - updated URL
  96. * Mon Sep 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.5-1vl4
  97. - changed Group to Applications/Games
  98. * Sun Aug 15 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.9.5-1vl3
  99. - Added BuildRequires.
  100. - Modified Requires (libstdc++3).
  101. - Modified the install way of eboard.desktop.
  102. - Rebuild for Vine Linux 3.0
  103. * Fri Jul 23 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.9.5-1vl2
  104. - Removed duplicated configure.
  105. - Modified %%install and %%files.
  106. * Fri Feb 13 2004 by IKEDA Katsumi <ikeda@webmasters.gr.jp>
  107. - 0.9.5-1vl1
  108. - Modified Group, Source, Buildroot, %build, %install and %files.
  109. - Add Patch, %Summary(ja) and %description -l ja.
  110. - Remove %define ver, rel and prefix.
  111. * Fri May 25 2001 Felipe Bergo <bergo@seul.org>
  112. - built from the gPS spec