[kdegraphics] - okular.desktop : Categories=-Office, +VectorGraphics (#591089)

Rex Dieter rdieter at fedoraproject.org
Tue Sep 7 17:35:50 UTC 2010


commit 6ece2ff4cc9611b0e976c914fe4ce3f68424e0a9
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Tue Sep 7 12:41:23 2010 -0500

    - okular.desktop : Categories=-Office,+VectorGraphics (#591089)

 kdegraphics-4.5.1-okular_dt.patch |   10 ++++++++++
 kdegraphics.spec                  |   11 ++++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/kdegraphics-4.5.1-okular_dt.patch b/kdegraphics-4.5.1-okular_dt.patch
new file mode 100644
index 0000000..89985e5
--- /dev/null
+++ b/kdegraphics-4.5.1-okular_dt.patch
@@ -0,0 +1,10 @@
+diff -up kdegraphics-4.5.1/okular/shell/okular.desktop.dt kdegraphics-4.5.1/okular/shell/okular.desktop
+--- kdegraphics-4.5.1/okular/shell/okular.desktop.dt	2010-07-23 16:14:57.000000000 -0500
++++ kdegraphics-4.5.1/okular/shell/okular.desktop	2010-09-07 12:31:01.260797812 -0500
+@@ -117,5 +117,5 @@ Icon=okular
+ Type=Application
+ X-DocPath=okular/index.html
+ InitialPreference=7
+-Categories=Qt;KDE;Graphics;Office;Viewer;
++Categories=Qt;KDE;Graphics;VectorGraphics;Viewer;
+ MimeType=application/vnd.kde.okular-archive;
diff --git a/kdegraphics.spec b/kdegraphics.spec
index 0990fad..c8a907c 100644
--- a/kdegraphics.spec
+++ b/kdegraphics.spec
@@ -15,7 +15,7 @@
 Summary:        KDE Graphics Applications
 Epoch:          7
 Version:        4.5.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 
 Name:           kdegraphics
 #Obsoletes:     kdegraphics4 < %{version}-%{release}
@@ -27,6 +27,10 @@ URL:            http://www.kde.org/
 Source0:        ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdegraphics-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+## upstreamable patches
+# okular.desktop : Categories=-Office,+VectorGraphics (http://bugzilla.redhat.com/591089)
+Patch50: kdegraphics-4.5.1-okular_dt.patch
+
 ## upstream patches
 
 %if 0%{?fedora}
@@ -113,6 +117,8 @@ Summary: A kioslave for displaying WinHelp files
 %prep
 %setup -q -n kdegraphics-%{version}%{?alphatag}
 
+%patch50 -p1 -b .okular_dt
+
 
 %build
 mkdir -p %{_target_platform}
@@ -261,6 +267,9 @@ fi
 
 
 %changelog
+* Tue Sep 07 2010 Rex Dieter <rdieter at fedoraproject.org> - 4.5.1-2
+- okular.desktop : Categories=-Office,+VectorGraphics (#591089)
+
 * Fri Aug 27 2010 Jaroslav Reznik <jreznik at redhat.com> - 4.5.1-1
 - 4.5.1
 


More information about the scm-commits mailing list