Accepting request 247951 from M17N:fonts
upstream update. some fonts seems to be removed. please check it. (forwarded request 247060 from ftake) OBS-URL: https://build.opensuse.org/request/show/247951 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/google-noto-fonts?expand=0&rev=3
This commit is contained in:
commit
0a190e7206
3
Noto-hinted.zip
Normal file
3
Noto-hinted.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:024928e0615033cf44371a91791410cc7fb4a45fe0def6467bfafb24e0f081d4
|
||||
size 140885413
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa7fc867b4d7bf1f07f288d1515bd47d7f2b573877f0fbdf702b3aeac5eeed20
|
||||
size 3275115
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e639ec5720715e49f2ced85a23ab492b62d46bb40f792d367657b4965136125a
|
||||
size 1395138
|
@ -1,20 +1,16 @@
|
||||
#!/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
|
||||
|
||||
for a in *.zip; do
|
||||
mkdir -p $pkg_name
|
||||
unzip -d $pkg_name $a
|
||||
done
|
||||
|
||||
rm $pkg_name/LICENSE
|
||||
|
||||
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
|
||||
for h in hinted; do
|
||||
ls $pkg_name/ | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' | 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:"`
|
||||
@ -46,7 +42,7 @@ for h in hinted unhinted; do
|
||||
|
||||
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@:%{_ttfontsdir}/Noto$serif$script$ui-\*.?tf\n@SUBPACKAGE_FILELISTS@:" $pkg_name.spec
|
||||
sed -i "s/@SUBPACKAGE_FILELISTS@/\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
||||
done
|
||||
done
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 12:31:50 UTC 2014 - ftake@geeko.jp
|
||||
|
||||
- updated to version 20140716
|
||||
+ Noto Sans S Chinese, T Chinese, Japanese, Korean are released
|
||||
+ *-ui fonts are removed
|
||||
- update generate-specfile.sh
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 29 10:12:48 UTC 2013 - pgajdos@suse.com
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -15,25 +15,22 @@
|
||||
# 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 hyear 2014
|
||||
%define hmonth 07
|
||||
%define hday 16
|
||||
%define src_name NotoFonts
|
||||
|
||||
Name: google-noto-fonts
|
||||
Version: %{uhyear}%{uhmonth}%{uhday}
|
||||
Version: %{hyear}%{hmonth}%{hday}
|
||||
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
|
||||
Source0: http://www.google.com/get/noto/pkgs/Noto-hinted.zip
|
||||
Source2: generate-specfile.sh
|
||||
BuildRequires: fontpackages-devel
|
||||
BuildRequires: unzip
|
||||
%reconfigure_fonts_prereq
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
@ -45,28 +42,20 @@ 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
|
||||
%setup -q -c -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_ttfontsdir}
|
||||
cp fonts/individual/hinted/*.ttf %{buildroot}%{_ttfontsdir}/
|
||||
cp fonts/individual/unhinted/*.ttf %{buildroot}%{_ttfontsdir}/
|
||||
cp *.ttf %{buildroot}%{_ttfontsdir}/
|
||||
cp *.otf %{buildroot}%{_ttfontsdir}/
|
||||
|
||||
@SUBPACKAGE_SCRIPTLETS@
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,755)
|
||||
%doc COPYING
|
||||
%doc LICENSE
|
||||
%dir %{_ttfontsdir}
|
||||
|
||||
@SUBPACKAGE_FILELISTS@
|
||||
|
Loading…
x
Reference in New Issue
Block a user