Blame SPECS/gnome-themes-extra.spec

43c899
Name:           gnome-themes-extra
43c899
Version:        3.28
43c899
Release:        14%{?dist}
43c899
Summary:        GNOME Extra Themes
43c899
43c899
License:        LGPLv2+
43c899
URL:            https://gitlab.gnome.org/GNOME/gnome-themes-extra
43c899
Source0:        https://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz
43c899
Source1:        gtkrc
43c899
43c899
BuildRequires:  gcc
43c899
BuildRequires:  gettext
43c899
BuildRequires:  intltool
43c899
BuildRequires:  make
43c899
BuildRequires:  pkgconfig(gtk+-2.0)
43c899
BuildRequires:  pkgconfig(gtk+-3.0)
43c899
BuildRequires:  pkgconfig(librsvg-2.0)
43c899
BuildRequires:  /usr/bin/gtk-update-icon-cache
43c899
43c899
Recommends: (adwaita-gtk2-theme = %{version}-%{release} if gtk2)
43c899
Requires: adwaita-icon-theme
43c899
Requires: highcontrast-icon-theme = %{version}-%{release}
43c899
43c899
# Renamed in F28
43c899
Obsoletes: gnome-themes-standard < 3.28
43c899
Provides: gnome-themes-standard = %{version}-%{release}
43c899
Provides: gnome-themes-standard%{_isa} = %{version}-%{release}
43c899
43c899
%description
43c899
This module houses themes and theme-y tidbits that don’t really fit in anywhere
43c899
else, or deserve their own module. At the moment this consists of:
43c899
43c899
 * The GTK+ 2 version of Adwaita
43c899
 * Adwaita-dark as a separate theme, along with its GTK+ 2 equivalent
43c899
 * GTK+ 2 versions of the HighContrast themes
43c899
 * The legacy HighContrast icon theme
43c899
 * Index files needed for Adwaita to be used outside of GNOME
