Accepting request 369372 from M17N:fonts
1 OBS-URL: https://build.opensuse.org/request/show/369372 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/google-noto-fonts?expand=0&rev=11
This commit is contained in:
commit
4d27dc068a
3
NotoSansCJK.ttc.zip
Normal file
3
NotoSansCJK.ttc.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:05b34d65aecd5c66c4dd8864b0a30aa2a5e02228a69ecac38a84cdcd50c83475
|
||||
size 93278397
|
@ -3,16 +3,18 @@ pkg_name="google-noto-fonts"
|
||||
|
||||
for a in *.zip; do
|
||||
mkdir -p $pkg_name
|
||||
unzip -d $pkg_name $a
|
||||
unzip -o -d $pkg_name $a
|
||||
done
|
||||
|
||||
rm $pkg_name/LICENSE*.txt
|
||||
# remove draft fonts for now
|
||||
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
|
||||
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:'`
|
||||
ui=`(echo $font | grep -q UI) && echo UI`
|
||||
script=`echo $font | sed "s:$serif\(.*\)$ui:\1:"`
|
||||
@ -28,6 +30,11 @@ for h in hinted; do
|
||||
serif_dsc="Sans Serif"
|
||||
fi
|
||||
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"
|
||||
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_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
|
||||
if [ $serif != "ColorEmoji" ]; then
|
||||
sed -i "s:@SUBPACKAGE_FILELISTS@:%{_ttfontsdir}/Noto$serif$script$ui-\*.?tf\n@SUBPACKAGE_FILELISTS@:" $pkg_name.spec
|
||||
else
|
||||
if [ $serif == "ColorEmoji" ]; then
|
||||
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
|
||||
sed -i "s/@SUBPACKAGE_FILELISTS@/\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
||||
done
|
||||
|
@ -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
|
||||
|
||||
|
@ -31,6 +31,7 @@ License: OFL-1.1
|
||||
Group: System/X11/Fonts
|
||||
Url: https://github.com/googlei18n/noto-fonts
|
||||
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
|
||||
BuildRequires: fontpackages-devel
|
||||
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
|
||||
Cherokee Sans Serif font, hinted.
|
||||
|
||||
%package -n noto-sans-cjkjp-fonts
|
||||
Summary: Noto CJKjp Sans Serif Font
|
||||
%package -n noto-sans-cjk-fonts
|
||||
Summary: Noto CJK Sans Serif Font
|
||||
Group: System/X11/Fonts
|
||||
Requires: google-noto-fonts-doc
|
||||
Obsoletes: noto-sans-cjk
|
||||
Obsoletes: noto-sans-cjkjp
|
||||
Provides: noto-sans-cjkjp
|
||||
%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-cjkjp-fonts
|
||||
Obsoletes: noto-sans-cjkkr
|
||||
Provides: noto-sans-cjkkr
|
||||
%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-cjkkr-fonts
|
||||
Obsoletes: noto-sans-cjksc
|
||||
Provides: noto-sans-cjksc
|
||||
%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-cjksc-fonts
|
||||
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-fonts
|
||||
%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
|
||||
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
|
||||
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
|
||||
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
|
||||
Summary: Noto Myanmar Sans Serif Font
|
||||
Group: System/X11/Fonts
|
||||
@ -1432,13 +1358,16 @@ Thai Sans Serif font, hinted.
|
||||
%prep
|
||||
%setup -q -c -n %{name}-%{version}
|
||||
rm -f *Draft.*tf
|
||||
# use otc file for CJK
|
||||
rm -f NotoSans*CJK*.otf
|
||||
unzip -o %{S:1}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_ttfontsdir}
|
||||
cp *.ttf %{buildroot}%{_ttfontsdir}/
|
||||
cp *.otf %{buildroot}%{_ttfontsdir}/
|
||||
cp *.ttc %{buildroot}%{_ttfontsdir}/
|
||||
|
||||
%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-cjkjp-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-cjk-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-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-newtailue-fonts
|
||||
@ -1657,532 +1572,497 @@ cp *.otf %{buildroot}%{_ttfontsdir}/
|
||||
%doc LICENSE*.txt
|
||||
|
||||
%files -n noto-coloremoji-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoColorEmoji*.?tf
|
||||
|
||||
%files -n noto-emoji-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoEmoji-*.?tf
|
||||
|
||||
%files -n noto-kufiarabic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoKufiArabic-*.?tf
|
||||
|
||||
%files -n noto-naskharabic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoNaskhArabic-*.?tf
|
||||
|
||||
%files -n noto-nastaliqurdu-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoNastaliqUrdu-*.?tf
|
||||
|
||||
%files -n noto-sans-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSans-*.?tf
|
||||
|
||||
%files -n noto-sans-armenian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansArmenian-*.?tf
|
||||
|
||||
%files -n noto-sans-avestan-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansAvestan-*.?tf
|
||||
|
||||
%files -n noto-sans-balinese-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansBalinese-*.?tf
|
||||
|
||||
%files -n noto-sans-bamum-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansBamum-*.?tf
|
||||
|
||||
%files -n noto-sans-batak-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansBatak-*.?tf
|
||||
|
||||
%files -n noto-sans-bengali-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansBengali-*.?tf
|
||||
|
||||
%files -n noto-sans-brahmi-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansBrahmi-*.?tf
|
||||
|
||||
%files -n noto-sans-buginese-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansBuginese-*.?tf
|
||||
|
||||
%files -n noto-sans-buhid-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansBuhid-*.?tf
|
||||
|
||||
%files -n noto-sans-canadianaboriginal-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansCanadianAboriginal-*.?tf
|
||||
|
||||
%files -n noto-sans-carian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansCarian-*.?tf
|
||||
|
||||
%files -n noto-sans-cham-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansCham-*.?tf
|
||||
|
||||
%files -n noto-sans-cherokee-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansCherokee-*.?tf
|
||||
|
||||
%files -n noto-sans-cjkjp-fonts
|
||||
%defattr(-,root,root)
|
||||
%files -n noto-sans-cjk-fonts
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansCJKjp-*.?tf
|
||||
|
||||
%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
|
||||
%{_ttfontsdir}/NotoSansCJK*.ttc
|
||||
|
||||
%files -n noto-sans-coptic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansCoptic-*.?tf
|
||||
|
||||
%files -n noto-sans-cuneiform-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansCuneiform-*.?tf
|
||||
|
||||
%files -n noto-sans-cypriot-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansCypriot-*.?tf
|
||||
|
||||
%files -n noto-sans-deseret-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansDeseret-*.?tf
|
||||
|
||||
%files -n noto-sans-devanagari-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansDevanagari-*.?tf
|
||||
|
||||
%files -n noto-sans-egyptianhieroglyphs-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansEgyptianHieroglyphs-*.?tf
|
||||
|
||||
%files -n noto-sans-ethiopic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansEthiopic-*.?tf
|
||||
|
||||
%files -n noto-sans-georgian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansGeorgian-*.?tf
|
||||
|
||||
%files -n noto-sans-glagolitic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansGlagolitic-*.?tf
|
||||
|
||||
%files -n noto-sans-gothic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansGothic-*.?tf
|
||||
|
||||
%files -n noto-sans-gujarati-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansGujarati-*.?tf
|
||||
|
||||
%files -n noto-sans-gurmukhi-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansGurmukhi-*.?tf
|
||||
|
||||
%files -n noto-sans-hanunoo-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansHanunoo-*.?tf
|
||||
|
||||
%files -n noto-sans-hebrew-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansHebrew-*.?tf
|
||||
|
||||
%files -n noto-sans-imperialaramaic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansImperialAramaic-*.?tf
|
||||
|
||||
%files -n noto-sans-inscriptionalpahlavi-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansInscriptionalPahlavi-*.?tf
|
||||
|
||||
%files -n noto-sans-inscriptionalparthian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansInscriptionalParthian-*.?tf
|
||||
|
||||
%files -n noto-sans-javanese-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansJavanese-*.?tf
|
||||
|
||||
%files -n noto-sans-kaithi-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansKaithi-*.?tf
|
||||
|
||||
%files -n noto-sans-kannada-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansKannada-*.?tf
|
||||
|
||||
%files -n noto-sans-kayahli-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansKayahLi-*.?tf
|
||||
|
||||
%files -n noto-sans-kharoshthi-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansKharoshthi-*.?tf
|
||||
|
||||
%files -n noto-sans-khmer-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansKhmer-*.?tf
|
||||
|
||||
%files -n noto-sans-lao-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansLao-*.?tf
|
||||
|
||||
%files -n noto-sans-lepcha-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansLepcha-*.?tf
|
||||
|
||||
%files -n noto-sans-limbu-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansLimbu-*.?tf
|
||||
|
||||
%files -n noto-sans-linearb-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansLinearB-*.?tf
|
||||
|
||||
%files -n noto-sans-lisu-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansLisu-*.?tf
|
||||
|
||||
%files -n noto-sans-lycian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansLycian-*.?tf
|
||||
|
||||
%files -n noto-sans-lydian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansLydian-*.?tf
|
||||
|
||||
%files -n noto-sans-malayalam-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansMalayalam-*.?tf
|
||||
|
||||
%files -n noto-sans-mandaic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansMandaic-*.?tf
|
||||
|
||||
%files -n noto-sans-meeteimayek-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansMeeteiMayek-*.?tf
|
||||
|
||||
%files -n noto-sans-mongolian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_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
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansMyanmar-*.?tf
|
||||
|
||||
%files -n noto-sans-newtailue-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansNewTaiLue-*.?tf
|
||||
|
||||
%files -n noto-sans-nko-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansNKo-*.?tf
|
||||
|
||||
%files -n noto-sans-ogham-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansOgham-*.?tf
|
||||
|
||||
%files -n noto-sans-olchiki-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansOlChiki-*.?tf
|
||||
|
||||
%files -n noto-sans-olditalic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansOldItalic-*.?tf
|
||||
|
||||
%files -n noto-sans-oldpersian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansOldPersian-*.?tf
|
||||
|
||||
%files -n noto-sans-oldsoutharabian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansOldSouthArabian-*.?tf
|
||||
|
||||
%files -n noto-sans-oldturkic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansOldTurkic-*.?tf
|
||||
|
||||
%files -n noto-sans-oriya-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansOriya-*.?tf
|
||||
|
||||
%files -n noto-sans-osmanya-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansOsmanya-*.?tf
|
||||
|
||||
%files -n noto-sans-phagspa-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansPhagsPa-*.?tf
|
||||
|
||||
%files -n noto-sans-phoenician-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansPhoenician-*.?tf
|
||||
|
||||
%files -n noto-sans-rejang-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansRejang-*.?tf
|
||||
|
||||
%files -n noto-sans-runic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansRunic-*.?tf
|
||||
|
||||
%files -n noto-sans-samaritan-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansSamaritan-*.?tf
|
||||
|
||||
%files -n noto-sans-saurashtra-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansSaurashtra-*.?tf
|
||||
|
||||
%files -n noto-sans-shavian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansShavian-*.?tf
|
||||
|
||||
%files -n noto-sans-sinhala-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansSinhala-*.?tf
|
||||
|
||||
%files -n noto-sans-sundanese-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansSundanese-*.?tf
|
||||
|
||||
%files -n noto-sans-sylotinagri-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansSylotiNagri-*.?tf
|
||||
|
||||
%files -n noto-sans-symbols-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansSymbols-*.?tf
|
||||
|
||||
%files -n noto-sans-syriaceastern-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansSyriacEastern-*.?tf
|
||||
|
||||
%files -n noto-sans-syriacestrangela-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansSyriacEstrangela-*.?tf
|
||||
|
||||
%files -n noto-sans-syriacwestern-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansSyriacWestern-*.?tf
|
||||
|
||||
%files -n noto-sans-tagalog-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansTagalog-*.?tf
|
||||
|
||||
%files -n noto-sans-tagbanwa-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansTagbanwa-*.?tf
|
||||
|
||||
%files -n noto-sans-taile-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansTaiLe-*.?tf
|
||||
|
||||
%files -n noto-sans-taitham-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansTaiTham-*.?tf
|
||||
|
||||
%files -n noto-sans-taiviet-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansTaiViet-*.?tf
|
||||
|
||||
%files -n noto-sans-tamil-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansTamil-*.?tf
|
||||
|
||||
%files -n noto-sans-telugu-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansTelugu-*.?tf
|
||||
|
||||
%files -n noto-sans-thaana-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansThaana-*.?tf
|
||||
|
||||
%files -n noto-sans-thai-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansThai-*.?tf
|
||||
|
||||
%files -n noto-sans-tibetan-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansTibetan-*.?tf
|
||||
|
||||
%files -n noto-sans-tifinagh-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansTifinagh-*.?tf
|
||||
|
||||
%files -n noto-sans-ugaritic-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansUgaritic-*.?tf
|
||||
|
||||
%files -n noto-sans-vai-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansVai-*.?tf
|
||||
|
||||
%files -n noto-sans-yi-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSansYi-*.?tf
|
||||
|
||||
%files -n noto-serif-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSerif-*.?tf
|
||||
|
||||
%files -n noto-serif-armenian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSerifArmenian-*.?tf
|
||||
|
||||
%files -n noto-serif-georgian-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSerifGeorgian-*.?tf
|
||||
|
||||
%files -n noto-serif-khmer-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSerifKhmer-*.?tf
|
||||
|
||||
%files -n noto-serif-lao-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSerifLao-*.?tf
|
||||
|
||||
%files -n noto-serif-thai-fonts
|
||||
%defattr(-,root,root)
|
||||
%defattr(0644,root,root,755)
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/NotoSerifThai-*.?tf
|
||||
|
||||
|
@ -30,6 +30,7 @@ License: OFL-1.1
|
||||
Group: System/X11/Fonts
|
||||
Url: https://github.com/googlei18n/noto-fonts
|
||||
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
|
||||
BuildRequires: fontpackages-devel
|
||||
BuildRequires: unzip
|
||||
@ -53,13 +54,16 @@ License for Google's Noto fonts.
|
||||
%prep
|
||||
%setup -q -c -n %{name}-%{version}
|
||||
rm -f *Draft.*tf
|
||||
# use otc file for CJK
|
||||
rm -f NotoSans*CJK*.otf
|
||||
unzip -o %{S:1}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_ttfontsdir}
|
||||
cp *.ttf %{buildroot}%{_ttfontsdir}/
|
||||
cp *.otf %{buildroot}%{_ttfontsdir}/
|
||||
cp *.ttc %{buildroot}%{_ttfontsdir}/
|
||||
|
||||
@SUBPACKAGE_SCRIPTLETS@
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user