improve font subpackage descriptions, correct Hanunoo

specify font filenames more precisely
This commit is contained in:
Jens Petersen 2014-12-15 16:39:13 +09:00
parent 5dd1ba090e
commit cc4c4a7792
2 changed files with 10 additions and 5 deletions

View File

@ -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@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@redhat.com> - 20141117-4
- add obsoletes to cover the change of package names for Hanuno, Linear B,
and Meetei Mayek