43c899
43c899
Once named gnome-themes-standard, this module used to contain various
43c899
components of the default GNOME 3 theme. However, at this point, most it has
43c899
moved elsewhere. The GTK+ 3 versions of the Adwaita and HighContrast themes are
43c899
now part of GTK+ 3 itself, and the HighContrastInverse and LowConstrast themes
43c899
have been discontinued.
43c899
43c899
Not to be confused with gnome-themes-extras.
43c899
43c899
%package -n adwaita-gtk2-theme
43c899
Summary: Adwaita gtk2 theme
43c899
Requires: gtk2%{_isa}
43c899
# cursor and icon themes required for the theme
43c899
Requires: adwaita-cursor-theme
43c899
Requires: adwaita-icon-theme
43c899
Requires: highcontrast-icon-theme = %{version}-%{release}
43c899
43c899
%description -n adwaita-gtk2-theme
43c899
The adwaita-gtk2-theme package contains a gtk2 theme for presenting widgets
43c899
with a GNOME look and feel.
43c899
43c899
%package -n highcontrast-icon-theme
43c899
Summary: HighContrast icon theme
43c899
BuildArch: noarch
43c899
# Split out to a new subpackage in gnome-themes-standard 3.28-12
43c899
Conflicts: gnome-themes-standard < 3.28-12
43c899
43c899
%description -n highcontrast-icon-theme
43c899
This package contains the HighContrast icon theme used by the GNOME desktop.
43c899
43c899
%prep
43c899
%autosetup -p1
43c899
43c899
%build
43c899
%configure
43c899
%make_build
43c899
43c899
%install
43c899
%make_install
43c899
find $RPM_BUILD_ROOT -name '*.la' -delete
43c899
43c899
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/HighContrast/icon-theme.cache
43c899
touch $RPM_BUILD_ROOT%{_datadir}/icons/HighContrast/icon-theme.cache
43c899
43c899
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-2.0
43c899
cp -a $RPM_SOURCE_DIR/gtkrc $RPM_BUILD_ROOT%{_datadir}/gtk-2.0/gtkrc
43c899
43c899
%transfiletriggerin -n highcontrast-icon-theme -- %{_datadir}/icons/HighContrast
43c899
gtk-update-icon-cache --force %{_datadir}/icons/HighContrast &>/dev/null || :
43c899
43c899
%transfiletriggerpostun -n highcontrast-icon-theme -- %{_datadir}/icons/HighContrast
43c899
gtk-update-icon-cache --force %{_datadir}/icons/HighContrast &>/dev/null || :
43c899
43c899
%files
43c899
%license LICENSE
43c899
%doc NEWS README.md
43c899
%{_datadir}/themes/Adwaita/gtk-3.0/
43c899
%{_datadir}/themes/Adwaita-dark/gtk-3.0/
43c899
%{_datadir}/themes/HighContrast/gtk-3.0/
43c899
43c899
%files -n highcontrast-icon-theme
43c899
%license LICENSE
43c899
%dir %{_datadir}/icons/HighContrast
43c899
%{_datadir}/icons/HighContrast/16x16/
43c899
%{_datadir}/icons/HighContrast/22x22/
43c899
%{_datadir}/icons/HighContrast/24x24/
43c899
%{_datadir}/icons/HighContrast/32x32/
43c899
%{_datadir}/icons/HighContrast/48x48/
43c899
%{_datadir}/icons/HighContrast/256x256/
43c899
%{_datadir}/icons/HighContrast/scalable/
43c899
%{_datadir}/icons/HighContrast/index.theme
43c899
%ghost %{_datadir}/icons/HighContrast/icon-theme.cache
43c899
43c899
%files -n adwaita-gtk2-theme
43c899
%license LICENSE
43c899
%{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.so
43c899
%{_datadir}/gtk-2.0/gtkrc
43c899
%dir %{_datadir}/themes/Adwaita
43c899
%{_datadir}/themes/Adwaita/gtk-2.0/
43c899
%{_datadir}/themes/Adwaita/index.theme
43c899
%dir %{_datadir}/themes/Adwaita-dark
43c899
%{_datadir}/themes/Adwaita-dark/gtk-2.0/
43c899
%{_datadir}/themes/Adwaita-dark/index.theme
43c899
%dir %{_datadir}/themes/HighContrast
43c899
%{_datadir}/themes/HighContrast/gtk-2.0/
43c899
%{_datadir}/themes/HighContrast/index.theme
43c899
43c899
%changelog
43c899
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.28-14
43c899
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
43c899
  Related: rhbz#1991688
43c899
43c899
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.28-13
43c899
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
43c899
43c899
* Mon Feb 15 2021 Kalev Lember <klember@redhat.com> - 3.28-12
43c899
- Split highcontrast-icon-theme out to a new subpackage
43c899
- Explicitly require cursor and icon themes required for the gtk2 themes
43c899
43c899
* Mon Feb 08 2021 Kalev Lember <klember@redhat.com> - 3.28-11
43c899
- Make adwaita-gtk2-theme recommends conditional on gtk2 being installed
43c899
43c899
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-10
43c899
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
43c899
43c899
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-9
43c899
- Second attempt - Rebuilt for
43c899
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
43c899
43c899
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-8
43c899
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
43c899
43c899
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-7
43c899
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
43c899
43c899
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-6
43c899
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
43c899
43c899
* Tue Feb 19 2019 Kalev Lember <klember@redhat.com> - 3.28-5
43c899
- Rebuilt against fixed atk (#1626575)
43c899
43c899
* Tue Feb 19 2019 Pete Walter <pwalter@fedoraproject.org> - 3.28-4
43c899
- Drop font requires
43c899
43c899
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-3
43c899
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
43c899
43c899
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28-2
43c899
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
43c899
43c899
* Fri Apr 13 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28-1
43c899
- Rename gnome-themes-standard to gnome-themes-extra