Hello community,

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

Package is "arphic-fonts", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/arphic-fonts/arphic-fonts.changes        
2012-05-26 09:21:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.arphic-fonts.new/arphic-fonts.changes   
2012-09-14 12:13:15.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:
------------------
++++++ arphic-fonts.spec ++++++
--- /var/tmp/diff_new_pack.2c0dQU/_old  2012-09-14 12:13:17.000000000 +0200
+++ /var/tmp/diff_new_pack.2c0dQU/_new  2012-09-14 12:13:17.000000000 +0200
@@ -16,22 +16,21 @@
 #
 
 
-
 Name:           arphic-fonts
 Version:        20001125
-Release:        766
+Release:        0
+Summary:        Chinese TrueType Fonts (Contains Only the License Text)
 License:        SUSE-Arphic
-%define        ttf_fontdir     /usr/share/fonts/truetype
-Summary:        Chinese TrueType Fonts (contains only the license text)
-Url:            http://www.arphic.com.tw/
 Group:          System/X11/Fonts
+Url:            http://www.arphic.com.tw/
 # ttf files have been downloaded from debian.
 Source0:        ttf-arphic.tar.bz2
 Source1:        fonts.scale.bkai00mp
 Source2:        fonts.scale.bsmi00lp
 Source3:        fonts.scale.gkai00mp
 Source4:        fonts.scale.gbsn00lp
-Requires(pre):  %suseconfig_fonts_prereq
+BuildRequires:  fontpackages-devel
+%reconfigure_fonts_prereq
 Provides:       ttf-arphic = %{version}
 Obsoletes:      ttf-arphic <= 20001125
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -48,8 +47,8 @@
 Group:          System/X11/Fonts
 Requires:       arphic-fonts
 Provides:       scalable-font-zh-TW
-Provides:       locale(zh_TW;zh_HK)
 Provides:       ttf-arphic-bkai00mp = %{version}
+Provides:       locale(zh_TW;zh_HK)
 Obsoletes:      ttf-arphic-bkai00mp <= 20001125
 
 %description -n arphic-bkai00mp-fonts
@@ -62,8 +61,8 @@
 Group:          System/X11/Fonts
 Requires:       arphic-fonts
 Provides:       scalable-font-zh-TW
-Provides:       locale(zh_TW;zh_HK)
 Provides:       ttf-arphic-bsmi00lp = %{version}
+Provides:       locale(zh_TW;zh_HK)
 Obsoletes:      ttf-arphic-bsmi00lp <= 20001125
 
 %description -n arphic-bsmi00lp-fonts
@@ -76,8 +75,8 @@
 Group:          System/X11/Fonts
 Requires:       arphic-fonts
 Provides:       scalable-font-zh-CN
-Provides:       locale(zh_CN;zh_SG)
 Provides:       ttf-arphic-gkai00mp = %{version}
+Provides:       locale(zh_CN;zh_SG)
 Obsoletes:      ttf-arphic-gkai00mp <= 20001125
 
 %description -n arphic-gkai00mp-fonts
@@ -90,8 +89,8 @@
 Group:          System/X11/Fonts
 Requires:       arphic-fonts
 Provides:       scalable-font-zh-CN
-Provides:       locale(zh_CN;zh_SG)
 Provides:       ttf-arphic-gbsn00lp = %{version}
+Provides:       locale(zh_CN;zh_SG)
 Obsoletes:      ttf-arphic-gbsn00lp <= 20001125
 
 %description -n arphic-gbsn00lp-fonts
@@ -106,36 +105,17 @@
 %build
 
 %install
-mkdir -p %{buildroot}%{ttf_fontdir}/
-install -c -m 644 *.ttf %{buildroot}%{ttf_fontdir}/
-install -c -m 644 fonts.scale.* %{buildroot}%{ttf_fontdir}/
-
-%post -n arphic-bkai00mp-fonts
-%run_suseconfig_fonts -c
-
-%postun -n arphic-bkai00mp-fonts
-%run_suseconfig_fonts -c
-
-%post -n arphic-bsmi00lp-fonts
-%run_suseconfig_fonts -c
-
-%postun -n arphic-bsmi00lp-fonts
-%run_suseconfig_fonts -c
-
-%post -n arphic-gkai00mp-fonts
-%run_suseconfig_fonts -c
+mkdir -p %{buildroot}%{_ttfontsdir}/
+install -c -m 644 *.ttf %{buildroot}%{_ttfontsdir}/
+install -c -m 644 fonts.scale.* %{buildroot}%{_ttfontsdir}/
 
-%postun -n arphic-gkai00mp-fonts
-%run_suseconfig_fonts -c
+%reconfigure_fonts_scriptlets -c -n arphic-bkai00mp-fonts
 
-%post -n arphic-gbsn00lp-fonts
-%run_suseconfig_fonts -c
+%reconfigure_fonts_scriptlets -c -n arphic-bsmi00lp-fonts
 
-%postun -n arphic-gbsn00lp-fonts
-%run_suseconfig_fonts -c
+%reconfigure_fonts_scriptlets -c -n arphic-gkai00mp-fonts
 
-%clean
-rm -rf %{buildroot}
+%reconfigure_fonts_scriptlets -c -n arphic-gbsn00lp-fonts
 
 %files
 %defattr(-, root,root)
@@ -143,26 +123,26 @@
 
 %files -n arphic-bkai00mp-fonts
 %defattr(-, root,root)
-%dir %{ttf_fontdir}/
-%{ttf_fontdir}/bkai00mp.ttf
-%config %{ttf_fontdir}/fonts.scale.bkai00mp
+%dir %{_ttfontsdir}/
+%{_ttfontsdir}/bkai00mp.ttf
+%config %{_ttfontsdir}/fonts.scale.bkai00mp
 
 %files -n arphic-bsmi00lp-fonts
 %defattr(-, root,root)
-%dir %{ttf_fontdir}/
-%{ttf_fontdir}/bsmi00lp.ttf
-%config %{ttf_fontdir}/fonts.scale.bsmi00lp
+%dir %{_ttfontsdir}/
+%{_ttfontsdir}/bsmi00lp.ttf
+%config %{_ttfontsdir}/fonts.scale.bsmi00lp
 
 %files -n arphic-gkai00mp-fonts
 %defattr(-, root,root)
-%dir %{ttf_fontdir}/
-%{ttf_fontdir}/gkai00mp.ttf
-%config %{ttf_fontdir}/fonts.scale.gkai00mp
+%dir %{_ttfontsdir}/
+%{_ttfontsdir}/gkai00mp.ttf
+%config %{_ttfontsdir}/fonts.scale.gkai00mp
 
 %files -n arphic-gbsn00lp-fonts
 %defattr(-, root,root)
-%dir %{ttf_fontdir}/
-%{ttf_fontdir}/gbsn00lp.ttf
-%config %{ttf_fontdir}/fonts.scale.gbsn00lp
+%dir %{_ttfontsdir}/
+%{_ttfontsdir}/gbsn00lp.ttf
+%config %{_ttfontsdir}/fonts.scale.gbsn00lp
 
 %changelog

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

Reply via email to