rpms/fonts-korean/devel fonts-korean.spec,1.18,1.19
Caius Chance (cchance)
fedora-extras-commits at redhat.com
Fri Aug 17 04:51:46 UTC 2007
Author: cchance
Update of /cvs/pkgs/rpms/fonts-korean/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26673
Modified Files:
fonts-korean.spec
Log Message:
* Thu Aug 16 2007 Caius Chance <cchance at redhat.com> - 2.2-2.fc8
- Resolves: rhbz#252272 (Drop chkfontpath dependency.)
Index: fonts-korean.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fonts-korean/devel/fonts-korean.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- fonts-korean.spec 7 Aug 2007 00:20:56 -0000 1.18
+++ fonts-korean.spec 17 Aug 2007 04:51:13 -0000 1.19
@@ -11,12 +11,15 @@
%define bmpfontdir %{basefontdir}/misc
%define cidmapdir %{_datadir}/ghostscript/conf.d
+%define catalogue /etc/X11/fontpath.d
+
Name: fonts-korean
Version: 2.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: Distributable
Group: User Interface/X
URL: http://kldp.net/frs/?group_id=57&release_id=865
+
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: xorg-x11-font-utils gzip
@@ -28,8 +31,8 @@
Summary: Free Korean Bitmap/TrueType fonts
-Requires(post): ttmkfdir >= 3.0.6, mkfontdir, fontconfig, %{_sbindir}/chkfontpath
-Requires(postun): fontconfig, %{_sbindir}/chkfontpath
+Requires(post): ttmkfdir >= 3.0.6, mkfontdir, fontconfig
+Requires(postun): fontconfig
Provides: ttfonts-ko = %{ttfontverhead}
Obsoletes: ttfonts-ko <= %{ttfontverhead}
%description
@@ -54,6 +57,7 @@
install -d $RPM_BUILD_ROOT%{bmpfontdir}
install -d $RPM_BUILD_ROOT%{cidmapdir}
+# for tt/bmp font
install -m 0644 %{baekmukttfdir}/*.ttf $RPM_BUILD_ROOT%{ttfontdir}/
install -m 0644 %{baekmukbdfdir}/*.pcf.gz $RPM_BUILD_ROOT%{bmpfontdir}/
install -m 0444 %{baekmukbdfdir}/fonts.alias $RPM_BUILD_ROOT%{bmpfontdir}/ttfonts-ko.alias
@@ -65,7 +69,11 @@
# for docu
cp $(find %{baekmukdocdir} -maxdepth 1 -type f | xargs) $RPM_BUILD_DIR/%{name}-%{version}/doc/
-# for dummy
+# for catalogue
+install -d $RPM_BUILD_ROOT%{catalogue}
+ln -sf %{ttfontdir} $RPM_BUILD_ROOT%{catalogue}/fonts-korean
+
+# for fonts.{dir,scale,cache-1}
touch $RPM_BUILD_ROOT%{basefontdir}/fonts.cache-1
touch $RPM_BUILD_ROOT%{ttfontdir}/fonts.cache-1
touch $RPM_BUILD_ROOT%{ttfontdir}/fonts.dir
@@ -74,7 +82,6 @@
touch $RPM_BUILD_ROOT%{bmpfontdir}/fonts.dir
touch $RPM_BUILD_ROOT%{bmpfontdir}/encodings.dir
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -109,9 +116,12 @@
%dir %{ttfontdir}
%dir %{bmpfontdir}
%dir %{cidmapdir}
+%dir %{catalogue}
%{ttfontdir}/*.ttf
%{bmpfontdir}/*.gz
%{bmpfontdir}/ttfonts-ko.alias
+%{cidmapdir}/FAPIcidfmap.ko
+%{cidmapdir}/cidfmap.ko
%ghost %verify(not md5 size mtime) %{basefontdir}/fonts.cache-1
%ghost %verify(not md5 size mtime) %{ttfontdir}/fonts.cache-1
%ghost %verify(not md5 size mtime) %{ttfontdir}/fonts.dir
@@ -119,11 +129,12 @@
%ghost %verify(not md5 size mtime) %{bmpfontdir}/fonts.cache-1
%ghost %verify(not md5 size mtime) %{bmpfontdir}/fonts.dir
%ghost %verify(not md5 size mtime) %{bmpfontdir}/encodings.dir
-%{cidmapdir}/FAPIcidfmap.ko
-%{cidmapdir}/cidfmap.ko
-
+%{catalogue}/fonts-korean
%changelog
+* Thu Aug 16 2007 Caius Chance <cchance at redhat.com> - 2.2-2.fc8
+- Resolves: rhbz#252272 (Drop chkfontpath dependency.)
+
* Tue Jul 31 2007 Caius Chance <cchance at redhat.com> - 2.2-1.fc8
- Synchonized with baekmuk font upstream release, synchonized version number.
More information about the scm-commits
mailing list