1 Summary: Configure the appearance of GTK apps in KDE
6 Group: X11/Applications
7 Source0: http://launchpad.net/kcm-gtk/0.5.x/%{version}/+download/kcm-gtk_%{version}.orig.tar.gz
8 # Source0-md5: b49e2df3cce3bcb8c6dc96e7af73716d
9 Patch1: kcm-gtk-0.5.3-settings_category.patch
10 URL: https://launchpad.net/kcm-gtk
11 Patch2: kcm-gtk-0.5.3-gtkrc_setenv.patch
12 Patch3: kcm-gtk-0.5.3-fix-de.patch
13 Patch4: kubuntu_01_xsettings_kipc.patch
15 BuildRequires: gettext
16 BuildRequires: kde4-kdelibs-devel >= 4.8
17 BuildRequires: sed >= 4.0
18 Requires: kde4-kdebase-runtime
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This is a System Settings configuration module for configuring the
23 appearance of GTK apps in KDE.
26 %setup -q -n kcm-gtk-%{version}
32 # fixup for kde-4.5+, see http://bugzilla.redhat.com/628381
33 sed -i.kde45 -e 's|^X-KDE-System-Settings-Parent-Category=appearance$|X-KDE-System-Settings-Parent-Category=application-appearance|' kcmgtk.desktop
42 rm -rf $RPM_BUILD_ROOT
43 %{__make} -C build install \
44 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
51 %files -f kcm_gtk.lang
52 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_libdir}/kde4/kcm_gtk.so
55 %{_iconsdir}/kcm_gtk.png
56 %{_datadir}/kde4/services/kcmgtk.desktop