Hello community,

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

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/ipa-ex-fonts/ipa-ex-fonts.changes        
2012-06-15 14:04:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ipa-ex-fonts.new/ipa-ex-fonts.changes   
2012-09-14 12:27:46.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-ex-fonts.spec ++++++
--- /var/tmp/diff_new_pack.zBKxrG/_old  2012-09-14 12:27:51.000000000 +0200
+++ /var/tmp/diff_new_pack.zBKxrG/_new  2012-09-14 12:27:51.000000000 +0200
@@ -19,13 +19,14 @@
 Name:           ipa-ex-fonts
 Version:        001.02
 Release:        0
-%define        ttf_fontdir     %{_datadir}/fonts/truetype
-Summary:        Scalable Japanese TrueType fonts made by IPA
+Summary:        Scalable Japanese TrueType Fonts Made by IPA
 License:        IPA
 Group:          System/X11/Fonts
 Url:            http://ossipedia.ipa.go.jp/ipafont/
 Source0:        IPAexfont00102.tar.bz2
 BuildRequires:  dos2unix
+BuildRequires:  fontpackages-devel
+%reconfigure_fonts_prereq
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
@@ -33,23 +34,25 @@
 Japanese TrueType fonts made by IPA (Information-technology Promotion Agency).
 
 %package -n ipa-ex-gothic-fonts
-Summary:        Scalable "Gothic" Japanese TrueType font made by IPA
+Summary:        Scalable "Gothic" Japanese TrueType Font Made by IPA
 Group:          System/X11/Fonts
 Provides:       IPAexGothic = %{version}
 Provides:       scalable-font-ja
 Provides:       locale(ja)
 Obsoletes:      IPAexGothic <= 001.02
+%reconfigure_fonts_prereq
 
 %description -n ipa-ex-gothic-fonts
 "Gothic" Japanese TrueType font made by IPA (Information-technology Promotion 
Agency).
 
 %package -n ipa-ex-mincho-fonts
-Summary:        Scalable "Mincho" Japanese TrueType font made by IPA
+Summary:        Scalable "Mincho" Japanese TrueType Font Made by IPA
 Group:          System/X11/Fonts
 Provides:       IPAexMincho = %{version}
 Provides:       scalable-font-ja
 Provides:       locale(ja)
 Obsoletes:      IPAexMincho <= 001.02
+%reconfigure_fonts_prereq
 
 %description -n ipa-ex-mincho-fonts
 "Mincho" Japanese TrueType font made by IPA (Information-technology Promotion 
Agency).
@@ -64,37 +67,26 @@
 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
 
-%clean
-rm -rf %{buildroot};
+%reconfigure_fonts_scriptlets -c -n ipa-ex-gothic-fonts
 
-%post -n ipa-ex-gothic-fonts
-%run_suseconfig_fonts -c
-
-%postun -n ipa-ex-gothic-fonts
-%run_suseconfig_fonts -c
-
-%post -n ipa-ex-mincho-fonts
-%run_suseconfig_fonts -c
-
-%postun -n ipa-ex-mincho-fonts
-%run_suseconfig_fonts -c
+%reconfigure_fonts_scriptlets -c -n ipa-ex-mincho-fonts
 
 %files -n ipa-ex-gothic-fonts
 %defattr(-,root,root)
 %doc *.txt
-%dir %{ttf_fontdir}/
-%{ttf_fontdir}/ipaexg.*
+%dir %{_ttfontsdir}/
+%{_ttfontsdir}/ipaexg.*
 
 %files -n ipa-ex-mincho-fonts
 %defattr(-,root,root)
 %doc *.txt
-%dir %{ttf_fontdir}/
-%{ttf_fontdir}/ipaexm.*
+%dir %{_ttfontsdir}/
+%{_ttfontsdir}/ipaexm.*
 
 %changelog

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

Reply via email to