]> git.pld-linux.org Git - packages/OilWar.git/blobdiff - OilWar.spec
- many small fixes, mostly inpired by kloczek
[packages/OilWar.git] / OilWar.spec
index d72c0be921928bdd362822269a5ea1e53c0095de..865c357f2bdfffb902d3147cc3e2c58d09b4bc81 100644 (file)
@@ -1,14 +1,18 @@
-Summary:       Very simple mouse shooting game.
+Summary:       Very simple mouse shooting game
+Summary(pl):   Bardzo prosta strzelanka
 Name:          OilWar
-Version:       1.1.0
+Version:       1.2.1
 Release:       1
 License:       GPL v2
 Group:         X11/Applications/Games
 Source0:       http://www.2ndpoint.fi/projektit/filut/%{name}-%{version}.tar.gz
+# Source0-md5: 6286e7f5a5f4f8ce6489a996b188caa2
 Source1:       %{name}.png
 Source2:       %{name}.desktop
+Patch0:                %{name}-am_remove_install-data-local.patch
 URL:           http://www.2ndpoint.fi/projektit/oilwar.html
-BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -19,33 +23,43 @@ 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 -n %{name}-%{version}
+%setup  -q
+%patch0 -p1
 
 %build
 rm -f missing
-%configure2_13
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+CXXFLAGS="%{rpmcflags} -fno-rtti"
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Arcade,%{_pixmapsdir}}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
-install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade
+install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README AUTHORS
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/games/oilwar/*
-%attr(666,root,root) %{_localstatedir}/lib/games/*.scores
-%{_applnkdir}/Games/Arcade/*.desktop
+%attr(2755,root,games) %{_bindir}/*
+%{_datadir}/games/oilwar
+%{_desktopdir}/*.desktop
 %{_pixmapsdir}/*.png
+%attr(664,root,games) %verify(not size mtime md5) %{_localstatedir}/games/*.scores
This page took 0.037537 seconds and 4 git commands to generate.