Hello community,

here is the log from the commit of package google-noto-fonts for 
openSUSE:Factory checked in at 2014-09-08 21:28:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-noto-fonts (Old)
 and      /work/SRC/openSUSE:Factory/.google-noto-fonts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "google-noto-fonts"

Changes:
--------
--- /work/SRC/openSUSE:Factory/google-noto-fonts/google-noto-fonts.changes      
2013-12-16 16:22:07.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.google-noto-fonts.new/google-noto-fonts.changes 
2014-09-08 21:30:13.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Sep  1 12:31:50 UTC 2014 - ft...@geeko.jp
+
+- updated to version 20140716
+  + Noto Sans S Chinese, T Chinese, Japanese, Korean are released
+  + *-ui fonts are removed
+- update generate-specfile.sh
+
+-------------------------------------------------------------------

Old:
----
  NotoFonts-hinted-2013-04-11.tgz
  NotoFonts-unhinted-2013-04-18.tgz

New:
----
  Noto-hinted.zip

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ google-noto-fonts.spec ++++++
++++ 1884 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/google-noto-fonts/google-noto-fonts.spec
++++ and 
/work/SRC/openSUSE:Factory/.google-noto-fonts.new/google-noto-fonts.spec

++++++ generate-specfile.sh ++++++
--- /var/tmp/diff_new_pack.K4dAZo/_old  2014-09-08 21:30:17.000000000 +0200
+++ /var/tmp/diff_new_pack.K4dAZo/_new  2014-09-08 21:30:17.000000000 +0200
@@ -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 @@
 
     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

++++++ google-noto-fonts.spec.in ++++++
--- /var/tmp/diff_new_pack.K4dAZo/_old  2014-09-08 21:30:17.000000000 +0200
+++ /var/tmp/diff_new_pack.K4dAZo/_new  2014-09-08 21:30:17.000000000 +0200
@@ -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 @@
 @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@

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to