Override default monospace font in RHEL

This commit is contained in:
Michael Catanzaro 2021-07-19 10:42:10 -05:00
parent f1e9364031
commit f03c580c13
2 changed files with 11 additions and 1 deletions

View File

@ -4,13 +4,14 @@
Name: gsettings-desktop-schemas Name: gsettings-desktop-schemas
Version: 40.0 Version: 40.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: A collection of GSettings schemas Summary: A collection of GSettings schemas
License: LGPLv2+ License: LGPLv2+
# no homepage exists for this component # no homepage exists for this component
URL: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas URL: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas
Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{tarball_version}.tar.xz Source0: https://download.gnome.org/sources/%{name}/40/%{name}-%{tarball_version}.tar.xz
Source1: org.gnome.desktop.interface.rhel.gschema.override
BuildRequires: gettext BuildRequires: gettext
BuildRequires: glib2-devel >= 2.31.0 BuildRequires: glib2-devel >= 2.31.0
@ -49,6 +50,10 @@ and header files for developing applications that use %{name}.
%install %install
%meson_install %meson_install
%if 0%{?rhel}
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
%endif
%find_lang %{name} --with-gnome %find_lang %{name} --with-gnome
@ -73,6 +78,9 @@ glib-compile-schemas --dry-run --strict %{buildroot}%{_datadir}/glib-2.0/schemas
%changelog %changelog
* Mon Jul 19 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 40.0-2
- Override default monospace font in RHEL
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-1 * Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-1
- Update to 40.0 - Update to 40.0

View File

@ -0,0 +1,2 @@
[org.gnome.desktop.interface]
monospace-font-name='Monospace 11'