2014-08-01 23:36:06 +02:00
|
|
|
#
|
|
|
|
# spec file for package kde-gtk-config5
|
|
|
|
#
|
2024-02-28 12:38:53 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
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.
|
|
|
|
|
2018-10-16 21:53:08 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-08-01 23:36:06 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-01-19 21:18:39 +01:00
|
|
|
%bcond_without released
|
2014-08-01 23:36:06 +02:00
|
|
|
Name: kde-gtk-config5
|
2023-12-06 17:21:43 +01:00
|
|
|
Version: 5.27.10
|
2014-08-01 23:36:06 +02:00
|
|
|
Release: 0
|
2020-01-17 14:03:36 +01:00
|
|
|
Summary: Daemon for GTK2 and GTK3 Applications Appearance Under KDE
|
2021-07-20 08:54:27 +02:00
|
|
|
License: GPL-3.0-or-later AND LGPL-3.0-or-later
|
2014-08-01 23:36:06 +02:00
|
|
|
Group: System/GUI/KDE
|
2020-02-25 19:29:59 +01:00
|
|
|
URL: http://projects.kde.org/kde-gtk-config
|
2023-02-22 21:25:18 +01:00
|
|
|
Source: https://download.kde.org/stable/plasma/%{version}/kde-gtk-config-%{version}.tar.xz
|
2022-01-19 21:18:39 +01:00
|
|
|
%if %{with released}
|
2023-02-22 21:25:18 +01:00
|
|
|
Source1: https://download.kde.org/stable/plasma/%{version}/kde-gtk-config-%{version}.tar.xz.sig
|
2018-09-19 06:47:24 +02:00
|
|
|
Source2: plasma.keyring
|
|
|
|
%endif
|
2022-09-17 12:40:20 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= 5.98.0
|
2021-07-20 08:54:27 +02:00
|
|
|
BuildRequires: gsettings-desktop-schemas
|
2014-08-01 23:36:06 +02:00
|
|
|
BuildRequires: kf5-filesystem
|
2020-09-21 08:29:49 +02:00
|
|
|
BuildRequires: sassc
|
2014-08-01 23:36:06 +02:00
|
|
|
BuildRequires: xz
|
2024-02-28 12:38:53 +01:00
|
|
|
BuildRequires: cmake(KDecoration2) < 6
|
2020-01-17 14:03:36 +01:00
|
|
|
BuildRequires: cmake(KF5Config)
|
2020-05-19 15:35:07 +02:00
|
|
|
BuildRequires: cmake(KF5ConfigWidgets)
|
2020-01-17 14:03:36 +01:00
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
2020-05-19 15:35:07 +02:00
|
|
|
BuildRequires: cmake(KF5GuiAddons)
|
2015-11-29 03:53:48 +01:00
|
|
|
BuildRequires: cmake(KF5IconThemes)
|
2023-02-12 10:28:52 +01:00
|
|
|
BuildRequires: cmake(KF5WindowSystem)
|
2022-09-17 12:40:20 +02:00
|
|
|
BuildRequires: cmake(Qt5Svg) >= 5.15.0
|
2021-08-02 15:50:22 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
2014-08-01 23:36:06 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2015-11-29 03:53:48 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2020-01-17 14:03:36 +01:00
|
|
|
# Needed for syncing GTK+ settings
|
|
|
|
Requires: xsettingsd
|
2022-10-28 09:55:53 +02:00
|
|
|
Requires: gsettings-desktop-schemas
|
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}
|
2020-01-18 18:16:04 +01:00
|
|
|
# Existed only up to 5.17
|
|
|
|
Obsoletes: %{name}-lang < %{version}
|
2020-09-21 08:29:49 +02:00
|
|
|
# Since Plasma 5.19, the gtk3 settings also apply to gtk2
|
|
|
|
# and in 5.20 the gtk2 preview got dropped.
|
|
|
|
Provides: kde-gtk-config5-gtk2 = %{version}
|
|
|
|
Obsoletes: kde-gtk-config5-gtk2 < %{version}
|
|
|
|
Recommends: %{name}-gtk3
|
2014-08-01 23:36:06 +02:00
|
|
|
|
|
|
|
%description
|
2020-01-17 14:03:36 +01:00
|
|
|
kde-gtk-config is a KDED module which configures GTK2 and GTK3 applications
|
2014-10-03 19:04:16 +02:00
|
|
|
appearance under KDE.
|
|
|
|
|
2017-08-06 14:08:11 +02:00
|
|
|
%package gtk3
|
2020-01-17 14:03:36 +01:00
|
|
|
Summary: GTK3 Preview Helper for the GTK Configuration
|
2017-08-06 14:08:11 +02:00
|
|
|
Group: System/GUI/KDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description gtk3
|
|
|
|
This package contains a helper application that allows previewing
|
2020-01-17 14:03:36 +01:00
|
|
|
the GTK3 application style from within the application style KCM
|
2014-10-21 12:20:54 +02:00
|
|
|
|
2014-08-01 23:36:06 +02:00
|
|
|
%prep
|
2020-01-17 14:03:36 +01:00
|
|
|
%autosetup -p1 -n kde-gtk-config-%{version}
|
2014-08-01 23:36:06 +02:00
|
|
|
|
|
|
|
%build
|
2020-01-17 14:03:36 +01:00
|
|
|
%cmake_kf5 -d build
|
2020-02-08 01:13:12 +01:00
|
|
|
%cmake_build
|
2014-08-01 23:36:06 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2014-10-03 19:24:42 +02:00
|
|
|
|
2014-08-01 23:36:06 +02:00
|
|
|
%files
|
2020-09-21 08:29:49 +02:00
|
|
|
%license LICENSES/*
|
2020-05-19 15:35:07 +02:00
|
|
|
%dir %{_kf5_libdir}/gtk-3.0/
|
|
|
|
%dir %{_kf5_libdir}/gtk-3.0/modules/
|
|
|
|
%{_kf5_libdir}/gtk-3.0/modules/libcolorreload-gtk-module.so
|
2020-09-21 08:29:49 +02:00
|
|
|
%{_kf5_libdir}/gtk-3.0/modules/libwindow-decorations-gtk-module.so
|
2020-01-17 14:03:36 +01:00
|
|
|
%dir %{_kf5_plugindir}/kf5/kded
|
|
|
|
%{_kf5_plugindir}/kf5/kded/gtkconfig.so
|
2014-08-01 23:36:06 +02:00
|
|
|
|
2020-01-28 19:30:24 +01:00
|
|
|
%dir %{_kf5_sharedir}/kconf_update/
|
2020-02-08 01:13:12 +01:00
|
|
|
%{_kf5_sharedir}/kconf_update/gtkconfig.upd
|
2021-01-06 09:40:31 +01:00
|
|
|
%{_kf5_sharedir}/kconf_update/remove_window_decorations_from_gtk_css.sh
|
2021-06-04 14:42:06 +02:00
|
|
|
%{_kf5_sharedir}/kcm-gtk-module/
|
2020-01-28 19:30:24 +01:00
|
|
|
%dir %{_kf5_libdir}/kconf_update_bin/
|
|
|
|
%{_kf5_libdir}/kconf_update_bin/gtk_theme
|
2022-01-19 21:18:39 +01:00
|
|
|
%{_kf5_libdir}/kconf_update_bin/remove_deprecated_gtk4_option
|
2020-01-28 19:30:24 +01:00
|
|
|
|
2017-08-06 14:08:11 +02:00
|
|
|
%files gtk3
|
2020-09-21 08:29:49 +02:00
|
|
|
%license LICENSES/*
|
2022-03-07 22:43:57 +01:00
|
|
|
%{_libexecdir}/gtk3_preview
|
2020-09-21 08:29:49 +02:00
|
|
|
%dir %{_kf5_sharedir}/themes/Breeze/
|
|
|
|
%{_kf5_sharedir}/themes/Breeze/window_decorations.css
|
2017-08-06 14:08:11 +02:00
|
|
|
|
2014-08-01 23:36:06 +02:00
|
|
|
%changelog
|