Hello community, here is the log from the commit of package wqy-zenhei-fonts for openSUSE:Factory checked in at 2012-05-26 09:30:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wqy-zenhei-fonts (Old) and /work/SRC/openSUSE:Factory/.wqy-zenhei-fonts.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wqy-zenhei-fonts", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/wqy-zenhei-fonts/wqy-zenhei-fonts.changes 2012-04-02 19:54:09.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.wqy-zenhei-fonts.new/wqy-zenhei-fonts.changes 2012-05-26 09:31:00.000000000 +0200 @@ -1,0 +2,5 @@ +Thu May 17 09:10:37 UTC 2012 - [email protected] + +- call spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wqy-zenhei-fonts.spec ++++++ --- /var/tmp/diff_new_pack.lft5zZ/_old 2012-05-26 09:31:02.000000000 +0200 +++ /var/tmp/diff_new_pack.lft5zZ/_new 2012-05-26 09:31:02.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package wqy-zenhei-fonts # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,23 +18,25 @@ Name: wqy-zenhei-fonts -Summary: open-source Chinese font for Hei Ti -License: GPL-2.0-with-font-exception -Group: System/X11/Fonts -PreReq: fontconfig -PreReq: %suseconfig_fonts_prereq -AutoReqProv: on Version: 0.9.41 Release: 1 +License: GPL-2.0-with-font-exception +Summary: open-source Chinese font for Hei Ti Url: http://wenq.org +Group: System/X11/Fonts Source0: wqy-zenhei-%{version}-May.tar.bz2 -Patch: wqy-zenhei-font-config-fixes.diff -Provides: scalable-font-zh-TW, scalable-font-zh-CN, scalable-font-zh-SG +# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines +Patch0: wqy-zenhei-font-config-fixes.diff +Requires(pre): %suseconfig_fonts_prereq +Requires(pre): fontconfig +Provides: scalable-font-zh-CN, +Provides: scalable-font-zh-SG +Provides: scalable-font-zh-TW, Provides: locale(zh_TW;zh_CN;zh_SG) Provides: ttf-wqy-zenhei = %{version} Obsoletes: ttf-wqy-zenhei <= 0.9.41 -BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description The WenQuanYi Zen Hei is the first open-source Chinese font @@ -70,25 +72,25 @@ %prep %setup -n wqy-zenhei -%patch -p1 +%patch0 -p1 %build # Do nothing for build %install -mkdir -p $RPM_BUILD_ROOT/usr/share/fonts/truetype -mkdir -p $RPM_BUILD_ROOT/etc/fonts/conf.avail -mkdir -p $RPM_BUILD_ROOT/etc/fonts/conf.d -install -c -m 644 wqy-zenhei.ttc $RPM_BUILD_ROOT/usr/share/fonts/truetype/ +mkdir -p %{buildroot}%{_datadir}/fonts/truetype +mkdir -p %{buildroot}%{_sysconfdir}/fonts/conf.avail +mkdir -p %{buildroot}%{_sysconfdir}/fonts/conf.d +install -c -m 644 wqy-zenhei.ttc %{buildroot}%{_datadir}/fonts/truetype/ #44- is too early to include in, embeddedbitmap will be enabled later, so move to 57- -install -c -m 644 44-wqy-zenhei.conf $RPM_BUILD_ROOT/etc/fonts/conf.avail/57-wqy-zenhei.conf -install -c -m 644 66-wqy-zenhei-sharp.conf $RPM_BUILD_ROOT/etc/fonts/conf.avail/57-wqy-zenhei-sharp.conf -install -c -m 644 66-wqy-zenhei-sharp-no13px.conf $RPM_BUILD_ROOT/etc/fonts/conf.avail/57-wqy-zenhei-sharp-no13px.conf -cd $RPM_BUILD_ROOT/etc/fonts/conf.d +install -c -m 644 44-wqy-zenhei.conf %{buildroot}%{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei.conf +install -c -m 644 66-wqy-zenhei-sharp.conf %{buildroot}%{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei-sharp.conf +install -c -m 644 66-wqy-zenhei-sharp-no13px.conf %{buildroot}%{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei-sharp-no13px.conf +cd %{buildroot}%{_sysconfdir}/fonts/conf.d ln -s ../conf.avail/57-wqy-zenhei.conf %clean -[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; +[ %{buildroot} != "/" ] && [ -d %{buildroot} ] && rm -rf %{buildroot}; %post %run_suseconfig_fonts -c @@ -99,11 +101,11 @@ %files %defattr(-, root,root) %doc ChangeLog INSTALL AUTHORS COPYING README WQY_ZENHEI_MONTHLY_BUILD zenheiset -%dir /usr/share/fonts/truetype -/usr/share/fonts/truetype/wqy-zenhei.ttc -/etc/fonts/conf.avail/57-wqy-zenhei.conf -/etc/fonts/conf.avail/57-wqy-zenhei-sharp.conf -/etc/fonts/conf.avail/57-wqy-zenhei-sharp-no13px.conf -/etc/fonts/conf.d/57-wqy-zenhei.conf +%dir %{_datadir}/fonts/truetype +%{_datadir}/fonts/truetype/wqy-zenhei.ttc +%{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei.conf +%{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei-sharp.conf +%{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei-sharp-no13px.conf +%{_sysconfdir}/fonts/conf.d/57-wqy-zenhei.conf %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
