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