[google-noto-fonts] improve font subpackage descriptions, correct Hanunoo

Jens Petersen petersen at fedoraproject.org
Mon Dec 15 07:39:37 UTC 2014


commit cc4c4a7792e75ca5dd95acb5692abcf849c5e510
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Dec 15 16:39:13 2014 +0900

    improve font subpackage descriptions, correct Hanunoo
    
    specify font filenames more precisely

 ...hanuno.conf => 66-google-noto-sans-hanunoo.conf |    0
 google-noto-fonts.spec                             |   15 ++++++++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/66-google-noto-sans-hanuno.conf b/66-google-noto-sans-hanunoo.conf
similarity index 100%
rename from 66-google-noto-sans-hanuno.conf
rename to 66-google-noto-sans-hanunoo.conf
diff --git a/google-noto-fonts.spec b/google-noto-fonts.spec
index 29ae0cb..2c8e627 100644
--- a/google-noto-fonts.spec
+++ b/google-noto-fonts.spec
@@ -10,7 +10,7 @@ in Unicode.\
 
 Name:           %{fontname}-fonts
 Version:        20141117
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Hinted and Non Hinted OpenType fonts for Unicode scripts
 Group:          User Interface/X
 License:        ASL 2.0
@@ -166,7 +166,7 @@ Requires:       %{name}-common = %{version}-%{release}\
 \
 %description -n %{subpkg}-fonts\
 %common_desc\
-Noto font for %{*}.\
+Noto %1 font%{?2: for %(echo %* | sed -e "s/%1 //")}.\
 \
 %post -n %{subpkg}-fonts \
 if [ -x %{_bindir}/fc-cache ]; then \
@@ -180,7 +180,7 @@ fi\
 \
 %files -n %{subpkg}-fonts \
 %dir %{_fontdir} \
-%{_fontdir}/Noto%{-a*}%{!-a:%fname}*.*t%{-c:c}%{!-c:f}\
+%{_fontdir}/Noto%{-a*}%{!-a:%fname}-*.*t%{-c:c}%{!-c:f}\
 %{_fontconfig_templatedir}/%{fontconf}-%{pname}.conf\
 %config(noreplace) %{_fontconfig_confdir}/%{fontconf}-%{pname}.conf\
 #%%_font_pkg -n %{pname} -f %{fontconf}-%{pname}.conf Noto%{-a*}%{!-a:%fname}*.*t%{-c:c}%{!-c:f}\
@@ -222,7 +222,7 @@ fi\
 %notopkg Sans Gujarati UI
 %notopkg Sans Gurmukhi
 %notopkg Sans Gurmukhi UI
-%notopkg -o sans-hanunno Sans Hanuno
+%notopkg -o sans-hanunno Sans Hanunoo
 %notopkg Sans Hebrew
 %notopkg Sans Imperial Aramaic
 %notopkg Sans Inscriptional Pahlavi
@@ -333,7 +333,7 @@ for f in \
         sans-cypriot sans-deseret sans-devanagari sans-devanagari-ui \
         sans-egyptian-hieroglyphs sans-ethiopic sans-georgian \
         sans-glagolitic sans-gothic sans-gujarati sans-gujarati-ui \
-        sans-gurmukhi sans-gurmukhi-ui sans-hanuno sans-hebrew \
+        sans-gurmukhi sans-gurmukhi-ui sans-hanunoo sans-hebrew \
         sans-imperial-aramaic sans-inscriptional-pahlavi \
         sans-inscriptional-parthian sans-japanese sans-javanese \
         sans-kaithi sans-kannada sans-kannada-ui sans-kayah-li \
@@ -381,6 +381,11 @@ done
 
 
 %changelog
+* Mon Dec 15 2014 Jens Petersen <petersen at redhat.com> - 20141117-5
+- improve generated font subpackage descriptions
+- it is Hanunoo not Hanuno!
+- specify font filenames more precisely
+
 * Mon Dec 15 2014 Jens Petersen <petersen at redhat.com> - 20141117-4
 - add obsoletes to cover the change of package names for Hanuno, Linear B,
   and Meetei Mayek


More information about the fonts-bugs mailing list