Move to the Red Hat fonts family for RHEL 10

Resolves: RHEL-14087
This commit is contained in:
Tomas Popela 2024-04-08 16:12:43 +02:00 committed by Tomáš Popela
parent 823019e0c1
commit 9d26ead6c9
2 changed files with 11 additions and 2 deletions

View File

@ -11,6 +11,7 @@ License: LGPL-2.1-or-later
# no homepage exists for this component
URL: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas
Source0: https://download.gnome.org/sources/%{name}/46/%{name}-%{tarball_version}.tar.xz
Source1: org.gnome.desktop.interface.rhel.gschema.override
BuildRequires: gettext
BuildRequires: glib2-devel >= 2.31.0
@ -20,8 +21,8 @@ BuildRequires: meson
Requires: glib2 >= 2.31.0
# Recommend the default fonts set in the schemas
Recommends: font(cantarell)
Recommends: font(sourcecodepro)
Recommends: font(redhattext)
Recommends: font(redhatmono)
%description
gsettings-desktop-schemas contains a collection of GSettings schemas for
@ -49,6 +50,10 @@ and header files for developing applications that use %{name}.
%install
%meson_install
%if 0%{?rhel}
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
%endif
%find_lang %{name} --with-gnome

View File

@ -0,0 +1,4 @@
[org.gnome.desktop.interface]
document-font-name='Red Hat Text Regular 11'
font-name='Red Hat Text Regular 11'
monospace-font-name='Red Hat Mono Regular 10'