Summary: Very simple mouse shooting game Summary(pl): Bardzo prosta strzelanka Name: OilWar Version: 1.1.0 Release: 2 License: GPL v2 Group: X11/Applications/Games Source0: http://www.2ndpoint.fi/projektit/filut/%{name}-%{version}.tar.gz Source1: %{name}.png Source2: %{name}.desktop Patch0: %{name}-am_remove_install-data-local.patch Patch1: %{name}-FHS.patch URL: http://www.2ndpoint.fi/projektit/oilwar.html BuildRequires: autoconf BuildRequires: automake BuildRequires: SDL_image-devel BuildRequires: SDL_mixer-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description OilWar is a simple game where you shoot enemy soldiers and tanks with your mouse. The evil army is attacking your land and tries to steal your oil. Your mission: waste the invaders, protect the oil, protect the mother land... %description -l pl OilWar jest prostą grą w której strzelasz do żołnierzy i czołgów nieprzyjaciela za pomocą myszki. Armia wroga atakuje twoje terytorium i stara się ukraść zasoby oleju. Twoja misja: zniszczyć najeźdźców, chronić olej, chronić ojczyznę... %prep %setup -q %patch0 -p1 %patch1 -p1 %build rm -f missing %{__aclocal} %{__autoconf} %{__automake} CXXFLAGS="%{rpmcflags} -fno-rtti" %configure %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Arcade,%{_pixmapsdir}} %{__make} install DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir} install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc ChangeLog README AUTHORS %attr(2755,root,games) %{_bindir}/* %{_datadir}/games/oilwar %{_applnkdir}/Games/Arcade/*.desktop %{_pixmapsdir}/*.png %attr(664,root,games) %verify(not size mtime md5) %{_localstatedir}/games/*.scores