eboard-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Summary: A chess board interface for ICS and engines
  2. Summary(ja): ICS (Internet Chess Servers) と思考エンジンに対応のチェスボード。
  3. Name: eboard
  4. Version: 1.0.4
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Games
  8. Source: http://prdownloads.sourceforge.net/eboard/eboard-%{version}.tar.bz2
  9. Patch: eboard-0.9.5jp.patch
  10. URL: http://www.bergo.eng.br/eboard/
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk2-devel, libpng-devel
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: IKEDA Katsumi <ikeda@webmasters.gr.jp>
  16. %define _sysconfdir /etc
  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. %build
  31. %configure --man-prefix=%{_mandir}
  32. make
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make bindir=${RPM_BUILD_ROOT}%{_bindir} mandir=${RPM_BUILD_ROOT}%{_mandir} datadir=${RPM_BUILD_ROOT}%{_datadir}/eboard install
  36. chmod 644 ${RPM_BUILD_ROOT}%{_mandir}/*/*
  37. install gnupiece.xpm ${RPM_BUILD_ROOT}%{_datadir}/eboard/
  38. # Desktop file
  39. mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
  40. pushd ${RPM_BUILD_ROOT}%{_datadir}/applications
  41. #cat << EOF > eboard.desktop.euc
  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. #iconv -f EUC-JP -t UTF-8 -o eboard.desktop eboard.desktop.euc
  53. #rm -f eboard.desktop.euc
  54. popd
  55. desktop-file-install --delete-original --vendor= \
  56. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  57. ${RPM_BUILD_ROOT}%{_datadir}/applications/*
  58. %clean
  59. rm -rf ${RPM_BUILD_ROOT}
  60. %files
  61. %defattr(-,root,root)
  62. %doc ChangeLog COPYING INSTALL README TODO
  63. %doc Documentation/Crafty.txt Documentation/FICS-Timeseal.txt
  64. %doc Documentation/GNUChess4.txt Documentation/GNUChess5.txt
  65. %doc Documentation/Scripts.txt Documentation/Sjeng.txt Documentation/Themes.txt
  66. %{_bindir}/eboard
  67. %{_bindir}/eboard-config
  68. %{_bindir}/eboard-addtheme
  69. %{_mandir}/man1/eboard-config.1*
  70. %{_mandir}/man1/eboard-addtheme.1*
  71. %{_mandir}/man6/eboard.6*
  72. %{_datadir}/eboard/classic.png
  73. %{_datadir}/eboard/ghouls.png
  74. %{_datadir}/eboard/plastic.png
  75. %{_datadir}/eboard/eboard_themes.conf
  76. %{_datadir}/eboard/NAG.en.txt
  77. %{_datadir}/eboard/eboard.*.dict
  78. %{_datadir}/eboard/gnupiece.xpm
  79. %{_datadir}/applications/eboard.desktop
  80. %changelog
  81. * Sat Aug 30 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.4-1vl5
  82. - applied new versioning policy, spec in utf-8
  83. - reverted script to make eboard.desktop
  84. * Sat Aug 25 2007 Shu KONNO <owa@bg.wakwak.com> 1.0.4-0vl2
  85. - changed euic-jp string to utf-8 codes in script eboard.desktop
  86. * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-0vl1
  87. - new upstream release
  88. - updated URL
  89. * Mon Sep 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.5-1vl4
  90. - changed Group to Applications/Games
  91. * Sun Aug 15 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.9.5-1vl3
  92. - Added BuildRequires.
  93. - Modified Requires (libstdc++3).
  94. - Modified the install way of eboard.desktop.
  95. - Rebuild for Vine Linux 3.0
  96. * Fri Jul 23 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 0.9.5-1vl2
  97. - Removed duplicated configure.
  98. - Modified %%install and %%files.
  99. * Fri Feb 13 2004 by IKEDA Katsumi <ikeda@webmasters.gr.jp>
  100. - 0.9.5-1vl1
  101. - Modified Group, Source, Buildroot, %build, %install and %files.
  102. - Add Patch, %Summary(ja) and %description -l ja.
  103. - Remove %define ver, rel and prefix.
  104. * Fri May 25 2001 Felipe Bergo <bergo@seul.org>
  105. - built from the gPS spec