[cjkuni-ukai-fonts] clean up spec

Peng Wu pwu at fedoraproject.org
Wed Mar 16 07:38:53 UTC 2011


commit bae90a000c98ac4e45268e728cd36ccbbc901356
Author: Peng Wu <alexepico at gmail.com>
Date:   Wed Mar 16 15:32:01 2011 +0800

    clean up spec

 cjkuni-ukai-fonts.spec |   23 +++++++++++------------
 1 files changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/cjkuni-ukai-fonts.spec b/cjkuni-ukai-fonts.spec
index da96a2d..7908fde 100644
--- a/cjkuni-ukai-fonts.spec
+++ b/cjkuni-ukai-fonts.spec
@@ -1,5 +1,5 @@
 %global fontname cjkuni-ukai
-%global fontconf2 25-ttf-arphic-ukai-render.conf
+#%global fontconf2 25-ttf-arphic-ukai-render.conf
 %global fontconf3 90-ttf-arphic-ukai-embolden.conf
 
 %define catalogue        %{_sysconfdir}/X11/fontpath.d
@@ -13,14 +13,14 @@ the CJK Unifonts project.
 
 Name:           %{fontname}-fonts
 Version:        0.2.20080216.1
-Release:        46%{?dist}
+Release:        47%{?dist}
 Summary:        Chinese Unicode TrueType font in Kai face
 
 Group:          User Interface/X
 License:        Arphic
 URL:            http://www.freedesktop.org/wiki/Software/CJKUnifonts
 Source0:        http://ftp.debian.org/debian/pool/main/t/ttf-arphic-ukai/ttf-arphic-ukai_%{version}.orig.tar.gz
-Source2:        %{fontconf2}
+#Source2:        %{fontconf2}
 Source3:        %{fontconf3}
 
 BuildArch:      noarch
@@ -47,19 +47,16 @@ install -m 0644 -p *.ttc %{buildroot}%{_fontdir}
 install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
                    %{buildroot}%{_fontconfig_confdir}
 
-install -m 0644 -p %{SOURCE2} \
-        %{buildroot}%{_fontconfig_templatedir}/%{fontconf2}
-ln -s %{_fontconfig_templatedir}/%{fontconf2} \
-      %{buildroot}%{_fontconfig_confdir}/%{fontconf2}
+#install -m 0644 -p %{SOURCE2} \
+#        %{buildroot}%{_fontconfig_templatedir}/%{fontconf2}
+#ln -s %{_fontconfig_templatedir}/%{fontconf2} \
+#      %{buildroot}%{_fontconfig_confdir}/%{fontconf2}
 
 install -m 0644 -p %{SOURCE3} \
         %{buildroot}%{_fontconfig_templatedir}/%{fontconf3}
 ln -s %{_fontconfig_templatedir}/%{fontconf3} \
       %{buildroot}%{_fontconfig_confdir}/%{fontconf3}
 
-install -m 0644 fonts.dir %{buildroot}%{_fontdir}/
-install -m 0644 fonts.scale %{buildroot}%{_fontdir}/
-
 # catalogue
 install -m 0755 -d %{buildroot}%{catalogue}
 ln -s %{_fontdir}/ %{buildroot}%{catalogue}/%{name}
@@ -75,12 +72,14 @@ ln -s %{_fontdir}/ %{buildroot}%{catalogue}/%{name}
 %doc ../%{ukaibuilddir}/NEWS
 %doc ../%{ukaibuilddir}/README
 %doc ../%{ukaibuilddir}/TODO
-%{_fontdir}/fonts.dir
-%{_fontdir}/fonts.scale
 %{catalogue}/%{name}
 
 
 %changelog
+* Wed Mar 16 2011  Peng Wu <pwu at redhat.com> - 0.2.20080216.1-47
+- Clean up spec.
+  Remove fonts.dir, fonts.scale and 25-ttf-arphic-ukai-render.conf.
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.20080216.1-46
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list