rpms/fonts-korean/devel fonts-korean.spec,1.13,1.14

Caius Chance (cchance) fedora-extras-commits at redhat.com
Mon Jul 30 06:07:32 UTC 2007


Author: cchance

Update of /cvs/pkgs/rpms/fonts-korean/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23158

Modified Files:
	fonts-korean.spec 
Log Message:
* Thu Jul 26 2006 Parag Nemade <pnemade at redhat.com> - 1.0.11-10
- spec cleanup.



Index: fonts-korean.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fonts-korean/devel/fonts-korean.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- fonts-korean.spec	12 Jul 2006 05:50:39 -0000	1.13
+++ fonts-korean.spec	30 Jul 2007 06:07:00 -0000	1.14
@@ -1,38 +1,41 @@
-%define language	korean
-%define basefontdir	%{_datadir}/fonts/%{language}
-%define ttfontdir	%{basefontdir}/TrueType
-%define bmpfontdir	%{basefontdir}/misc
-%define cidmapdir	%{_sysconfdir}/ghostscript
-
-
-Name:		fonts-korean
-Version:	1.0.11
-Release: 9.1.1
-License:	Distributable
-Group:		User Interface/X
-BuildArch:	noarch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-root
-BuildRequires:	xorg-x11-font-utils gzip
-
-Source0:        ftp://ftp.mizi.com/pub/baekmuk/baekmuk-ttf-2.1.tar.gz
-Source1:        ftp://ftp.mizi.com/pub/baekmuk/baekmuk-doc-2.1.tar.gz
-Source2:        baekmuk-2.1.tar.gz
-Source3:	FAPIcidfmap.ko
-Source4:	cidfmap.ko
+%define language     korean
+%define basefontdir  %{_datadir}/fonts/%{language}
+%define ttfontdir    %{basefontdir}/TrueType
+%define bmpfontdir   %{basefontdir}/misc
+%define cidmapdir    %{_datadir}/ghostscript/conf.d
 
 
-Summary:	Free Korean Bitmap/TrueType fonts
+Name:           fonts-korean
+Version:        1.0.11
+Release:        10%{?dist}
+License:        Distributable
+Group:          User Interface/X
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  xorg-x11-font-utils gzip
 
-Requires(post): ttmkfdir >= 3.0.6, mkfontdir, fontconfig, /usr/sbin/chkfontpath
-Requires(postun): fontconfig, /usr/sbin/chkfontpath
 
-Obsoletes:	ttfonts-ko
+Source0:  ftp://ftp.mizi.com/pub/baekmuk/baekmuk-ttf-2.1.tar.gz
+Source1:  ftp://ftp.mizi.com/pub/baekmuk/baekmuk-doc-2.1.tar.gz
+Source2:  baekmuk-2.1.tar.gz
+Source3:  FAPIcidfmap.ko
+Source4:  cidfmap.ko
+
+
+Summary:  Free Korean Bitmap/TrueType fonts
+
+
+Requires(post):    ttmkfdir >= 3.0.6, mkfontdir, fontconfig, %{_sbindir}/chkfontpath
+Requires(postun):  fontconfig, %{_sbindir}/chkfontpath
+Obsoletes:         ttfonts-ko
+Provides:          ttfonts-ko
 %description
 This package provides the free Korean Bitmap/TrueType fonts.
 
 
 %prep
-%setup -T -c -a 0 -a 2
+%setup -q -T -c -a 0 -a 2
+
 
 %build
 for file in *.bdf; do
@@ -42,6 +45,7 @@
 tar xvfz %{SOURCE1}
 popd
 
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,6 +70,7 @@
 touch $RPM_BUILD_ROOT%{bmpfontdir}/fonts.dir
 touch $RPM_BUILD_ROOT%{bmpfontdir}/encodings.dir
 
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -74,19 +79,20 @@
 {
     umask 133
     touch %{ttfontdir} 2> /dev/null && {
-	/usr/bin/ttmkfdir -d %{ttfontdir} -o %{ttfontdir}/fonts.scale
-	mkfontdir %{ttfontdir}
-	/usr/sbin/chkfontpath -q -a %{ttfontdir}
+        %{_bindir}/ttmkfdir -d %{ttfontdir} -o %{ttfontdir}/fonts.scale
+        mkfontdir %{ttfontdir}
+        %{_sbindir}/chkfontpath -q -a %{ttfontdir}
     }
-    mkfontdir %{bmpfontdir} && /usr/sbin/chkfontpath -q -a %{bmpfontdir}
+    mkfontdir %{bmpfontdir} && %{_sbindir}/chkfontpath -q -a %{bmpfontdir}
     fc-cache 2> /dev/null
 }
 
+
 %postun
 {
     if [ "$1" = "0" ]; then
-	/usr/sbin/chkfontpath -q -r %{ttfontdir}
-	/usr/sbin/chkfontpath -q -r %{bmpfontdir}
+        %{_sbindir}/chkfontpath -q -r %{ttfontdir}
+        %{_sbindir}/chkfontpath -q -r %{bmpfontdir}
     fi
     fc-cache 2> /dev/null
 }
@@ -99,8 +105,9 @@
 %dir %{ttfontdir}
 %dir %{bmpfontdir}
 %dir %{cidmapdir}
-%{ttfontdir}
-%{bmpfontdir}
+%{ttfontdir}/*.ttf
+%{bmpfontdir}/*.gz
+%{bmpfontdir}/ttfonts-ko.alias
 %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
@@ -113,6 +120,9 @@
 
 
 %changelog
+* Thu Jul 26 2006 Parag Nemade <pnemade at redhat.com> - 1.0.11-10
+- spec cleanup.
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 1.0.11-9.1.1
 - rebuild
 




More information about the fedora-extras-commits mailing list