Hello community,

here is the log from the commit of package sazanami-fonts for openSUSE:Factory 
checked in at 2012-09-14 12:37:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sazanami-fonts (Old)
 and      /work/SRC/openSUSE:Factory/.sazanami-fonts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sazanami-fonts", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sazanami-fonts/sazanami-fonts.changes    
2012-05-26 09:28:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.sazanami-fonts.new/sazanami-fonts.changes       
2012-09-14 12:37:19.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul  4 12:39:06 CEST 2012 - [email protected]
+
+- amend spec file to reflect new font packaging scheme
+  (see openFATE#313536);
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ sazanami-fonts.spec ++++++
--- /var/tmp/diff_new_pack.yfWxib/_old  2012-09-14 12:37:20.000000000 +0200
+++ /var/tmp/diff_new_pack.yfWxib/_new  2012-09-14 12:37:20.000000000 +0200
@@ -16,30 +16,29 @@
 #
 
 
-
 Name:           sazanami-fonts
 Version:        20040629
-Release:        188
-%define        fontdir     /usr/share/fonts/truetype
-License:        BSD-3-Clause ; SUSE-Public-Domain
+Release:        0
 Summary:        Japanese "Sazanami" TrueType Fonts
+License:        BSD-3-Clause ; SUSE-Public-Domain
+Group:          System/X11/Fonts
 # http://wiki.fdiary.net/font/?sazanami
 Url:            http://sourceforge.jp/projects/efont/files/
-Group:          System/X11/Fonts
 Source0:        
http://kyushu-u.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2
 Source1:        fonts.scale.sazanami-fonts
 Source2:        copy-uni3231
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
 Patch0:         license-translation.patch
 BuildRequires:  fontforge
-Requires(pre):  %suseconfig_fonts_prereq
+BuildRequires:  fontpackages-devel
+%reconfigure_fonts_prereq
 Provides:       scalable-font-ja
 Provides:       locale(ja)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
 %description
-Japanese "Sazanami" TrueType Fonts
+This package contains Japanese "Sazanami" TrueType fonts.
 
 %prep
 %setup -n sazanami-%{version}
@@ -61,30 +60,23 @@
 done
 
 %install
-mkdir -p %{buildroot}%{fontdir}/
-install -c -m 644 *.ttf %{buildroot}%{fontdir}
-install -c -m 644 $RPM_SOURCE_DIR/fonts.scale.* %{buildroot}%{fontdir}
+mkdir -p %{buildroot}%{_ttfontsdir}/
+install -c -m 644 *.ttf %{buildroot}%{_ttfontsdir}
+install -c -m 644 $RPM_SOURCE_DIR/fonts.scale.* %{buildroot}%{_ttfontsdir}
 # these symlinks and the fonts.scale.sazanami-fonts are a hack
 # to make flash-player work with Japanese in SUSE Linux 10.1/SLES10/SLED10
 # see Bugzilla #196191:
-pushd %{buildroot}%{fontdir}
+pushd %{buildroot}%{_ttfontsdir}
     ln -s sazanami-mincho.ttf smincho.ttf
     ln -s sazanami-gothic.ttf sgothic.ttf
 popd
 
-%clean
-[ %{buildroot} != "/" ] && [ -d %{buildroot} ] && rm -rf %{buildroot};
-
-%post
-%run_suseconfig_fonts -c
-
-%postun
-%run_suseconfig_fonts -c
+%reconfigure_fonts_scriptlets -c
 
 %files
 %defattr(-, root,root)
 %doc README*
 %doc doc
-%{fontdir}
+%{_ttfontsdir}
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to