diff --git a/sil-padauk-fonts.spec b/sil-padauk-fonts.spec index adae7fc..1c79652 100644 --- a/sil-padauk-fonts.spec +++ b/sil-padauk-fonts.spec @@ -10,7 +10,7 @@ The font is a smart font using a Graphite description. Name: %{fontname}-fonts Version: 2.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A font for Burmese and the Myanmar script Group: User Interface/X @@ -23,6 +23,7 @@ Source2: %{name}-book-fontconfig.conf BuildArch: noarch BuildRequires: fontpackages-devel +BuildRequires: fonttools Requires: fontpackages-filesystem %description @@ -47,7 +48,17 @@ Padauk Book family font. sed -i 's/\r//' OFL.txt %build -# Nothing there +# Following is needed to fix the postscript font name +ttx *.ttf +sed -i 's|ပိတောက်|Padauk|g' Padauk*.ttx + +sed -i 's|စာလုံးမဲ|Bold|g' Padauk*.ttx + +sed -i 's|စာအုပ်|Book|g' Padauk-book*.ttx +rm *.ttf +ttx Padauk*.ttx + +rm *.ttx %install @@ -70,6 +81,9 @@ ln -s %{_fontconfig_templatedir}/%{fontconf}-book.conf \ %changelog +* Wed Mar 13 2013 Parag - 2.8-4 +- Resolves:rh#907330 - Fix the PostScript name in font files + * Thu Feb 14 2013 Fedora Release Engineering - 2.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild