From 44277994557436b43e7e194355409dffea5f1fa3 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Jun 06 2007 01:50:36 +0000 Subject: Clean up .desktop file categories so that it follows the Fedora and desktop file standards: http://standards.freedesktop.org/menu-spec/latest/apa.html --- diff --git a/enigma-1.01-desktop.patch b/enigma-1.01-desktop.patch new file mode 100644 index 0000000..77ae1ea --- /dev/null +++ b/enigma-1.01-desktop.patch @@ -0,0 +1,9 @@ +--- 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; + diff --git a/enigma.spec b/enigma.spec index f571694..7c565a6 100644 --- a/enigma.spec +++ b/enigma.spec @@ -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 @@ innumerable puzzles blocking your direct way to the Oxyd stones... %prep %setup -q +%patch0 -p1 %build %configure --enable-optimize @@ -45,7 +47,6 @@ desktop-file-install \ --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 @@ gtk-update-icon-cache -qf %{_datadir}/icons/hicolor 2>/dev/null || : %exclude %{_libdir}/libenet.a %changelog +* Tue Jun 5 2007 Wart - 1.01-2 +- Clean up desktop categories + * Sat May 26 2007 Thorsten Leemhuis - 1.01-1 - Update to 1.01