- Split GTK2 and GTK3 parts to shrink deps
- Suggest breeze, not oxygen - Remove obsolete check for openSUSE 13.2 - Unconditionally recommend the -lang subpackage OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kde-gtk-config5?expand=0&rev=129
This commit is contained in:
parent
3a73d31524
commit
40ee285305
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 6 12:07:39 UTC 2017 - fabian@ritter-vogt.de
|
||||
|
||||
- Split GTK2 and GTK3 parts to shrink deps
|
||||
- Suggest breeze, not oxygen
|
||||
- Remove obsolete check for openSUSE 13.2
|
||||
- Unconditionally recommend the -lang subpackage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 18 16:14:47 CEST 2017 - fabian@ritter-vogt.de
|
||||
|
||||
|
@ -43,17 +43,11 @@ BuildRequires: cmake(Qt5Widgets) >= 5.4.0
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
%if %{with lang}
|
||||
Recommends: %{name}-lang
|
||||
%endif
|
||||
Suggests: gtk2-theme-oxygen
|
||||
Suggests: gtk3-theme-oxygen
|
||||
%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320"
|
||||
Suggests: gtk2-metatheme-breeze
|
||||
Suggests: gtk3-metatheme-breeze
|
||||
Provides: kde-gtk-config = %{version}
|
||||
Obsoletes: kde-gtk-config < %{version}
|
||||
%else
|
||||
Conflicts: kde-gtk-config
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -67,6 +61,26 @@ Among its many features, it lets you:
|
||||
- Select GTK applications default fonts.
|
||||
- Easily browse and install new GTK2 and GTK3 themes.
|
||||
|
||||
%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
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
@ -98,12 +112,20 @@ install -Dpm 0644 %{SOURCE3} %{buildroot}%{_kf5_sharedir}/%{name}/gtk3-settings.
|
||||
%config %{_kf5_configdir}/cgcgtk3.knsrc
|
||||
%{_kf5_servicesdir}/
|
||||
%{_kf5_plugindir}/
|
||||
%{_kf5_libdir}/libexec/
|
||||
%{_kf5_sharedir}/kcm-gtk-module/
|
||||
%dir %{_kf5_sharedir}/icons/hicolor/8x8
|
||||
%dir %{_kf5_sharedir}/icons/hicolor/8x8/apps
|
||||
%{_kf5_sharedir}/icons/hicolor/*/*/*.*
|
||||
|
||||
%files gtk2
|
||||
%doc COPYING*
|
||||
%{_kf5_libdir}/libexec/gtk_preview
|
||||
%{_kf5_libdir}/libexec/reload_gtk_apps
|
||||
|
||||
%files gtk3
|
||||
%doc COPYING*
|
||||
%{_kf5_libdir}/libexec/gtk3_preview
|
||||
|
||||
%if %{with lang}
|
||||
%files lang -f %{name}.lang
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user