1 Summary: Very simple mouse shooting game
2 Summary(pl): Bardzo prosta strzelanka
7 Group: X11/Applications/Games
8 Source0: http://www.2ndpoint.fi/projektit/filut/%{name}-%{version}.tar.gz
10 Source2: %{name}.desktop
11 Patch0: %{name}-am_remove_install-data-local.patch
12 URL: http://www.2ndpoint.fi/projektit/oilwar.html
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: SDL_image-devel
16 BuildRequires: SDL_mixer-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 OilWar is a simple game where you shoot enemy soldiers and tanks with
21 your mouse. The evil army is attacking your land and tries to steal
22 your oil. Your mission: waste the invaders, protect the oil, protect
26 OilWar jest prost± gr± w której strzelasz do ¿o³nierzy i czo³gów
27 nieprzyjaciela za pomoc± myszki. Armia wroga atakuje twoje terytorium
28 i stara siê ukra¶æ zasoby oleju. Twoja misja: zniszczyæ naje¼d¼ców,
29 chroniæ olej, chroniæ ojczyznê...
40 CXXFLAGS="%{rpmcflags} -fno-rtti"
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_datadir}/applications,%{_pixmapsdir}}
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
51 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc ChangeLog README AUTHORS
59 %attr(2755,root,games) %{_bindir}/*
60 %{_datadir}/games/oilwar
61 %{_datadir}/applications/*.desktop
63 %attr(664,root,games) %verify(not size mtime md5) %{_localstatedir}/games/*.scores