File kcm_gtk.spec of Package kcm_gtk
#
# spec file for package kcm_gtk (Version 0.7svn20070827)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kcm_gtk
BuildRequires: cmake dos2unix gtk2-devel kdelibs3-devel
License: GPL v2 or later
Group: System/GUI/KDE
Summary: KDE control module for switching GTK+ style
Version: 0.7svn20070827
Release: 20
Url: http://www.freedesktop.org/Software/gtk-qt
Conflicts: gtk-qt-engine
Obsoletes: gtk-qt-engine
Source: gtk-qt-engine-%{version}.tar.bz2
Patch: %name.diff
Patch1: build_only_kcm.diff
Patch2: dont-touch-bashrc.diff
Patch3: fix-listing.diff
Patch4: FIXME.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This KDE control module allows to choose the style of GTK+
applications.
Authors:
--------
David Sansome <me@davidsansome.com>
%prep
%setup -q -n gtk-qt-engine
dos2unix kcm_gtk/kcmgtkwidget.ui
dos2unix po/es.po
dos2unix po/nn.po
%patch
%patch1
%patch2
#%patch3
#%patch4
%build
. /etc/opt/kde3/common_options
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$CFLAGS"
cmake -DCMAKE_INSTALL_PREFIX=/opt/kde3 -DCMAKE_BUILD_TYPE=debugfull .
make %{?jobs:-j %jobs}
%install
. /etc/opt/kde3/common_options
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang gtkqtengine
kde_post_install
%clean
rm -rf $RPM_BUILD_ROOT
%files -f gtkqtengine.lang
%defattr(-,root,root)
%doc AUTHORS README NEWS COPYING ChangeLog
/opt/kde3/share/applications/kcmgtk.desktop
/opt/kde3/%_lib/kde3/kcm_kcmgtk.*
%changelog
* Thu Oct 25 2007 - stbinner@suse.de
- fix build
* Tue Aug 28 2007 - stbinner@suse.de
- update to gtk-qt-engine 0.7svn20070827 base:
- adds gtk keyboard shortcut feature (#300585)
- more translations
- obsolete gtk-qt-engine (#305094)
* Thu Jun 21 2007 - stbinner@suse.de
- run kde_post_install, fix invalid .desktop file
* Fri Nov 03 2006 - stbinner@suse.de
- fix combo box selection of currently active style
* Tue Oct 10 2006 - stbinner@suse.de
- branch kcm_gtk package from gtk-qt-engine package