Move to the Red Hat fonts family for RHEL 10
Resolves: RHEL-14087
This commit is contained in:
parent
823019e0c1
commit
9d26ead6c9
@ -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
|
||||
|
||||
|
||||
|
4
org.gnome.desktop.interface.rhel.gschema.override
Normal file
4
org.gnome.desktop.interface.rhel.gschema.override
Normal 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'
|
Loading…
Reference in New Issue
Block a user