File kde4-kcm_gtk.spec of Package kde4-kcm_gtk
#
# spec file for package kde4-kcm_gtk (Version 1.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kde4-kcm_gtk
BuildRequires: gtk2-devel libbonoboui-devel libkde4-devel
%if %suse_version == 1100
BuildRequires: kdesdk4-scripts
%endif
License: GPL v2 or later
Url: http://www.freedesktop.org/Software/gtk-qt
Group: System/GUI/KDE
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: KDE control module for switching GTK+ style
Version: 1.1
Release: 115
Source: gtk-qt-engine-%{version}.tar.bz2
Patch: build-only-kcm.diff
Patch1: icon-location.diff
Patch2: insertCatalog.diff
%description
This KDE control module allows to choose the style of GTK+
applications.
Authors:
--------
David Sansome <me@davidsansome.com>
%prep
%setup -n gtk-qt-engine -q
%patch
%patch1
%patch2
%build
%cmake_kde4
%make_jobs
%install
%makeinstall
%find_lang gtkqtengine
mkdir -p $RPM_BUILD_ROOT/usr/share/kde4/services
mv $RPM_BUILD_ROOT/usr/share/applications/kde4/kcmgtk4.desktop $RPM_BUILD_ROOT/usr/share/kde4/services/
%suse_update_desktop_file $RPM_BUILD_ROOT/usr/share/kde4/services/kcmgtk4.desktop
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -f gtkqtengine.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING
%_kde4_modules/kcm_gtk4.so
%_kde_share_dir/services/kcmgtk4.desktop
/usr/share/icons/hicolor/48x48/apps/kcmgtk.png
%changelog
* Mon Dec 01 2008 stbinner@suse.de
- updated translations and fix loading of them (bnc#443105)
* Sun Oct 19 2008 stbinner@suse.de
- install .desktop file to slightly better location
* Wed May 14 2008 stbinner@suse.de
- hide references to gtk-qt-engine origin as for KDE3 version
* Mon Mar 10 2008 stbinner@suse.de
- initial KDE4 version in abuild