]>
Commit | Line | Data |
---|---|---|
c1907632 AG |
1 | Summary: Very simple mouse shooting game. |
2 | Name: OilWar | |
3 | Version: 1.1.0 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
6 | Group: X11/Applications/Games | |
7 | Source0: http://www.2ndpoint.fi/projektit/filut/%{name}-%{version}.tar.gz | |
8 | Source1: %{name}.png | |
9 | Source2: %{name}.desktop | |
10 | URL: http://www.2ndpoint.fi/projektit/oilwar.html | |
11 | BuildRequires: SDL-devel >= 1.2.0 | |
12 | BuildRequires: SDL_image-devel | |
13 | BuildRequires: SDL_mixer-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | OilWar is a simple game where you shoot enemy soldiers and tanks with | |
18 | your mouse. The evil army is attacking your land and tries to steal | |
19 | your oil. Your mission: waste the invaders, protect the oil, protect | |
20 | the mother land... | |
21 | ||
22 | %prep | |
23 | %setup -q -n %{name}-%{version} | |
24 | ||
25 | %build | |
26 | rm -f missing | |
27 | %configure2_13 | |
28 | %{__make} | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | install -d $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Arcade,%{_pixmapsdir}} | |
34 | ||
35 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
36 | ||
37 | install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir} | |
38 | install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc ChangeLog README AUTHORS | |
47 | %attr(755,root,root) %{_bindir}/* | |
48 | %{_datadir}/games/oilwar/* | |
49 | %attr(666,root,root) %{_localstatedir}/lib/games/*.scores | |
50 | %{_applnkdir}/Games/Arcade/*.desktop | |
51 | %{_pixmapsdir}/*.png |