Add TrueType fonts

Fixes RHBZ #1709922
This commit is contained in:
Ben Cotton 2019-05-14 11:19:38 -04:00
parent 955c90f76b
commit 80b601f835

View File

@ -23,7 +23,7 @@ and designed by Jeremy Mickel / MCKL for the new Red Hat identity.
Name: %{fontname}-fonts
Version: 2.2.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Red Hat fonts
# Only the metainfo files are CC-BY-SA
License: OFL and CC-BY-SA
@ -72,6 +72,7 @@ This package provides the Text fonts variant.
# Install fonts
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p OTF/*.otf %{buildroot}%{_fontdir}
install -m 0644 -p TTF/*.ttf %{buildroot}%{_fontdir}
# Install fontconfig data
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
@ -96,17 +97,20 @@ install -m 0644 -p metainfo/*.metainfo.xml %{buildroot}%{_datadir}/metainfo
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainfo.xml
%_font_pkg -n display -f %{fontconf}-display.conf RedHatDisplay*.otf
%_font_pkg -n display -f %{fontconf}-display.conf RedHatDisplay*.?tf
%license LICENSE metainfo/LICENSE-METAINFO
%doc README.md CHANGELOG.md
%{_datadir}/metainfo/%{asfontname}-display.metainfo.xml
%_font_pkg -n text -f %{fontconf}-text.conf RedHatText*.otf
%_font_pkg -n text -f %{fontconf}-text.conf RedHatText*.?tf
%license LICENSE metainfo/LICENSE-METAINFO
%doc README.md CHANGELOG.md
%{_datadir}/metainfo/%{asfontname}-text.metainfo.xml
%changelog
* Tue May 14 2019 Ben Cotton <bcotton@fedoraproject.org> - 2.20-2
- Add TrueType font files (RHBZ #1709922)
* Sun May 5 2019 Neal Gompa <ngompa13@gmail.com> - 2.20-1
- Initial packaging