nuclearchess-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Summary: Chess variant that cause surronding pieces to disappear
  2. Summary(ja): チェスの変種 周囲の駒も消滅します。
  3. Name: nuclearchess
  4. Version: 1.0.0
  5. Release: 4%{?_dist_release}
  6. Group: Applications/Games
  7. License: GPLv2
  8. URL: http://www.linux-games.com/nuclearchess/
  9. Source: %{name}-%{version}.tar.gz
  10. Source1: %{name}.desktop
  11. Source2: %{name}.png
  12. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: SDL_image-devel
  14. Requires: SDL_image
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. NuclearChess is a chess variant. Whenever a piece is captured, both
  19. pieces and all pieces on neighbour fields die.
  20. %description -l ja
  21. チェスの変種。
  22. 駒同士がぶつかった時、二つの駒と周囲の駒が消滅します。
  23. %prep
  24. %setup -q
  25. sed -i 's|\@LIBS\@|\@LIBS\@ -lm|g' src/Makefile.in
  26. %build
  27. %configure --datadir=%{_datadir} --bindir=%{_bindir}
  28. make
  29. %install
  30. rm -rf %{buildroot}
  31. %makeinstall
  32. # install desktop
  33. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
  34. install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
  35. # install icon
  36. mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
  37. install -p -m 0644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/%{name}.png
  38. %clean
  39. rm -rf %{buildroot}
  40. %files
  41. %defattr(-, root, root)
  42. %doc AUTHORS ChangeLog COPYING README
  43. %{_bindir}/*
  44. %{_datadir}/%{name}
  45. %{_datadir}/pixmaps/%{name}*
  46. %{_datadir}/applications/%{name}*
  47. %changelog
  48. * Sun Nov 2 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.0-4
  49. - rebuilt on current VineSeed
  50. - fixed src/Makefile.in
  51. * Sun Jun 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-3
  52. - rebuild with Vine6 environment
  53. * Sun May 16 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.0-2
  54. - rebuilt with new environment
  55. * Wed Oct 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.0-1vl5
  56. - new upstream release
  57. - applied new versioning policy, spec in utf-8
  58. * Sun Jul 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.2-3vl3
  59. - rebuilt for VineSeed (4.0)
  60. - changed Group to Applications/Games
  61. * Sun May 22 2005 OOI Keita <ooi.keita@gmail.com> 0.9.2-3vl2
  62. - euc spec file
  63. * Mon Mar 14 2005 OOI Keita <ooi.keita@gmail.com> 0.9.2-3vl1
  64. - build
  65. - add desktop entry and icon