rpms/enigma/devel enigma-1.01-desktop.patch, NONE, 1.1 enigma.spec, 1.15, 1.16

Michael Thomas (wart) fedora-extras-commits at redhat.com
Wed Jun 6 01:51:26 UTC 2007


Author: wart

Update of /cvs/extras/rpms/enigma/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16958

Modified Files:
	enigma.spec 
Added Files:
	enigma-1.01-desktop.patch 
Log Message:
Clean up .desktop file categories so that it follows the Fedora and desktop file standards:  http://standards.freedesktop.org/menu-spec/latest/apa.html



enigma-1.01-desktop.patch:

--- NEW FILE enigma-1.01-desktop.patch ---
--- enigma-1.01/etc/enigma.desktop.orig	2007-06-05 14:56:18.000000000 -0700
+++ enigma-1.01/etc/enigma.desktop	2007-06-05 14:56:31.000000000 -0700
@@ -17,5 +17,5 @@
 StartupNotify=false
 
 Type=Application
-Categories=Application;Game;PuzzleGame;
+Categories=Game;LogicGame;
 


Index: enigma.spec
===================================================================
RCS file: /cvs/extras/rpms/enigma/devel/enigma.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- enigma.spec	27 May 2007 11:12:13 -0000	1.15
+++ enigma.spec	6 Jun 2007 01:50:36 -0000	1.16
@@ -1,12 +1,13 @@
 Name:           enigma
 Version:        1.01
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Clone of the ATARI game Oxyd
 
 Group:          Amusements/Games
 License:        GPL
 URL:            http://www.nongnu.org/enigma/
 Source0:        http://download.berlios.de/enigma-game/enigma-1.01.tar.gz
+Patch0:         enigma-1.01-desktop.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  SDL-devel >= 1.2  
@@ -30,6 +31,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --enable-optimize
@@ -45,7 +47,6 @@
   --delete-original                                        \
   --vendor fedora                                          \
   --dir ${RPM_BUILD_ROOT}%{_datadir}/applications            \
-  --add-category "X-Fedora"                                 \
   $RPM_BUILD_ROOT%{_datadir}/applications/enigma.desktop
 
 %find_lang %{name}
@@ -74,6 +75,9 @@
 %exclude %{_libdir}/libenet.a
 
 %changelog
+* Tue Jun 5 2007 Wart <wart at kobold.org> - 1.01-2
+- Clean up desktop categories
+
 * Sat May 26 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.01-1
 - Update to 1.01
 




More information about the fedora-extras-commits mailing list