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
9 # Source0-md5: 6286e7f5a5f4f8ce6489a996b188caa2
11 Source2: %{name}.desktop
12 Patch0: %{name}-am_remove_install-data-local.patch
13 URL: http://www.2ndpoint.fi/projektit/oilwar.html
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: SDL_image-devel
17 BuildRequires: SDL_mixer-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 OilWar is a simple game where you shoot enemy soldiers and tanks with
22 your mouse. The evil army is attacking your land and tries to steal
23 your oil. Your mission: waste the invaders, protect the oil, protect
27 OilWar jest prost± gr± w której strzelasz do ¿o³nierzy i czo³gów
28 nieprzyjaciela za pomoc± myszki. Armia wroga atakuje twoje terytorium
29 i stara siê ukra¶æ zasoby oleju. Twoja misja: zniszczyæ naje¼d¼ców,
30 chroniæ olej, chroniæ ojczyznê...
41 CXXFLAGS="%{rpmcflags} -fno-rtti"
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
50 DESTDIR=$RPM_BUILD_ROOT
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
53 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc ChangeLog README AUTHORS
61 %attr(2755,root,games) %{_bindir}/*
62 %{_datadir}/games/oilwar
63 %{_desktopdir}/*.desktop
65 %attr(664,root,games) %verify(not size mtime md5) %{_localstatedir}/games/*.scores