[kcm-gtk] - kcm-gtk : "GTK+ Appearance" in systemsettings->lost and found (#628381) - Requires: kdebase-runtim

Rex Dieter rdieter at fedoraproject.org
Wed Sep 8 13:20:19 UTC 2010


commit dd314399b82405a85a514939e70508e8ae716a9f
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Wed Sep 8 08:25:18 2010 -0500

    - kcm-gtk : "GTK+ Appearance" in systemsettings->lost and found (#628381)
    - Requires: kdebase-runtime

 kcm-gtk.spec |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/kcm-gtk.spec b/kcm-gtk.spec
index 6e8900d..b2c8248 100644
--- a/kcm-gtk.spec
+++ b/kcm-gtk.spec
@@ -8,7 +8,7 @@
 Summary: Configure the appearance of GTK apps in KDE 
 Name:    kcm-gtk 
 Version: 0.5.3
-Release: 4%{?dist}
+Release: 5%{?dist}
 
 License: GPLv2+
 Group:   User Interface/Desktops
@@ -40,7 +40,8 @@ Obsoletes: gtk-qt-engine <= 1:1.1
 BuildRequires: gettext
 BuildRequires: kdelibs4-devel
 
-%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
+# need kcmshell4 from kdebase-runtime at least
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
 
 %description
 This is a System Settings configuration module for configuring the
@@ -54,6 +55,12 @@ appearance of GTK apps in KDE.
 %patch52 -p1 -b .fix-de
 %patch53 -p1 -b .cursortheme
 
+%if "%{?_kde4_version}" > "4.5.0"
+# fixup for kde-4.5, see http://bugzilla.redhat.com/628381
+sed -i.kde45 -e 's|^X-KDE-System-Settings-Parent-Category=appearance$|X-KDE-System-Settings-Parent-Category=application-appearance|' \
+  kcmgtk.desktop
+%endif
+
 
 %build
 
@@ -89,6 +96,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Sep 08 2010 Rex Dieter <rdieter at fedoraproject.org> 0.5.3-5
+- kcm-gtk : "GTK+ Appearance" in systemsettings->lost and found (#628381)
+- Requires: kdebase-runtime
+
 * Wed Jul  7 2010 Ville Skyttä <ville.skytta at iki.fi> - 0.5.3-4
 - Apply modified upstream patch to add cursor theme support (#600976).
 


More information about the scm-commits mailing list