nuclearchess-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Summary: Chess variant that cause surronding pieces to disappear
  2. Summary(ja): チェスの変種 周囲の駒も消滅します。
  3. Name: nuclearchess
  4. Version: 1.0.0
  5. Release: 2%{?_dist_release}
  6. License: GPL
  7. Source: %{name}-%{version}.tar.gz
  8. Source1: %{name}.desktop
  9. Source2: %{name}.png
  10. Group: Applications/Games
  11. URL: http://www.linux-games.com/nuclearchess/
  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. %build
  26. %configure --datadir=%{_datadir} --bindir=%{_bindir}
  27. make
  28. %install
  29. rm -rf %{buildroot}
  30. %makeinstall
  31. # install desktop
  32. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
  33. install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
  34. # install icon
  35. mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
  36. install -p -m 0644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/%{name}.png
  37. %clean
  38. rm -rf %{buildroot}
  39. %files
  40. %defattr(-, root, root)
  41. %doc AUTHORS ChangeLog COPYING README
  42. %{_bindir}/*
  43. %{_datadir}/%{name}
  44. %{_datadir}/pixmaps/%{name}*
  45. %{_datadir}/applications/%{name}*
  46. %changelog
  47. * Sun May 16 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.0-2
  48. - rebuilt with new environment
  49. * Wed Oct 08 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.0-1vl5
  50. - new upstream release
  51. - applied new versioning policy, spec in utf-8
  52. * Sun Jul 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.2-3vl3
  53. - rebuilt for VineSeed (4.0)
  54. - changed Group to Applications/Games
  55. * Sun May 22 2005 OOI Keita <ooi.keita@gmail.com> 0.9.2-3vl2
  56. - euc spec file
  57. * Mon Mar 14 2005 OOI Keita <ooi.keita@gmail.com> 0.9.2-3vl1
  58. - build
  59. - add desktop entry and icon