--- ./scummvm.spec.fedora	2004-03-15 21:43:02.000000000 +0100
+++ ./scummvm.spec	2004-06-12 18:12:41.913112152 +0200
@@ -9,7 +9,7 @@
 #------------------------------------------------------------------------------
 Name		: scummvm
 Version		: 0.6.0
-Release		: 1
+Release		: 2
 Summary		: Graphic adventure game interpreter
 Group		: Interpreters
 License		: GPL
@@ -19,6 +19,7 @@
 Source		: %{name}-%{version}.tar.bz2
 Source1		: libmad-0.15.1b.tar.bz2
 Source2		: mpeg2dec-0.4.0b.tar.bz2
+Source3		: %{name}.desktop
 BuildRoot	: %{_tmppath}/%{name}-%{version}-root
 
 #------------------------------------------------------------------------------
@@ -49,6 +50,16 @@
 install -m755 -D scummvm %{buildroot}%{_bindir}/scummvm
 install -m644 -D scummvm.6 %{buildroot}/%{_mandir}/man6/scummvm.6
 
+desktop-file-install \
+  --vendor fedora \
+  --mode 644 \
+  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+  --add-category X-Fedora \
+ %{SOURCE3}
+
+install -D -p -m 644 scummvm.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/scummvm.xpm
+
+
 %clean
 rm -Rf ${RPM_BUILD_ROOT}
 
@@ -60,11 +71,15 @@
 %doc README NEWS COPYING scummvm.xpm
 %attr(0755,root,root)%{_bindir}/scummvm
 %{_mandir}/man6/scummvm.6*
+%{_datadir}/applications/*-%{name}.desktop
+%{_datadir}/pixmaps/scummvm.xpm
 
 #------------------------------------------------------------------------------
 #   Change Log
 #------------------------------------------------------------------------------
 %changelog
+* Sat Jun 12 2004 (de_lupus@pandora.be Kristof Vansant)
+  - added menu item for fedora
 * Mon Mar 15 2004 (0.6.0)
   - included libmad and libmpeg2
 * Sat Aug 02 2003 (0.5.0)
