- split fonts in subpackages
- generate-specfile.sh created OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-noto-fonts?expand=0&rev=4
This commit is contained in:
parent
99f62f3875
commit
5db0faafd4
58
generate-specfile.sh
Normal file
58
generate-specfile.sh
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
pkg_name="google-noto-fonts"
|
||||||
|
mkdir -p $pkg_name
|
||||||
|
for a in *.tgz; do
|
||||||
|
tar -x --directory=$pkg_name -f $a
|
||||||
|
done
|
||||||
|
mv ${pkg_name}/fonts/individual/unhinted/NotoSansMalayalam{,-Regular}.ttf
|
||||||
|
mv ${pkg_name}/fonts/individual/unhinted/NotoSansMalayalamUI{,-Regular}.ttf
|
||||||
|
# remove duplicities in fonts/individual/unhinted
|
||||||
|
for f in `ls ${pkg_name}/fonts/individual/unhinted`; do
|
||||||
|
if [ -e ${pkg_name}/fonts/individual/hinted/$f ]; then
|
||||||
|
rm ${pkg_name}/fonts/individual/unhinted/$f
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
cp -f $pkg_name.spec.in $pkg_name.spec
|
||||||
|
for h in hinted unhinted; do
|
||||||
|
ls $pkg_name/fonts/individual/$h/ | sed -e 's:Noto::' -e 's:-.*\.ttf::' -e 's:\.ttf::' | 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:"`
|
||||||
|
packagename="noto-$serif"
|
||||||
|
if [ ! -z $script ]; then
|
||||||
|
packagename="$packagename-$script"
|
||||||
|
fi
|
||||||
|
if [ ! -z $ui ]; then
|
||||||
|
packagename="$packagename-$ui"
|
||||||
|
fi
|
||||||
|
packagename=`echo "$packagename" | tr [A-Z] [a-z]`
|
||||||
|
if [ $serif == "Sans" ]; then
|
||||||
|
serif_dsc="Sans Serif"
|
||||||
|
fi
|
||||||
|
summary=`echo "Noto $script $serif_dsc Font" | sed 's:\([a-z]\)\([A-Z]\):\1 \2:'`
|
||||||
|
|
||||||
|
sed -i "s/@SUBPACKAGE_HEADERS@/%package -n $packagename\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
|
||||||
|
sed -i "s/@SUBPACKAGE_HEADERS@/Summary: $summary\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
|
||||||
|
sed -i "s;@SUBPACKAGE_HEADERS@;Group: System/X11/Font\n@SUBPACKAGE_HEADERS@;" $pkg_name.spec
|
||||||
|
sed -i "s/@SUBPACKAGE_HEADERS@/Requires: $pkg_name\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
|
||||||
|
sed -i "s/@SUBPACKAGE_HEADERS@/\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
|
||||||
|
sed -i "s/@SUBPACKAGE_HEADERS@/%description -n $packagename\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
|
||||||
|
sed -i "s/@SUBPACKAGE_HEADERS@/Noto's design goal is to achieve visual harmonization (e.g., compatible\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
|
||||||
|
sed -i "s/@SUBPACKAGE_HEADERS@/heights and stroke thicknesses) across languages. This package contains\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
|
||||||
|
sed -i "s/@SUBPACKAGE_HEADERS@/$script $serif_dsc font, $h.\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
|
||||||
|
sed -i "s/@SUBPACKAGE_HEADERS@/\n@SUBPACKAGE_HEADERS@/" $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@/%defattr(-,root,root)\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
||||||
|
sed -i "s:@SUBPACKAGE_FILELISTS@:%{_ttfontsdir}/Noto$serif$script$ui-\*.ttf\n@SUBPACKAGE_FILELISTS@:" $pkg_name.spec
|
||||||
|
sed -i "s/@SUBPACKAGE_FILELISTS@/\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
sed -i 's/@SUBPACKAGE_HEADERS@//' $pkg_name.spec
|
||||||
|
sed -i 's/@SUBPACKAGE_SCRIPTLETS@//' $pkg_name.spec
|
||||||
|
sed -i 's/@SUBPACKAGE_FILELISTS@//' $pkg_name.spec
|
||||||
|
|
||||||
|
rm -r $pkg_name
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 29 10:12:48 UTC 2013 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- split fonts in subpackages
|
||||||
|
- generate-specfile.sh created
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 25 11:48:41 UTC 2013 - pgajdos@suse.com
|
Fri Oct 25 11:48:41 UTC 2013 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
%define uhyear 2013
|
%define uhyear 2013
|
||||||
%define uhmonth 04
|
%define uhmonth 04
|
||||||
%define uhday 18
|
%define uhday 18
|
||||||
%define src_name NotoFonts
|
%define src_name NotoFonts
|
||||||
|
|
||||||
Name: google-noto-fonts
|
Name: google-noto-fonts
|
||||||
Version: %{hyear}%{hmonth}%{hday}
|
Version: %{hyear}%{hmonth}%{hday}
|
||||||
@ -41,8 +41,548 @@ BuildArch: noarch
|
|||||||
Noto's design goal is to achieve visual harmonization (e.g., compatible heights and stroke
|
Noto's design goal is to achieve visual harmonization (e.g., compatible heights and stroke
|
||||||
thicknesses) across languages.
|
thicknesses) across languages.
|
||||||
|
|
||||||
|
%package -n noto-sans
|
||||||
|
Summary: Noto Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-armenian
|
||||||
|
Summary: Noto Armenian Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-armenian
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Armenian Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-devanagari
|
||||||
|
Summary: Noto Devanagari Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-devanagari
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Devanagari Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-devanagari-ui
|
||||||
|
Summary: Noto Devanagari Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-devanagari-ui
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Devanagari Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-ethiopic
|
||||||
|
Summary: Noto Ethiopic Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-ethiopic
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Ethiopic Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-georgian
|
||||||
|
Summary: Noto Georgian Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-georgian
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Georgian Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-hebrew
|
||||||
|
Summary: Noto Hebrew Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-hebrew
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Hebrew Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-khmer
|
||||||
|
Summary: Noto Khmer Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-khmer
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Khmer Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-khmer-ui
|
||||||
|
Summary: Noto Khmer Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-khmer-ui
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Khmer Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-lao
|
||||||
|
Summary: Noto Lao Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-lao
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Lao Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-lao-ui
|
||||||
|
Summary: Noto Lao Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-lao-ui
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Lao Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-tamil
|
||||||
|
Summary: Noto Tamil Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-tamil
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Tamil Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-tamil-ui
|
||||||
|
Summary: Noto Tamil Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-tamil-ui
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Tamil Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-thai
|
||||||
|
Summary: Noto Thai Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-thai
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Thai Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-thai-ui
|
||||||
|
Summary: Noto Thai Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-thai-ui
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Thai Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-ui
|
||||||
|
Summary: Noto Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-ui
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-serif
|
||||||
|
Summary: Noto Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-serif
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-serif-armenian
|
||||||
|
Summary: Noto Armenian Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-serif-armenian
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Armenian Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-serif-georgian
|
||||||
|
Summary: Noto Georgian Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-serif-georgian
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Georgian Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-serif-lao
|
||||||
|
Summary: Noto Lao Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-serif-lao
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Lao Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-serif-thai
|
||||||
|
Summary: Noto Thai Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-serif-thai
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Thai Sans Serif font, hinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-avestan
|
||||||
|
Summary: Noto Avestan Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-avestan
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Avestan Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-bengali
|
||||||
|
Summary: Noto Bengali Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-bengali
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Bengali Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-bengali-ui
|
||||||
|
Summary: Noto Bengali Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-bengali-ui
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Bengali Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-carian
|
||||||
|
Summary: Noto Carian Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-carian
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Carian Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-cherokee
|
||||||
|
Summary: Noto Cherokee Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-cherokee
|
||||||
|
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, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-coptic
|
||||||
|
Summary: Noto Coptic Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-coptic
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Coptic Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-deseret
|
||||||
|
Summary: Noto Deseret Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-deseret
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Deseret Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-egyptianhieroglyphs
|
||||||
|
Summary: Noto Egyptian Hieroglyphs Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-egyptianhieroglyphs
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
EgyptianHieroglyphs Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-glagolitic
|
||||||
|
Summary: Noto Glagolitic Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-glagolitic
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Glagolitic Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-imperialaramaic
|
||||||
|
Summary: Noto Imperial Aramaic Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-imperialaramaic
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
ImperialAramaic Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-kannada
|
||||||
|
Summary: Noto Kannada Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-kannada
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Kannada Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-kannada-ui
|
||||||
|
Summary: Noto Kannada Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-kannada-ui
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Kannada Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-kayahli
|
||||||
|
Summary: Noto Kayah Li Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-kayahli
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
KayahLi Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-lisu
|
||||||
|
Summary: Noto Lisu Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-lisu
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Lisu Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-lycian
|
||||||
|
Summary: Noto Lycian Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-lycian
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Lycian Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-lydian
|
||||||
|
Summary: Noto Lydian Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-lydian
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Lydian Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-malayalam
|
||||||
|
Summary: Noto Malayalam Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-malayalam
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Malayalam Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-malayalam-ui
|
||||||
|
Summary: Noto Malayalam Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-malayalam-ui
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Malayalam Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-meeteimayek
|
||||||
|
Summary: Noto Meetei Mayek Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-meeteimayek
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
MeeteiMayek Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-nko
|
||||||
|
Summary: Noto NKo Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-nko
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
NKo Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-oldsoutharabian
|
||||||
|
Summary: Noto Old SouthArabian Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-oldsoutharabian
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
OldSouthArabian Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-oldturkic
|
||||||
|
Summary: Noto Old Turkic Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-oldturkic
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
OldTurkic Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-osmanya
|
||||||
|
Summary: Noto Osmanya Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-osmanya
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Osmanya Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-phoenician
|
||||||
|
Summary: Noto Phoenician Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-phoenician
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Phoenician Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-shavian
|
||||||
|
Summary: Noto Shavian Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-shavian
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Shavian Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-symbols
|
||||||
|
Summary: Noto Symbols Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-symbols
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Symbols Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-tagalog
|
||||||
|
Summary: Noto Tagalog Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-tagalog
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Tagalog Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-taitham
|
||||||
|
Summary: Noto Tai Tham Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-taitham
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
TaiTham Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-telugu
|
||||||
|
Summary: Noto Telugu Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-telugu
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Telugu Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-telugu-ui
|
||||||
|
Summary: Noto Telugu Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-telugu-ui
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Telugu Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-ugaritic
|
||||||
|
Summary: Noto Ugaritic Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-ugaritic
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Ugaritic Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
%package -n noto-sans-vai
|
||||||
|
Summary: Noto Vai Sans Serif Font
|
||||||
|
Group: System/X11/Font
|
||||||
|
Requires: google-noto-fonts
|
||||||
|
|
||||||
|
%description -n noto-sans-vai
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible
|
||||||
|
heights and stroke thicknesses) across languages. This package contains
|
||||||
|
Vai Sans Serif font, unhinted.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -T -a0 -a1
|
%setup -q -c -T -a0 -a1
|
||||||
|
mv fonts/individual/unhinted/NotoSansMalayalam{,-Regular}.ttf
|
||||||
|
mv fonts/individual/unhinted/NotoSansMalayalamUI{,-Regular}.ttf
|
||||||
|
# remove duplicities in fonts/individual/unhinted
|
||||||
|
for f in `ls fonts/individual/unhinted`; do
|
||||||
|
if [ -e fonts/individual/hinted/$f ]; then
|
||||||
|
rm fonts/individual/unhinted/$f
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -51,13 +591,331 @@ mkdir -p %{buildroot}%{_ttfontsdir}
|
|||||||
cp fonts/individual/hinted/*.ttf %{buildroot}%{_ttfontsdir}/
|
cp fonts/individual/hinted/*.ttf %{buildroot}%{_ttfontsdir}/
|
||||||
cp fonts/individual/unhinted/*.ttf %{buildroot}%{_ttfontsdir}/
|
cp fonts/individual/unhinted/*.ttf %{buildroot}%{_ttfontsdir}/
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-armenian
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-devanagari
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-devanagari-ui
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-ethiopic
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-georgian
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-hebrew
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-khmer
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-khmer-ui
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-lao
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-lao-ui
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-tamil
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-tamil-ui
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-thai
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-thai-ui
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-ui
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-serif
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-serif-armenian
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-serif-georgian
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-serif-lao
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-serif-thai
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-avestan
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-bengali
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-bengali-ui
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-carian
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-cherokee
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-coptic
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-deseret
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-egyptianhieroglyphs
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-glagolitic
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-imperialaramaic
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-kannada
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-kannada-ui
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-kayahli
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-lisu
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-lycian
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-lydian
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-malayalam
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-malayalam-ui
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-meeteimayek
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-nko
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-oldsoutharabian
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-oldturkic
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-osmanya
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-phoenician
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-shavian
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-symbols
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-tagalog
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-taitham
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-telugu
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-telugu-ui
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-ugaritic
|
||||||
|
|
||||||
|
%reconfigure_fonts_scriptlets -n noto-sans-vai
|
||||||
|
|
||||||
|
|
||||||
%reconfigure_fonts_scriptlets
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,755)
|
%defattr(0644,root,root,755)
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%dir %{_ttfontsdir}
|
%dir %{_ttfontsdir}
|
||||||
%{_ttfontsdir}/*.ttf
|
|
||||||
|
%files -n noto-sans
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSans-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-armenian
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansArmenian-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-devanagari
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansDevanagari-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-devanagari-ui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansDevanagariUI-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-ethiopic
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansEthiopic-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-georgian
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansGeorgian-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-hebrew
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansHebrew-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-khmer
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansKhmer-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-khmer-ui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansKhmerUI-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-lao
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansLao-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-lao-ui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansLaoUI-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-tamil
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansTamil-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-tamil-ui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansTamilUI-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-thai
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansThai-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-thai-ui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansThaiUI-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-ui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansUI-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-serif
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSerif-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-serif-armenian
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSerifArmenian-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-serif-georgian
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSerifGeorgian-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-serif-lao
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSerifLao-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-serif-thai
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSerifThai-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-avestan
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansAvestan-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-bengali
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansBengali-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-bengali-ui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansBengaliUI-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-carian
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansCarian-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-cherokee
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansCherokee-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-coptic
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansCoptic-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-deseret
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansDeseret-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-egyptianhieroglyphs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansEgyptianHieroglyphs-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-glagolitic
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansGlagolitic-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-imperialaramaic
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansImperialAramaic-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-kannada
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansKannada-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-kannada-ui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansKannadaUI-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-kayahli
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansKayahLi-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-lisu
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansLisu-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-lycian
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansLycian-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-lydian
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansLydian-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-malayalam
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansMalayalam-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-malayalam-ui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansMalayalamUI-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-meeteimayek
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansMeeteiMayek-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-nko
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansNKo-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-oldsoutharabian
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansOldSouthArabian-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-oldturkic
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansOldTurkic-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-osmanya
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansOsmanya-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-phoenician
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansPhoenician-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-shavian
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansShavian-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-symbols
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansSymbols-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-tagalog
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansTagalog-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-taitham
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansTaiTham-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-telugu
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansTelugu-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-telugu-ui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansTeluguUI-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-ugaritic
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansUgaritic-*.ttf
|
||||||
|
|
||||||
|
%files -n noto-sans-vai
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_ttfontsdir}/NotoSansVai-*.ttf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
74
google-noto-fonts.spec.in
Normal file
74
google-noto-fonts.spec.in
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
#
|
||||||
|
# spec file for package google-noto-fonts
|
||||||
|
#
|
||||||
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%define hyear 2013
|
||||||
|
%define hmonth 04
|
||||||
|
%define hday 11
|
||||||
|
%define uhyear 2013
|
||||||
|
%define uhmonth 04
|
||||||
|
%define uhday 18
|
||||||
|
%define src_name NotoFonts
|
||||||
|
|
||||||
|
Name: google-noto-fonts
|
||||||
|
Version: %{uhyear}%{uhmonth}%{uhday}
|
||||||
|
Release: 0
|
||||||
|
Summary: Noto Font Families
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: System/X11/Fonts
|
||||||
|
Url: https://code.google.com/p/noto/
|
||||||
|
Source0: https://noto.googlecode.com/files/%{src_name}-hinted-%{hyear}-%{hmonth}-%{hday}.tgz
|
||||||
|
Source1: https://noto.googlecode.com/files/%{src_name}-unhinted-%{uhyear}-%{uhmonth}-%{uhday}.tgz
|
||||||
|
Source2: generate-specfile.sh
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
%reconfigure_fonts_prereq
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Noto's design goal is to achieve visual harmonization (e.g., compatible heights and stroke
|
||||||
|
thicknesses) across languages.
|
||||||
|
|
||||||
|
@SUBPACKAGE_HEADERS@
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -c -T -a0 -a1
|
||||||
|
mv fonts/individual/unhinted/NotoSansMalayalam{,-Regular}.ttf
|
||||||
|
mv fonts/individual/unhinted/NotoSansMalayalamUI{,-Regular}.ttf
|
||||||
|
# remove duplicities in fonts/individual/unhinted
|
||||||
|
for f in `ls fonts/individual/unhinted`; do
|
||||||
|
if [ -e fonts/individual/hinted/$f ]; then
|
||||||
|
rm fonts/individual/unhinted/$f
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_ttfontsdir}
|
||||||
|
cp fonts/individual/hinted/*.ttf %{buildroot}%{_ttfontsdir}/
|
||||||
|
cp fonts/individual/unhinted/*.ttf %{buildroot}%{_ttfontsdir}/
|
||||||
|
|
||||||
|
@SUBPACKAGE_SCRIPTLETS@
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(0644,root,root,755)
|
||||||
|
%doc COPYING
|
||||||
|
%dir %{_ttfontsdir}
|
||||||
|
|
||||||
|
@SUBPACKAGE_FILELISTS@
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user