Hello community,

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

Package is "ipa-fonts", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/ipa-fonts/ipa-fonts.changes      2012-06-15 
14:04:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ipa-fonts.new/ipa-fonts.changes 2012-09-14 
12:27:54.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:
------------------
++++++ ipa-fonts.spec ++++++
--- /var/tmp/diff_new_pack.ynOZen/_old  2012-09-14 12:27:59.000000000 +0200
+++ /var/tmp/diff_new_pack.ynOZen/_new  2012-09-14 12:27:59.000000000 +0200
@@ -19,14 +19,14 @@
 Name:           ipa-fonts
 Version:        003.02
 Release:        0
-Summary:        Japanese TrueType font made by IPA
+Summary:        Japanese TrueType Font Made by IPA
 License:        IPA
 Group:          System/X11/Fonts
-%define        ttf_fontdir     /usr/share/fonts/truetype
 Url:            http://ossipedia.ipa.go.jp/ipafont/
 Source0:        IPAfont00302.tar.bz2
 BuildRequires:  dos2unix
-Requires(pre):  %suseconfig_fonts_prereq
+BuildRequires:  fontpackages-devel
+%reconfigure_fonts_prereq
 Provides:       scalable-font-ja
 Provides:       locale(ja)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -37,7 +37,7 @@
 (Information-technology Promotion Agency).
 
 %package -n ipa-pgothic-fonts
-Summary:        "Proportional Gothic" Japanese TrueType font made by IPA
+Summary:        "Proportional Gothic" Japanese TrueType Font Made by IPA
 Group:          System/X11/Fonts
 Provides:       IPAPGothic = %{version}
 Provides:       scalable-font-ja
@@ -49,7 +49,7 @@
 (Information-technology Promotion Agency).
 
 %package -n ipa-gothic-fonts
-Summary:        "Gothic" Japanese TrueType font made by IPA
+Summary:        "Gothic" Japanese TrueType Font Made by IPA
 Group:          System/X11/Fonts
 Provides:       IPAGothic = %{version}
 Provides:       scalable-font-ja
@@ -61,7 +61,7 @@
 Promotion Agency).
 
 %package -n ipa-mincho-fonts
-Summary:        "Mincho" Japanese TrueType font made by IPA
+Summary:        "Mincho" Japanese TrueType Font Made by IPA
 Group:          System/X11/Fonts
 Provides:       IPAMincho = %{version}
 Provides:       scalable-font-ja
@@ -73,7 +73,7 @@
 Promotion Agency).
 
 %package -n ipa-pmincho-fonts
-Summary:        "Proportional Mincho" Japanese TrueType font made by IPA
+Summary:        "Proportional Mincho" Japanese TrueType Font Made by IPA
 Group:          System/X11/Fonts
 Provides:       IPAPMincho = %{version}
 Provides:       scalable-font-ja
@@ -94,58 +94,42 @@
 done
 
 %install
-mkdir -p %{buildroot}%{ttf_fontdir}
+mkdir -p %{buildroot}%{_ttfontsdir}
 for i in *.ttf
 do
-    install -m 644 $i %{buildroot}%{ttf_fontdir}
+    install -m 644 $i %{buildroot}%{_ttfontsdir}
 done
 
-%post -n ipa-pgothic-fonts
-%run_suseconfig_fonts -c
+%reconfigure_fonts_scriptlets -c -n ipa-pgothic-fonts
 
-%postun -n ipa-pgothic-fonts
-%run_suseconfig_fonts -c
+%reconfigure_fonts_scriptlets -c -n ipa-gothic-fonts
 
-%post -n ipa-gothic-fonts
-%run_suseconfig_fonts -c
+%reconfigure_fonts_scriptlets -c -n ipa-mincho-fonts
 
-%postun -n ipa-gothic-fonts
-%run_suseconfig_fonts -c
-
-%post -n ipa-mincho-fonts
-%run_suseconfig_fonts -c
-
-%postun -n ipa-mincho-fonts
-%run_suseconfig_fonts -c
-
-%post -n ipa-pmincho-fonts
-%run_suseconfig_fonts -c
-
-%postun -n ipa-pmincho-fonts
-%run_suseconfig_fonts -c
+%reconfigure_fonts_scriptlets -c -n ipa-pmincho-fonts
 
 %files -n ipa-pgothic-fonts
 %defattr(-,root,root)
 %doc *.txt
-%dir %{ttf_fontdir}/
-%{ttf_fontdir}/ipagp.*
+%dir %{_ttfontsdir}/
+%{_ttfontsdir}/ipagp.*
 
 %files -n ipa-gothic-fonts
 %defattr(-,root,root)
 %doc *.txt
-%dir %{ttf_fontdir}/
-%{ttf_fontdir}/ipag.*
+%dir %{_ttfontsdir}/
+%{_ttfontsdir}/ipag.*
 
 %files -n ipa-mincho-fonts
 %defattr(-,root,root)
 %doc *.txt
-%dir %{ttf_fontdir}/
-%{ttf_fontdir}/ipam.*
+%dir %{_ttfontsdir}/
+%{_ttfontsdir}/ipam.*
 
 %files -n ipa-pmincho-fonts
 %defattr(-,root,root)
 %doc *.txt
-%dir %{ttf_fontdir}/
-%{ttf_fontdir}/ipamp.*
+%dir %{_ttfontsdir}/
+%{_ttfontsdir}/ipamp.*
 
 %changelog

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

Reply via email to