From 80b601f835a12c69c56c01340e25d93474e5dba9 Mon Sep 17 00:00:00 2001 From: Ben Cotton Date: Tue, 14 May 2019 11:19:38 -0400 Subject: [PATCH] Add TrueType fonts Fixes RHBZ #1709922 --- redhat-fonts.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/redhat-fonts.spec b/redhat-fonts.spec index dfdf8b5..06ad5ab 100644 --- a/redhat-fonts.spec +++ b/redhat-fonts.spec @@ -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 - 2.20-2 +- Add TrueType font files (RHBZ #1709922) + * Sun May 5 2019 Neal Gompa - 2.20-1 - Initial packaging