rpms/cjkunifonts/devel cjkunifonts.spec,1.27,1.28
Caius Chance
cchance at fedoraproject.org
Tue Jan 6 02:25:04 UTC 2009
Author: cchance
Update of /cvs/pkgs/rpms/cjkunifonts/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7027
Modified Files:
cjkunifonts.spec
Log Message:
fixed .conf ln -s path mistake
Index: cjkunifonts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cjkunifonts/devel/cjkunifonts.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- cjkunifonts.spec 6 Jan 2009 02:08:10 -0000 1.27
+++ cjkunifonts.spec 6 Jan 2009 02:24:34 -0000 1.28
@@ -10,12 +10,9 @@
%define cidmapdir %{_datadir}/ghostscript/conf.d
%define catalogue %{_sysconfdir}/X11/fontpath.d
-%define umingbuilddir ../%{name}-uming-%{version}
-%define ukaibuilddir ../%{name}-ukai-%{version}
-
Name: %{fontname}
Version: 0.2.20080216.1
-Release: 11.1%{?dist}
+Release: 11.2%{?dist}
Summary: Chinese TrueType Fonts -- Simplified and Traditional Chinese Ming and Kai Face
License: Arphic
Group: User Interface/X
@@ -97,18 +94,24 @@
# fontconfig config files
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
-for fconf in `ls %{umingbuilddir}/*-ttf-arphic-uming*.conf`
+
+cd %{name}-uming-%{version}
+for fconf in `ls *-ttf-arphic-uming*.conf`
do
install -m 0644 $fconf %{buildroot}%{_fontconfig_templatedir}/
ln -s %{buildroot}%{_fontconfig_templatedir}/$fconf \
%{buildroot}%{_fontconfig_confdir}/$fconf
done
-for fconf in `ls %{ukaibuilddir}/*-ttf-arphic-ukai*.conf`
+cd ..
+
+cd %{name}-ukai-%{version}
+for fconf in `ls *-ttf-arphic-ukai*.conf`
do
install -m 0644 $fconf %{buildroot}%{_fontconfig_templatedir}/
ln -s %{buildroot}%{_fontconfig_templatedir}/$fconf \
%{buildroot}%{_fontconfig_confdir}/$fconf
done
+cd ..
# backward compat
install -d %{buildroot}%{_datadir}/fonts/zh_CN/TrueType
@@ -213,7 +216,7 @@
%{catalogue}/%{name}-ukai
%changelog
-* Tue Jan 06 2009 Caius Chance <cchance at redhat.com> - 0.2.20080216.1-11.1.fc11
+* Tue Jan 06 2009 Caius Chance <cchance at redhat.com> - 0.2.20080216.1-11.2.fc11
- Resolves: rhbz#477373 (Converted to new font packaging guidelines.)
* Sun Dec 7 2008 Behdad Esfahbod <besfahbo at redhat.com> - 0.2.20080216.1-10.fc11
More information about the Fedora-fonts-bugs-list
mailing list