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
This commit is contained in:
parent
35305952e8
commit
408776fdcd
@ -1,6 +1,6 @@
|
|||||||
Name: gnome-themes-extra
|
Name: gnome-themes-extra
|
||||||
Version: 3.28
|
Version: 3.28
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: GNOME Extra Themes
|
Summary: GNOME Extra Themes
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -19,6 +19,7 @@ BuildRequires: /usr/bin/gtk-update-icon-cache
|
|||||||
|
|
||||||
Recommends: (adwaita-gtk2-theme = %{version}-%{release} if gtk2)
|
Recommends: (adwaita-gtk2-theme = %{version}-%{release} if gtk2)
|
||||||
Requires: adwaita-icon-theme
|
Requires: adwaita-icon-theme
|
||||||
|
Requires: highcontrast-icon-theme = %{version}-%{release}
|
||||||
|
|
||||||
# Renamed in F28
|
# Renamed in F28
|
||||||
Obsoletes: gnome-themes-standard < 3.28
|
Obsoletes: gnome-themes-standard < 3.28
|
||||||
@ -46,11 +47,24 @@ Not to be confused with gnome-themes-extras.
|
|||||||
%package -n adwaita-gtk2-theme
|
%package -n adwaita-gtk2-theme
|
||||||
Summary: Adwaita gtk2 theme
|
Summary: Adwaita gtk2 theme
|
||||||
Requires: gtk2%{_isa}
|
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
|
%description -n adwaita-gtk2-theme
|
||||||
The adwaita-gtk2-theme package contains a gtk2 theme for presenting widgets
|
The adwaita-gtk2-theme package contains a gtk2 theme for presenting widgets
|
||||||
with a GNOME look and feel.
|
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
|
%prep
|
||||||
%autosetup -p1
|
%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
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-2.0
|
||||||
cp -a $RPM_SOURCE_DIR/gtkrc $RPM_BUILD_ROOT%{_datadir}/gtk-2.0/gtkrc
|
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 || :
|
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 || :
|
gtk-update-icon-cache --force %{_datadir}/icons/HighContrast &>/dev/null || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc NEWS README.md
|
%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
|
%dir %{_datadir}/icons/HighContrast
|
||||||
%{_datadir}/icons/HighContrast/16x16/
|
%{_datadir}/icons/HighContrast/16x16/
|
||||||
%{_datadir}/icons/HighContrast/22x22/
|
%{_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/scalable/
|
||||||
%{_datadir}/icons/HighContrast/index.theme
|
%{_datadir}/icons/HighContrast/index.theme
|
||||||
%ghost %{_datadir}/icons/HighContrast/icon-theme.cache
|
%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
|
%files -n adwaita-gtk2-theme
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
@ -106,6 +123,10 @@ gtk-update-icon-cache --force %{_datadir}/icons/HighContrast &>/dev/null || :
|
|||||||
%{_datadir}/themes/HighContrast/index.theme
|
%{_datadir}/themes/HighContrast/index.theme
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 15 2021 Kalev Lember <klember@redhat.com> - 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 <klember@redhat.com> - 3.28-11
|
* Mon Feb 08 2021 Kalev Lember <klember@redhat.com> - 3.28-11
|
||||||
- Make adwaita-gtk2-theme recommends conditional on gtk2 being installed
|
- Make adwaita-gtk2-theme recommends conditional on gtk2 being installed
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user