File kde3-kcm_gtk.spec of Package kde3-kcm_gtk
#
# spec file for package kde3-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: kde3-kcm_gtk
BuildRequires: cmake dos2unix gtk2-devel kdelibs3-devel
License: GPL-2.0-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
Patch0: kcm_gtk.diff
Patch1: build_only_kcm.diff
Patch2: dont-touch-bashrc.diff
Patch3: fix-listing.diff
Patch4: FIXME.diff
Patch5: gtk-qt-engine_set-minversion-cmake.patch
Patch6: gtk-qt-engine_remove-LOCATION.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: kcm_gtk = 0.7svn20070827
Obsoletes: kcm_gtk <= 0.7svn20070827
%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 -P 0
%patch -P 1
%patch -P 2
#patch -P 3
#patch -P 4
%if 0%{?suse_version} > 1600
%patch -P 5 -p1
%patch -P 6 -p1
%endif
%build
. /etc/opt/kde3/common_options
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$CFLAGS"
cmake -DCMAKE_INSTALL_PREFIX=/opt/kde3 .
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