source: projects/specs/trunk/n/nuclearchess/nuclearchess-vl.spec @ 9050

Revision 9050, 2.2 KB checked in by inagaki, 9 years ago (diff)

2014-11-02 Ryoichi INAGAKI <ryo1@…>

  • Sjeng-Free, nuclearchess: rebuilt
  • gettext: changed Group
  • sdparm: updated


Line 
1Summary:        Chess variant that cause surronding pieces to disappear
2Summary(ja):    チェスの変種 周囲の駒も消滅します。
3Name:           nuclearchess
4Version:        1.0.0
5Release:        4%{?_dist_release}
6
7Group:          Applications/Games
8License:        GPLv2
9URL:            http://www.linux-games.com/nuclearchess/
10
11Source:         %{name}-%{version}.tar.gz
12Source1:        %{name}.desktop
13Source2:        %{name}.png
14
15Buildroot:      %{_tmppath}/%{name}-%{version}-root
16BuildRequires:  SDL_image-devel
17Requires:       SDL_image
18
19Vendor: Project Vine
20Distribution: Vine Linux
21
22%description
23NuclearChess is a chess variant. Whenever a piece is captured, both
24pieces and all pieces on neighbour fields die.
25
26%description -l ja
27チェスの変種。
28駒同士がぶつかった時、二つの駒と周囲の駒が消滅します。
29
30%prep
31%setup -q
32sed -i 's|\@LIBS\@|\@LIBS\@ -lm|g' src/Makefile.in
33
34%build
35%configure --datadir=%{_datadir} --bindir=%{_bindir}
36make
37
38%install
39rm -rf %{buildroot}
40%makeinstall
41
42# install desktop
43mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
44install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
45
46# install icon
47mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
48install -p -m 0644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/%{name}.png
49
50%clean
51rm -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
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
69* Sun May 16 2010 Shu KONNO <owa@bg.wakwak.com> 1.0.0-2
70- rebuilt with new environment
71
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
Note: See TracBrowser for help on using the repository browser.