Author: blino
Date: Sat Dec 2 17:31:21 2006
New Revision: 90089
Modified:
packages/cooker/nexuiz/current/SPECS/nexuiz.spec
Log:
fix XDG menu
Modified: packages/cooker/nexuiz/current/SPECS/nexuiz.spec
==============================================================================
--- packages/cooker/nexuiz/current/SPECS/nexuiz.spec (original)
+++ packages/cooker/nexuiz/current/SPECS/nexuiz.spec Sat Dec 2 17:31:21 2006
@@ -1,6 +1,6 @@
%define name nexuiz
%define version 2.1
-%define rel 1
+%define rel 2
%define release %mkrel %{rel}
Name: %{name}
@@ -125,22 +125,24 @@
EOF
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cat << EOF > $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-glx.desktop
-[DESKTOP ENTRY]
+[Desktop Entry]
Name=Nexuiz (glx client)
StartupNotify=true
-Terminal=False
+Terminal=false
Type=Application
-Exec=%{_gamesbindir}/nexuiz-glx
-Categories=X-MandrivaLinux-MoreApplications-Games-Other;Games
+Icon=%{name}
+Exec=%{_gamesbindir}/%{name}-glx
+Categories=X-MandrivaLinux-MoreApplications-Games-Arcade;Game;ArcadeGame;
EOF
cat << EOF > $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-sdl.desktop
-[DESKTOP ENTRY]
+[Desktop Entry]
Name=Nexuiz (sdl client)
StartupNotify=true
-Terminal=False
+Terminal=false
Type=Application
-Exec=%{_gamesbindir}/nexuiz-sdl
-Categories=X-MandrivaLinux-MoreApplications-Games-Other;Games
+Icon=%{name}
+Exec=%{_gamesbindir}/%{name}-sdl
+Categories=X-MandrivaLinux-MoreApplications-Games-Arcade;Game;ArcadeGame;
EOF
%post glx