Dominique Leuenberger 2016-03-16 09:25:44 +00:00 committed by Git OBS Bridge
commit 4d27dc068a
5 changed files with 156 additions and 251 deletions

3
NotoSansCJK.ttc.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05b34d65aecd5c66c4dd8864b0a30aa2a5e02228a69ecac38a84cdcd50c83475
size 93278397

View File

@ -3,16 +3,18 @@ pkg_name="google-noto-fonts"
for a in *.zip; do for a in *.zip; do
mkdir -p $pkg_name mkdir -p $pkg_name
unzip -d $pkg_name $a unzip -o -d $pkg_name $a
done done
rm $pkg_name/LICENSE*.txt rm $pkg_name/LICENSE*.txt
# remove draft fonts for now # remove draft fonts for now
rm -f $pkg_name/*Draft.*tf rm -f $pkg_name/*Draft.*tf
# use otc file for CJK
rm -f $pkg_name/NotoSans*CJK*.otf
cp -f $pkg_name.spec.in $pkg_name.spec cp -f $pkg_name.spec.in $pkg_name.spec
for h in hinted; do for h in hinted; do
ls $pkg_name/ | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' | sort | uniq | while read font; do ls $pkg_name/ | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' -e 's:\.ttc::' | sort | uniq | while read font; do
serif=`echo $font | sed 's:\(Sans\|Serif\).*:\1:'` serif=`echo $font | sed 's:\(Sans\|Serif\).*:\1:'`
ui=`(echo $font | grep -q UI) && echo UI` ui=`(echo $font | grep -q UI) && echo UI`
script=`echo $font | sed "s:$serif\(.*\)$ui:\1:"` script=`echo $font | sed "s:$serif\(.*\)$ui:\1:"`
@ -28,6 +30,11 @@ for h in hinted; do
serif_dsc="Sans Serif" serif_dsc="Sans Serif"
fi fi
obsoletes=$packagename obsoletes=$packagename
if [ "$script" == "CJK" ]; then
for l in jp kr sc tc ; do
obsoletes="$obsoletes noto-sans-cjk$l noto-sans-cjk$l-fonts "
done
fi
packagename="$packagename-fonts" packagename="$packagename-fonts"
summary=`echo "Noto $script $serif_dsc Font" | sed 's:\([a-z]\)\([A-Z]\):\1 \2:'` summary=`echo "Noto $script $serif_dsc Font" | sed 's:\([a-z]\)\([A-Z]\):\1 \2:'`
@ -48,12 +55,14 @@ for h in hinted; do
sed -i "s/@SUBPACKAGE_SCRIPTLETS@/%reconfigure_fonts_scriptlets -n $packagename\n\n@SUBPACKAGE_SCRIPTLETS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_SCRIPTLETS@/%reconfigure_fonts_scriptlets -n $packagename\n\n@SUBPACKAGE_SCRIPTLETS@/" $pkg_name.spec
sed -i "s/@SUBPACKAGE_FILELISTS@/%files -n $packagename\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_FILELISTS@/%files -n $packagename\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
sed -i "s/@SUBPACKAGE_FILELISTS@/%defattr(-,root,root)\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_FILELISTS@/%defattr(0644,root,root,755)\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
sed -i "s/@SUBPACKAGE_FILELISTS@/%dir %{_ttfontsdir}\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_FILELISTS@/%dir %{_ttfontsdir}\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
if [ $serif != "ColorEmoji" ]; then if [ $serif == "ColorEmoji" ]; then
sed -i "s:@SUBPACKAGE_FILELISTS@:%{_ttfontsdir}/Noto$serif$script$ui-\*.?tf\n@SUBPACKAGE_FILELISTS@:" $pkg_name.spec
else
sed -i "s:@SUBPACKAGE_FILELISTS@:%{_ttfontsdir}/Noto$serif$script$ui\*.?tf\n@SUBPACKAGE_FILELISTS@:" $pkg_name.spec sed -i "s:@SUBPACKAGE_FILELISTS@:%{_ttfontsdir}/Noto$serif$script$ui\*.?tf\n@SUBPACKAGE_FILELISTS@:" $pkg_name.spec
elif [ "$script" == "CJK" ]; then
sed -i "s:@SUBPACKAGE_FILELISTS@:%{_ttfontsdir}/Noto$serif$script$ui\*.ttc\n@SUBPACKAGE_FILELISTS@:" $pkg_name.spec
else
sed -i "s:@SUBPACKAGE_FILELISTS@:%{_ttfontsdir}/Noto$serif$script$ui-\*.?tf\n@SUBPACKAGE_FILELISTS@:" $pkg_name.spec
fi fi
sed -i "s/@SUBPACKAGE_FILELISTS@/\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_FILELISTS@/\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
done done

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Mar 9 14:22:02 UTC 2016 - fcrozat@suse.com
- Add NotoSansCJK.ttc.zip and ship all CJK fonts in a single ttc
file and an single subpackage, this will save a lot of disk
space.
- Specify file permissions in defattr, some zip files are shipping
files with incorrect permissions.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 8 12:56:45 UTC 2016 - i@marguerite.su Fri Jan 8 12:56:45 UTC 2016 - i@marguerite.su

View File

@ -31,6 +31,7 @@ License: OFL-1.1
Group: System/X11/Fonts Group: System/X11/Fonts
Url: https://github.com/googlei18n/noto-fonts Url: https://github.com/googlei18n/noto-fonts
Source0: https://noto-website-2.storage.googleapis.com/pkgs/Noto-hinted.zip Source0: https://noto-website-2.storage.googleapis.com/pkgs/Noto-hinted.zip
Source1: https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJK.ttc.zip
Source2: generate-specfile.sh Source2: generate-specfile.sh
BuildRequires: fontpackages-devel BuildRequires: fontpackages-devel
BuildRequires: unzip BuildRequires: unzip
@ -296,57 +297,34 @@ Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains heights and stroke thicknesses) across languages. This package contains
Cherokee Sans Serif font, hinted. Cherokee Sans Serif font, hinted.
%package -n noto-sans-cjkjp-fonts %package -n noto-sans-cjk-fonts
Summary: Noto CJKjp Sans Serif Font Summary: Noto CJK Sans Serif Font
Group: System/X11/Fonts Group: System/X11/Fonts
Requires: google-noto-fonts-doc Requires: google-noto-fonts-doc
Obsoletes: noto-sans-cjk
Obsoletes: noto-sans-cjkjp Obsoletes: noto-sans-cjkjp
Provides: noto-sans-cjkjp Obsoletes: noto-sans-cjkjp-fonts
%reconfigure_fonts_prereq
%description -n noto-sans-cjkjp-fonts
Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains
CJKjp Sans Serif font, hinted.
%package -n noto-sans-cjkkr-fonts
Summary: Noto CJKkr Sans Serif Font
Group: System/X11/Fonts
Requires: google-noto-fonts-doc
Obsoletes: noto-sans-cjkkr Obsoletes: noto-sans-cjkkr
Provides: noto-sans-cjkkr Obsoletes: noto-sans-cjkkr-fonts
%reconfigure_fonts_prereq
%description -n noto-sans-cjkkr-fonts
Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains
CJKkr Sans Serif font, hinted.
%package -n noto-sans-cjksc-fonts
Summary: Noto CJKsc Sans Serif Font
Group: System/X11/Fonts
Requires: google-noto-fonts-doc
Obsoletes: noto-sans-cjksc Obsoletes: noto-sans-cjksc
Provides: noto-sans-cjksc Obsoletes: noto-sans-cjksc-fonts
%reconfigure_fonts_prereq
%description -n noto-sans-cjksc-fonts
Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains
CJKsc Sans Serif font, hinted.
%package -n noto-sans-cjktc-fonts
Summary: Noto CJKtc Sans Serif Font
Group: System/X11/Fonts
Requires: google-noto-fonts-doc
Obsoletes: noto-sans-cjktc Obsoletes: noto-sans-cjktc
Obsoletes: noto-sans-cjktc-fonts
Provides: noto-sans-cjk
Provides: noto-sans-cjkjp
Provides: noto-sans-cjkjp-fonts
Provides: noto-sans-cjkkr
Provides: noto-sans-cjkkr-fonts
Provides: noto-sans-cjksc
Provides: noto-sans-cjksc-fonts
Provides: noto-sans-cjktc Provides: noto-sans-cjktc
Provides: noto-sans-cjktc-fonts
%reconfigure_fonts_prereq %reconfigure_fonts_prereq
%description -n noto-sans-cjktc-fonts %description -n noto-sans-cjk-fonts
Noto's design goal is to achieve visual harmonization (e.g., compatible Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains heights and stroke thicknesses) across languages. This package contains
CJKtc Sans Serif font, hinted. CJK Sans Serif font, hinted.
%package -n noto-sans-coptic-fonts %package -n noto-sans-coptic-fonts
Summary: Noto Coptic Sans Serif Font Summary: Noto Coptic Sans Serif Font
@ -790,58 +768,6 @@ Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains heights and stroke thicknesses) across languages. This package contains
Mongolian Sans Serif font, hinted. Mongolian Sans Serif font, hinted.
%package -n noto-sans-monocjkjp-fonts
Summary: Noto Mono CJKjp Sans Serif Font
Group: System/X11/Fonts
Requires: google-noto-fonts-doc
Obsoletes: noto-sans-monocjkjp
Provides: noto-sans-monocjkjp
%reconfigure_fonts_prereq
%description -n noto-sans-monocjkjp-fonts
Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains
MonoCJKjp Sans Serif font, hinted.
%package -n noto-sans-monocjkkr-fonts
Summary: Noto Mono CJKkr Sans Serif Font
Group: System/X11/Fonts
Requires: google-noto-fonts-doc
Obsoletes: noto-sans-monocjkkr
Provides: noto-sans-monocjkkr
%reconfigure_fonts_prereq
%description -n noto-sans-monocjkkr-fonts
Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains
MonoCJKkr Sans Serif font, hinted.
%package -n noto-sans-monocjksc-fonts
Summary: Noto Mono CJKsc Sans Serif Font
Group: System/X11/Fonts
Requires: google-noto-fonts-doc
Obsoletes: noto-sans-monocjksc
Provides: noto-sans-monocjksc
%reconfigure_fonts_prereq
%description -n noto-sans-monocjksc-fonts
Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains
MonoCJKsc Sans Serif font, hinted.
%package -n noto-sans-monocjktc-fonts
Summary: Noto Mono CJKtc Sans Serif Font
Group: System/X11/Fonts
Requires: google-noto-fonts-doc
Obsoletes: noto-sans-monocjktc
Provides: noto-sans-monocjktc
%reconfigure_fonts_prereq
%description -n noto-sans-monocjktc-fonts
Noto's design goal is to achieve visual harmonization (e.g., compatible
heights and stroke thicknesses) across languages. This package contains
MonoCJKtc Sans Serif font, hinted.
%package -n noto-sans-myanmar-fonts %package -n noto-sans-myanmar-fonts
Summary: Noto Myanmar Sans Serif Font Summary: Noto Myanmar Sans Serif Font
Group: System/X11/Fonts Group: System/X11/Fonts
@ -1432,13 +1358,16 @@ Thai Sans Serif font, hinted.
%prep %prep
%setup -q -c -n %{name}-%{version} %setup -q -c -n %{name}-%{version}
rm -f *Draft.*tf rm -f *Draft.*tf
# use otc file for CJK
rm -f NotoSans*CJK*.otf
unzip -o %{S:1}
%build %build
%install %install
mkdir -p %{buildroot}%{_ttfontsdir} mkdir -p %{buildroot}%{_ttfontsdir}
cp *.ttf %{buildroot}%{_ttfontsdir}/ cp *.ttf %{buildroot}%{_ttfontsdir}/
cp *.otf %{buildroot}%{_ttfontsdir}/ cp *.ttc %{buildroot}%{_ttfontsdir}/
%reconfigure_fonts_scriptlets -n noto-coloremoji-fonts %reconfigure_fonts_scriptlets -n noto-coloremoji-fonts
@ -1478,13 +1407,7 @@ cp *.otf %{buildroot}%{_ttfontsdir}/
%reconfigure_fonts_scriptlets -n noto-sans-cherokee-fonts %reconfigure_fonts_scriptlets -n noto-sans-cherokee-fonts
%reconfigure_fonts_scriptlets -n noto-sans-cjkjp-fonts %reconfigure_fonts_scriptlets -n noto-sans-cjk-fonts
%reconfigure_fonts_scriptlets -n noto-sans-cjkkr-fonts
%reconfigure_fonts_scriptlets -n noto-sans-cjksc-fonts
%reconfigure_fonts_scriptlets -n noto-sans-cjktc-fonts
%reconfigure_fonts_scriptlets -n noto-sans-coptic-fonts %reconfigure_fonts_scriptlets -n noto-sans-coptic-fonts
@ -1554,14 +1477,6 @@ cp *.otf %{buildroot}%{_ttfontsdir}/
%reconfigure_fonts_scriptlets -n noto-sans-mongolian-fonts %reconfigure_fonts_scriptlets -n noto-sans-mongolian-fonts
%reconfigure_fonts_scriptlets -n noto-sans-monocjkjp-fonts
%reconfigure_fonts_scriptlets -n noto-sans-monocjkkr-fonts
%reconfigure_fonts_scriptlets -n noto-sans-monocjksc-fonts
%reconfigure_fonts_scriptlets -n noto-sans-monocjktc-fonts
%reconfigure_fonts_scriptlets -n noto-sans-myanmar-fonts %reconfigure_fonts_scriptlets -n noto-sans-myanmar-fonts
%reconfigure_fonts_scriptlets -n noto-sans-newtailue-fonts %reconfigure_fonts_scriptlets -n noto-sans-newtailue-fonts
@ -1657,532 +1572,497 @@ cp *.otf %{buildroot}%{_ttfontsdir}/
%doc LICENSE*.txt %doc LICENSE*.txt
%files -n noto-coloremoji-fonts %files -n noto-coloremoji-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoColorEmoji*.?tf %{_ttfontsdir}/NotoColorEmoji*.?tf
%files -n noto-emoji-fonts %files -n noto-emoji-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoEmoji-*.?tf %{_ttfontsdir}/NotoEmoji-*.?tf
%files -n noto-kufiarabic-fonts %files -n noto-kufiarabic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoKufiArabic-*.?tf %{_ttfontsdir}/NotoKufiArabic-*.?tf
%files -n noto-naskharabic-fonts %files -n noto-naskharabic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoNaskhArabic-*.?tf %{_ttfontsdir}/NotoNaskhArabic-*.?tf
%files -n noto-nastaliqurdu-fonts %files -n noto-nastaliqurdu-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoNastaliqUrdu-*.?tf %{_ttfontsdir}/NotoNastaliqUrdu-*.?tf
%files -n noto-sans-fonts %files -n noto-sans-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSans-*.?tf %{_ttfontsdir}/NotoSans-*.?tf
%files -n noto-sans-armenian-fonts %files -n noto-sans-armenian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansArmenian-*.?tf %{_ttfontsdir}/NotoSansArmenian-*.?tf
%files -n noto-sans-avestan-fonts %files -n noto-sans-avestan-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansAvestan-*.?tf %{_ttfontsdir}/NotoSansAvestan-*.?tf
%files -n noto-sans-balinese-fonts %files -n noto-sans-balinese-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansBalinese-*.?tf %{_ttfontsdir}/NotoSansBalinese-*.?tf
%files -n noto-sans-bamum-fonts %files -n noto-sans-bamum-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansBamum-*.?tf %{_ttfontsdir}/NotoSansBamum-*.?tf
%files -n noto-sans-batak-fonts %files -n noto-sans-batak-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansBatak-*.?tf %{_ttfontsdir}/NotoSansBatak-*.?tf
%files -n noto-sans-bengali-fonts %files -n noto-sans-bengali-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansBengali-*.?tf %{_ttfontsdir}/NotoSansBengali-*.?tf
%files -n noto-sans-brahmi-fonts %files -n noto-sans-brahmi-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansBrahmi-*.?tf %{_ttfontsdir}/NotoSansBrahmi-*.?tf
%files -n noto-sans-buginese-fonts %files -n noto-sans-buginese-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansBuginese-*.?tf %{_ttfontsdir}/NotoSansBuginese-*.?tf
%files -n noto-sans-buhid-fonts %files -n noto-sans-buhid-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansBuhid-*.?tf %{_ttfontsdir}/NotoSansBuhid-*.?tf
%files -n noto-sans-canadianaboriginal-fonts %files -n noto-sans-canadianaboriginal-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCanadianAboriginal-*.?tf %{_ttfontsdir}/NotoSansCanadianAboriginal-*.?tf
%files -n noto-sans-carian-fonts %files -n noto-sans-carian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCarian-*.?tf %{_ttfontsdir}/NotoSansCarian-*.?tf
%files -n noto-sans-cham-fonts %files -n noto-sans-cham-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCham-*.?tf %{_ttfontsdir}/NotoSansCham-*.?tf
%files -n noto-sans-cherokee-fonts %files -n noto-sans-cherokee-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCherokee-*.?tf %{_ttfontsdir}/NotoSansCherokee-*.?tf
%files -n noto-sans-cjkjp-fonts %files -n noto-sans-cjk-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCJKjp-*.?tf %{_ttfontsdir}/NotoSansCJK*.ttc
%files -n noto-sans-cjkkr-fonts
%defattr(-,root,root)
%dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCJKkr-*.?tf
%files -n noto-sans-cjksc-fonts
%defattr(-,root,root)
%dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCJKsc-*.?tf
%files -n noto-sans-cjktc-fonts
%defattr(-,root,root)
%dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCJKtc-*.?tf
%files -n noto-sans-coptic-fonts %files -n noto-sans-coptic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCoptic-*.?tf %{_ttfontsdir}/NotoSansCoptic-*.?tf
%files -n noto-sans-cuneiform-fonts %files -n noto-sans-cuneiform-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCuneiform-*.?tf %{_ttfontsdir}/NotoSansCuneiform-*.?tf
%files -n noto-sans-cypriot-fonts %files -n noto-sans-cypriot-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansCypriot-*.?tf %{_ttfontsdir}/NotoSansCypriot-*.?tf
%files -n noto-sans-deseret-fonts %files -n noto-sans-deseret-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansDeseret-*.?tf %{_ttfontsdir}/NotoSansDeseret-*.?tf
%files -n noto-sans-devanagari-fonts %files -n noto-sans-devanagari-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansDevanagari-*.?tf %{_ttfontsdir}/NotoSansDevanagari-*.?tf
%files -n noto-sans-egyptianhieroglyphs-fonts %files -n noto-sans-egyptianhieroglyphs-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansEgyptianHieroglyphs-*.?tf %{_ttfontsdir}/NotoSansEgyptianHieroglyphs-*.?tf
%files -n noto-sans-ethiopic-fonts %files -n noto-sans-ethiopic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansEthiopic-*.?tf %{_ttfontsdir}/NotoSansEthiopic-*.?tf
%files -n noto-sans-georgian-fonts %files -n noto-sans-georgian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansGeorgian-*.?tf %{_ttfontsdir}/NotoSansGeorgian-*.?tf
%files -n noto-sans-glagolitic-fonts %files -n noto-sans-glagolitic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansGlagolitic-*.?tf %{_ttfontsdir}/NotoSansGlagolitic-*.?tf
%files -n noto-sans-gothic-fonts %files -n noto-sans-gothic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansGothic-*.?tf %{_ttfontsdir}/NotoSansGothic-*.?tf
%files -n noto-sans-gujarati-fonts %files -n noto-sans-gujarati-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansGujarati-*.?tf %{_ttfontsdir}/NotoSansGujarati-*.?tf
%files -n noto-sans-gurmukhi-fonts %files -n noto-sans-gurmukhi-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansGurmukhi-*.?tf %{_ttfontsdir}/NotoSansGurmukhi-*.?tf
%files -n noto-sans-hanunoo-fonts %files -n noto-sans-hanunoo-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansHanunoo-*.?tf %{_ttfontsdir}/NotoSansHanunoo-*.?tf
%files -n noto-sans-hebrew-fonts %files -n noto-sans-hebrew-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansHebrew-*.?tf %{_ttfontsdir}/NotoSansHebrew-*.?tf
%files -n noto-sans-imperialaramaic-fonts %files -n noto-sans-imperialaramaic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansImperialAramaic-*.?tf %{_ttfontsdir}/NotoSansImperialAramaic-*.?tf
%files -n noto-sans-inscriptionalpahlavi-fonts %files -n noto-sans-inscriptionalpahlavi-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansInscriptionalPahlavi-*.?tf %{_ttfontsdir}/NotoSansInscriptionalPahlavi-*.?tf
%files -n noto-sans-inscriptionalparthian-fonts %files -n noto-sans-inscriptionalparthian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansInscriptionalParthian-*.?tf %{_ttfontsdir}/NotoSansInscriptionalParthian-*.?tf
%files -n noto-sans-javanese-fonts %files -n noto-sans-javanese-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansJavanese-*.?tf %{_ttfontsdir}/NotoSansJavanese-*.?tf
%files -n noto-sans-kaithi-fonts %files -n noto-sans-kaithi-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansKaithi-*.?tf %{_ttfontsdir}/NotoSansKaithi-*.?tf
%files -n noto-sans-kannada-fonts %files -n noto-sans-kannada-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansKannada-*.?tf %{_ttfontsdir}/NotoSansKannada-*.?tf
%files -n noto-sans-kayahli-fonts %files -n noto-sans-kayahli-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansKayahLi-*.?tf %{_ttfontsdir}/NotoSansKayahLi-*.?tf
%files -n noto-sans-kharoshthi-fonts %files -n noto-sans-kharoshthi-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansKharoshthi-*.?tf %{_ttfontsdir}/NotoSansKharoshthi-*.?tf
%files -n noto-sans-khmer-fonts %files -n noto-sans-khmer-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansKhmer-*.?tf %{_ttfontsdir}/NotoSansKhmer-*.?tf
%files -n noto-sans-lao-fonts %files -n noto-sans-lao-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansLao-*.?tf %{_ttfontsdir}/NotoSansLao-*.?tf
%files -n noto-sans-lepcha-fonts %files -n noto-sans-lepcha-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansLepcha-*.?tf %{_ttfontsdir}/NotoSansLepcha-*.?tf
%files -n noto-sans-limbu-fonts %files -n noto-sans-limbu-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansLimbu-*.?tf %{_ttfontsdir}/NotoSansLimbu-*.?tf
%files -n noto-sans-linearb-fonts %files -n noto-sans-linearb-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansLinearB-*.?tf %{_ttfontsdir}/NotoSansLinearB-*.?tf
%files -n noto-sans-lisu-fonts %files -n noto-sans-lisu-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansLisu-*.?tf %{_ttfontsdir}/NotoSansLisu-*.?tf
%files -n noto-sans-lycian-fonts %files -n noto-sans-lycian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansLycian-*.?tf %{_ttfontsdir}/NotoSansLycian-*.?tf
%files -n noto-sans-lydian-fonts %files -n noto-sans-lydian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansLydian-*.?tf %{_ttfontsdir}/NotoSansLydian-*.?tf
%files -n noto-sans-malayalam-fonts %files -n noto-sans-malayalam-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansMalayalam-*.?tf %{_ttfontsdir}/NotoSansMalayalam-*.?tf
%files -n noto-sans-mandaic-fonts %files -n noto-sans-mandaic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansMandaic-*.?tf %{_ttfontsdir}/NotoSansMandaic-*.?tf
%files -n noto-sans-meeteimayek-fonts %files -n noto-sans-meeteimayek-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansMeeteiMayek-*.?tf %{_ttfontsdir}/NotoSansMeeteiMayek-*.?tf
%files -n noto-sans-mongolian-fonts %files -n noto-sans-mongolian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansMongolian-*.?tf %{_ttfontsdir}/NotoSansMongolian-*.?tf
%files -n noto-sans-monocjkjp-fonts
%defattr(-,root,root)
%dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansMonoCJKjp-*.?tf
%files -n noto-sans-monocjkkr-fonts
%defattr(-,root,root)
%dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansMonoCJKkr-*.?tf
%files -n noto-sans-monocjksc-fonts
%defattr(-,root,root)
%dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansMonoCJKsc-*.?tf
%files -n noto-sans-monocjktc-fonts
%defattr(-,root,root)
%dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansMonoCJKtc-*.?tf
%files -n noto-sans-myanmar-fonts %files -n noto-sans-myanmar-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansMyanmar-*.?tf %{_ttfontsdir}/NotoSansMyanmar-*.?tf
%files -n noto-sans-newtailue-fonts %files -n noto-sans-newtailue-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansNewTaiLue-*.?tf %{_ttfontsdir}/NotoSansNewTaiLue-*.?tf
%files -n noto-sans-nko-fonts %files -n noto-sans-nko-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansNKo-*.?tf %{_ttfontsdir}/NotoSansNKo-*.?tf
%files -n noto-sans-ogham-fonts %files -n noto-sans-ogham-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansOgham-*.?tf %{_ttfontsdir}/NotoSansOgham-*.?tf
%files -n noto-sans-olchiki-fonts %files -n noto-sans-olchiki-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansOlChiki-*.?tf %{_ttfontsdir}/NotoSansOlChiki-*.?tf
%files -n noto-sans-olditalic-fonts %files -n noto-sans-olditalic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansOldItalic-*.?tf %{_ttfontsdir}/NotoSansOldItalic-*.?tf
%files -n noto-sans-oldpersian-fonts %files -n noto-sans-oldpersian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansOldPersian-*.?tf %{_ttfontsdir}/NotoSansOldPersian-*.?tf
%files -n noto-sans-oldsoutharabian-fonts %files -n noto-sans-oldsoutharabian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansOldSouthArabian-*.?tf %{_ttfontsdir}/NotoSansOldSouthArabian-*.?tf
%files -n noto-sans-oldturkic-fonts %files -n noto-sans-oldturkic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansOldTurkic-*.?tf %{_ttfontsdir}/NotoSansOldTurkic-*.?tf
%files -n noto-sans-oriya-fonts %files -n noto-sans-oriya-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansOriya-*.?tf %{_ttfontsdir}/NotoSansOriya-*.?tf
%files -n noto-sans-osmanya-fonts %files -n noto-sans-osmanya-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansOsmanya-*.?tf %{_ttfontsdir}/NotoSansOsmanya-*.?tf
%files -n noto-sans-phagspa-fonts %files -n noto-sans-phagspa-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansPhagsPa-*.?tf %{_ttfontsdir}/NotoSansPhagsPa-*.?tf
%files -n noto-sans-phoenician-fonts %files -n noto-sans-phoenician-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansPhoenician-*.?tf %{_ttfontsdir}/NotoSansPhoenician-*.?tf
%files -n noto-sans-rejang-fonts %files -n noto-sans-rejang-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansRejang-*.?tf %{_ttfontsdir}/NotoSansRejang-*.?tf
%files -n noto-sans-runic-fonts %files -n noto-sans-runic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansRunic-*.?tf %{_ttfontsdir}/NotoSansRunic-*.?tf
%files -n noto-sans-samaritan-fonts %files -n noto-sans-samaritan-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansSamaritan-*.?tf %{_ttfontsdir}/NotoSansSamaritan-*.?tf
%files -n noto-sans-saurashtra-fonts %files -n noto-sans-saurashtra-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansSaurashtra-*.?tf %{_ttfontsdir}/NotoSansSaurashtra-*.?tf
%files -n noto-sans-shavian-fonts %files -n noto-sans-shavian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansShavian-*.?tf %{_ttfontsdir}/NotoSansShavian-*.?tf
%files -n noto-sans-sinhala-fonts %files -n noto-sans-sinhala-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansSinhala-*.?tf %{_ttfontsdir}/NotoSansSinhala-*.?tf
%files -n noto-sans-sundanese-fonts %files -n noto-sans-sundanese-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansSundanese-*.?tf %{_ttfontsdir}/NotoSansSundanese-*.?tf
%files -n noto-sans-sylotinagri-fonts %files -n noto-sans-sylotinagri-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansSylotiNagri-*.?tf %{_ttfontsdir}/NotoSansSylotiNagri-*.?tf
%files -n noto-sans-symbols-fonts %files -n noto-sans-symbols-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansSymbols-*.?tf %{_ttfontsdir}/NotoSansSymbols-*.?tf
%files -n noto-sans-syriaceastern-fonts %files -n noto-sans-syriaceastern-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansSyriacEastern-*.?tf %{_ttfontsdir}/NotoSansSyriacEastern-*.?tf
%files -n noto-sans-syriacestrangela-fonts %files -n noto-sans-syriacestrangela-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansSyriacEstrangela-*.?tf %{_ttfontsdir}/NotoSansSyriacEstrangela-*.?tf
%files -n noto-sans-syriacwestern-fonts %files -n noto-sans-syriacwestern-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansSyriacWestern-*.?tf %{_ttfontsdir}/NotoSansSyriacWestern-*.?tf
%files -n noto-sans-tagalog-fonts %files -n noto-sans-tagalog-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansTagalog-*.?tf %{_ttfontsdir}/NotoSansTagalog-*.?tf
%files -n noto-sans-tagbanwa-fonts %files -n noto-sans-tagbanwa-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansTagbanwa-*.?tf %{_ttfontsdir}/NotoSansTagbanwa-*.?tf
%files -n noto-sans-taile-fonts %files -n noto-sans-taile-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansTaiLe-*.?tf %{_ttfontsdir}/NotoSansTaiLe-*.?tf
%files -n noto-sans-taitham-fonts %files -n noto-sans-taitham-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansTaiTham-*.?tf %{_ttfontsdir}/NotoSansTaiTham-*.?tf
%files -n noto-sans-taiviet-fonts %files -n noto-sans-taiviet-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansTaiViet-*.?tf %{_ttfontsdir}/NotoSansTaiViet-*.?tf
%files -n noto-sans-tamil-fonts %files -n noto-sans-tamil-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansTamil-*.?tf %{_ttfontsdir}/NotoSansTamil-*.?tf
%files -n noto-sans-telugu-fonts %files -n noto-sans-telugu-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansTelugu-*.?tf %{_ttfontsdir}/NotoSansTelugu-*.?tf
%files -n noto-sans-thaana-fonts %files -n noto-sans-thaana-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansThaana-*.?tf %{_ttfontsdir}/NotoSansThaana-*.?tf
%files -n noto-sans-thai-fonts %files -n noto-sans-thai-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansThai-*.?tf %{_ttfontsdir}/NotoSansThai-*.?tf
%files -n noto-sans-tibetan-fonts %files -n noto-sans-tibetan-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansTibetan-*.?tf %{_ttfontsdir}/NotoSansTibetan-*.?tf
%files -n noto-sans-tifinagh-fonts %files -n noto-sans-tifinagh-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansTifinagh-*.?tf %{_ttfontsdir}/NotoSansTifinagh-*.?tf
%files -n noto-sans-ugaritic-fonts %files -n noto-sans-ugaritic-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansUgaritic-*.?tf %{_ttfontsdir}/NotoSansUgaritic-*.?tf
%files -n noto-sans-vai-fonts %files -n noto-sans-vai-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansVai-*.?tf %{_ttfontsdir}/NotoSansVai-*.?tf
%files -n noto-sans-yi-fonts %files -n noto-sans-yi-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSansYi-*.?tf %{_ttfontsdir}/NotoSansYi-*.?tf
%files -n noto-serif-fonts %files -n noto-serif-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSerif-*.?tf %{_ttfontsdir}/NotoSerif-*.?tf
%files -n noto-serif-armenian-fonts %files -n noto-serif-armenian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSerifArmenian-*.?tf %{_ttfontsdir}/NotoSerifArmenian-*.?tf
%files -n noto-serif-georgian-fonts %files -n noto-serif-georgian-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSerifGeorgian-*.?tf %{_ttfontsdir}/NotoSerifGeorgian-*.?tf
%files -n noto-serif-khmer-fonts %files -n noto-serif-khmer-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSerifKhmer-*.?tf %{_ttfontsdir}/NotoSerifKhmer-*.?tf
%files -n noto-serif-lao-fonts %files -n noto-serif-lao-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSerifLao-*.?tf %{_ttfontsdir}/NotoSerifLao-*.?tf
%files -n noto-serif-thai-fonts %files -n noto-serif-thai-fonts
%defattr(-,root,root) %defattr(0644,root,root,755)
%dir %{_ttfontsdir} %dir %{_ttfontsdir}
%{_ttfontsdir}/NotoSerifThai-*.?tf %{_ttfontsdir}/NotoSerifThai-*.?tf

View File

@ -30,6 +30,7 @@ License: OFL-1.1
Group: System/X11/Fonts Group: System/X11/Fonts
Url: https://github.com/googlei18n/noto-fonts Url: https://github.com/googlei18n/noto-fonts
Source0: https://noto-website-2.storage.googleapis.com/pkgs/Noto-hinted.zip Source0: https://noto-website-2.storage.googleapis.com/pkgs/Noto-hinted.zip
Source1: https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJK.ttc.zip
Source2: generate-specfile.sh Source2: generate-specfile.sh
BuildRequires: fontpackages-devel BuildRequires: fontpackages-devel
BuildRequires: unzip BuildRequires: unzip
@ -53,13 +54,16 @@ License for Google's Noto fonts.
%prep %prep
%setup -q -c -n %{name}-%{version} %setup -q -c -n %{name}-%{version}
rm -f *Draft.*tf rm -f *Draft.*tf
# use otc file for CJK
rm -f NotoSans*CJK*.otf
unzip -o %{S:1}
%build %build
%install %install
mkdir -p %{buildroot}%{_ttfontsdir} mkdir -p %{buildroot}%{_ttfontsdir}
cp *.ttf %{buildroot}%{_ttfontsdir}/ cp *.ttf %{buildroot}%{_ttfontsdir}/
cp *.otf %{buildroot}%{_ttfontsdir}/ cp *.ttc %{buildroot}%{_ttfontsdir}/
@SUBPACKAGE_SCRIPTLETS@ @SUBPACKAGE_SCRIPTLETS@