forked from rpms/plymouth
Use Red Hat Text font in RHEL
This commit is contained in:
parent
0c49f34d21
commit
93a1f9da3a
@ -221,7 +221,11 @@ spins in the shape of an infinity sign.
|
|||||||
%package theme-spinner
|
%package theme-spinner
|
||||||
Summary: Plymouth "Spinner" theme
|
Summary: Plymouth "Spinner" theme
|
||||||
Requires: %{name}-plugin-two-step = %{version}-%{release}
|
Requires: %{name}-plugin-two-step = %{version}-%{release}
|
||||||
|
%if 0%{?rhel} > 9
|
||||||
|
Requires: font(redhattextvf) font(redhatmonovf)
|
||||||
|
%else
|
||||||
Requires: font(cantarell) font(cantarelllight)
|
Requires: font(cantarell) font(cantarelllight)
|
||||||
|
%endif
|
||||||
Requires(post): plymouth-scripts
|
Requires(post): plymouth-scripts
|
||||||
Provides: plymouth(system-theme) = %{version}-%{release}
|
Provides: plymouth(system-theme) = %{version}-%{release}
|
||||||
|
|
||||||
@ -259,6 +263,10 @@ cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
|
|||||||
cp $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow/{box,bullet,entry,lock}.png $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
|
cp $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow/{box,bullet,entry,lock}.png $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/charge
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?rhel} > 9
|
||||||
|
find -type f -exec sed -i -e 's/Cantarell/Red Hat Text/g' {} \;
|
||||||
|
%endif
|
||||||
|
|
||||||
# Drop glow, it's not very Fedora-y
|
# Drop glow, it's not very Fedora-y
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/plymouth/themes/glow
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user