From 408776fdcd94e62e9e5c678ad21240df6fdda645 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Mon, 22 Feb 2021 13:55:36 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/gnome-themes-extra.git#a30c1bb9ef11fc59b67aeb1d8c4003b523681ef3 --- gnome-themes-extra.spec | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/gnome-themes-extra.spec b/gnome-themes-extra.spec index a7c9473..6e89876 100644 --- a/gnome-themes-extra.spec +++ b/gnome-themes-extra.spec @@ -1,6 +1,6 @@ Name: gnome-themes-extra Version: 3.28 -Release: 11%{?dist} +Release: 12%{?dist} Summary: GNOME Extra Themes License: LGPLv2+ @@ -19,6 +19,7 @@ BuildRequires: /usr/bin/gtk-update-icon-cache Recommends: (adwaita-gtk2-theme = %{version}-%{release} if gtk2) Requires: adwaita-icon-theme +Requires: highcontrast-icon-theme = %{version}-%{release} # Renamed in F28 Obsoletes: gnome-themes-standard < 3.28 @@ -46,11 +47,24 @@ Not to be confused with gnome-themes-extras. %package -n adwaita-gtk2-theme Summary: Adwaita gtk2 theme Requires: gtk2%{_isa} +# cursor and icon themes required for the theme +Requires: adwaita-cursor-theme +Requires: adwaita-icon-theme +Requires: highcontrast-icon-theme = %{version}-%{release} %description -n adwaita-gtk2-theme The adwaita-gtk2-theme package contains a gtk2 theme for presenting widgets with a GNOME look and feel. +%package -n highcontrast-icon-theme +Summary: HighContrast icon theme +BuildArch: noarch +# Split out to a new subpackage in gnome-themes-standard 3.28-12 +Conflicts: gnome-themes-standard < 3.28-12 + +%description -n highcontrast-icon-theme +This package contains the HighContrast icon theme used by the GNOME desktop. + %prep %autosetup -p1 @@ -68,15 +82,21 @@ touch $RPM_BUILD_ROOT%{_datadir}/icons/HighContrast/icon-theme.cache mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-2.0 cp -a $RPM_SOURCE_DIR/gtkrc $RPM_BUILD_ROOT%{_datadir}/gtk-2.0/gtkrc -%transfiletriggerin -- %{_datadir}/icons/HighContrast +%transfiletriggerin -n highcontrast-icon-theme -- %{_datadir}/icons/HighContrast gtk-update-icon-cache --force %{_datadir}/icons/HighContrast &>/dev/null || : -%transfiletriggerpostun -- %{_datadir}/icons/HighContrast +%transfiletriggerpostun -n highcontrast-icon-theme -- %{_datadir}/icons/HighContrast gtk-update-icon-cache --force %{_datadir}/icons/HighContrast &>/dev/null || : %files %license LICENSE %doc NEWS README.md +%{_datadir}/themes/Adwaita/gtk-3.0/ +%{_datadir}/themes/Adwaita-dark/gtk-3.0/ +%{_datadir}/themes/HighContrast/gtk-3.0/ + +%files -n highcontrast-icon-theme +%license LICENSE %dir %{_datadir}/icons/HighContrast %{_datadir}/icons/HighContrast/16x16/ %{_datadir}/icons/HighContrast/22x22/ @@ -87,9 +107,6 @@ gtk-update-icon-cache --force %{_datadir}/icons/HighContrast &>/dev/null || : %{_datadir}/icons/HighContrast/scalable/ %{_datadir}/icons/HighContrast/index.theme %ghost %{_datadir}/icons/HighContrast/icon-theme.cache -%{_datadir}/themes/Adwaita/gtk-3.0/ -%{_datadir}/themes/Adwaita-dark/gtk-3.0/ -%{_datadir}/themes/HighContrast/gtk-3.0/ %files -n adwaita-gtk2-theme %license LICENSE @@ -106,6 +123,10 @@ gtk-update-icon-cache --force %{_datadir}/icons/HighContrast &>/dev/null || : %{_datadir}/themes/HighContrast/index.theme %changelog +* Mon Feb 15 2021 Kalev Lember - 3.28-12 +- Split highcontrast-icon-theme out to a new subpackage +- Explicitly require cursor and icon themes required for the gtk2 themes + * Mon Feb 08 2021 Kalev Lember - 3.28-11 - Make adwaita-gtk2-theme recommends conditional on gtk2 being installed