2014-08-01 23:36:06 +02:00
|
|
|
#
|
|
|
|
# spec file for package kde-gtk-config5
|
|
|
|
#
|
2018-01-02 21:37:34 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-08-01 23:36:06 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-04-10 20:22:52 +02:00
|
|
|
%bcond_without lang
|
2014-08-01 23:36:06 +02:00
|
|
|
Name: kde-gtk-config5
|
2018-09-04 17:18:37 +02:00
|
|
|
Version: 5.13.5
|
2014-08-01 23:36:06 +02:00
|
|
|
Release: 0
|
2014-10-03 19:04:16 +02:00
|
|
|
Summary: KCM Module to Configure GTK2 and GTK3 Applications Appearance Under KDE
|
2018-06-19 23:42:08 +02:00
|
|
|
License: LGPL-3.0-or-later AND GPL-3.0-or-later
|
2014-08-01 23:36:06 +02:00
|
|
|
Group: System/GUI/KDE
|
2014-10-21 12:20:54 +02:00
|
|
|
Url: http://projects.kde.org/kde-gtk-config
|
2017-12-22 08:53:33 +01:00
|
|
|
Source1: gtkrc-2.0-kde4.template
|
|
|
|
Source2: gtk3-settings.ini-kde4.template
|
2018-06-19 23:42:08 +02:00
|
|
|
Source: http://download.kde.org/stable/plasma/%{version}/kde-gtk-config-%{version}.tar.xz
|
2015-11-29 03:53:48 +01:00
|
|
|
BuildRequires: extra-cmake-modules >= 0.0.9
|
2014-08-01 23:36:06 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: xz
|
2015-11-29 03:53:48 +01:00
|
|
|
BuildRequires: cmake(KF5Archive)
|
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
|
|
|
BuildRequires: cmake(KF5KCMUtils)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(KF5NewStuff)
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.4.0
|
|
|
|
BuildRequires: cmake(Qt5Widgets) >= 5.4.0
|
2014-08-01 23:36:06 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2015-11-29 03:53:48 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2014-10-21 12:20:54 +02:00
|
|
|
Recommends: %{name}-lang
|
2017-08-06 14:08:11 +02:00
|
|
|
Suggests: gtk2-metatheme-breeze
|
|
|
|
Suggests: gtk3-metatheme-breeze
|
2018-01-17 16:26:17 +01:00
|
|
|
Supplements: packageand(plasma5-workspace:libgtk-2_0-0)
|
|
|
|
Supplements: packageand(plasma5-workspace:libgtk-3-0)
|
2015-04-27 02:10:22 +02:00
|
|
|
Provides: kde-gtk-config = %{version}
|
|
|
|
Obsoletes: kde-gtk-config < %{version}
|
2014-08-01 23:36:06 +02:00
|
|
|
|
|
|
|
%description
|
2014-10-03 19:04:16 +02:00
|
|
|
kde-gtk-config is a KCM module to configure GTK2 and GTK3 applications
|
|
|
|
appearance under KDE.
|
|
|
|
|
|
|
|
Among its many features, it lets you:
|
|
|
|
- Choose which theme is used for GTK2 and GTK3 applications.
|
|
|
|
- Tweak some GTK applications behaviour.
|
|
|
|
- Select what icon theme to use in GTK applications.
|
|
|
|
- Select GTK applications default fonts.
|
|
|
|
- Easily browse and install new GTK2 and GTK3 themes.
|
2014-08-01 23:36:06 +02:00
|
|
|
|
2017-08-06 14:08:11 +02:00
|
|
|
%package gtk2
|
|
|
|
Summary: GTK2 Preview Helper for the GTK Configuration KCM
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Supplements: packageand(%{name}:libgtk-2_0-0)
|
|
|
|
|
|
|
|
%description gtk2
|
|
|
|
This package contains a helper application that allows previewing
|
|
|
|
the GTK2 application style from within the GTK configuration KCM
|
|
|
|
|
|
|
|
%package gtk3
|
|
|
|
Summary: GTK3 Preview Helper for the GTK Configuration KCM
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Supplements: packageand(%{name}:libgtk-3-0)
|
|
|
|
|
|
|
|
%description gtk3
|
|
|
|
This package contains a helper application that allows previewing
|
|
|
|
the GTK3 application style from within the GTK configuration KCM
|
|
|
|
|
2014-10-03 18:59:46 +02:00
|
|
|
%lang_package
|
2014-10-21 12:20:54 +02:00
|
|
|
|
2014-08-01 23:36:06 +02:00
|
|
|
%prep
|
|
|
|
%setup -q -n kde-gtk-config-%{version}
|
|
|
|
|
|
|
|
%build
|
2016-07-06 18:37:29 +02:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}
|
2014-08-01 23:36:06 +02:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2016-07-06 18:37:29 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%kf5_find_lang
|
|
|
|
%endif
|
2014-08-01 23:36:06 +02:00
|
|
|
|
2017-12-22 08:53:33 +01:00
|
|
|
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_kf5_sharedir}/%{name}/gtkrc-2.0-kde4.template
|
|
|
|
install -Dpm 0644 %{SOURCE2} %{buildroot}%{_kf5_sharedir}/%{name}/gtk3-settings.ini-kde4.template
|
2014-10-03 19:24:42 +02:00
|
|
|
|
2014-08-01 23:36:06 +02:00
|
|
|
%files
|
2018-05-21 11:07:08 +02:00
|
|
|
%license COPYING*
|
2014-10-03 19:24:42 +02:00
|
|
|
%{_kf5_sharedir}/%{name}/
|
2014-08-01 23:36:06 +02:00
|
|
|
%config %{_kf5_configdir}/cgctheme.knsrc
|
|
|
|
%config %{_kf5_configdir}/cgcgtk3.knsrc
|
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_sharedir}/kcm-gtk-module/
|
2014-10-03 19:04:16 +02:00
|
|
|
%dir %{_kf5_sharedir}/icons/hicolor/8x8
|
|
|
|
%dir %{_kf5_sharedir}/icons/hicolor/8x8/apps
|
2014-08-01 23:36:06 +02:00
|
|
|
%{_kf5_sharedir}/icons/hicolor/*/*/*.*
|
|
|
|
|
2017-08-06 14:08:11 +02:00
|
|
|
%files gtk2
|
2018-05-21 11:07:08 +02:00
|
|
|
%license COPYING*
|
2017-08-06 14:08:11 +02:00
|
|
|
%{_kf5_libdir}/libexec/gtk_preview
|
|
|
|
%{_kf5_libdir}/libexec/reload_gtk_apps
|
|
|
|
|
|
|
|
%files gtk3
|
2018-05-21 11:07:08 +02:00
|
|
|
%license COPYING*
|
2017-08-06 14:08:11 +02:00
|
|
|
%{_kf5_libdir}/libexec/gtk3_preview
|
|
|
|
|
2015-04-11 20:56:31 +02:00
|
|
|
%if %{with lang}
|
2016-07-06 18:37:29 +02:00
|
|
|
%files lang -f %{name}.lang
|
2015-04-11 20:56:31 +02:00
|
|
|
%endif
|
2014-10-03 18:59:46 +02:00
|
|
|
|
2014-08-01 23:36:06 +02:00
|
|
|
%changelog
|