Blame SPECS/gnome-themes-extra.spec

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