Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
baekmuk
baekmuk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File baekmuk.spec of Package baekmuk
# # spec file for package baekmuk (Version 2.1) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: baekmuk BuildRequires: freetype2 gawk perl xorg-x11 xorg-x11-devel %if "%(xft-config --prefix)" == "/usr" %define bitmap_fontdir /usr/share/fonts/baekmuk %define ttf_fontdir /usr/share/fonts/truetype %else %define bitmap_fontdir /usr/X11R6/lib/X11/fonts/baekmuk %define ttf_fontdir /usr/X11R6/lib/X11/fonts/truetype %endif Summary: Baekmuk Fonts (Korean Fonts for the X Window System, Bitmap Version) Version: 2.1 Release: 560 Source0: ftp://ftp.mizi.com/pub/baekmuk/baekmuk-2.1.tar.bz2 Source1: ftp://ftp.mizi.com/pub/baekmuk/baekmuk-doc-2.1.tar.gz Source2: ftp://ftp.mizi.com/pub/baekmuk/baekmuk-ttf-2.1.tar.bz2 Source17: fonts.alias Source18: mkitalic Source19: mkbold # truetype-ko-fonts.dir is nice, but in xtt syntax, which does not work with freetype Source20: truetype-ko-fonts.dir # fonts.scale.baekmuk is very bare bones and works with both, freetype and xtt Source21: fonts.scale.baekmuk Source22: prepare-bitmap-fonts.sh Source30: baekmuk-bitmap-fonts-prepared.tar.bz2 Patch0: baekmuk-gulim-medium-18-pixel-bitmap.patch Patch1: baekmuk-gulim-bold-18-pixel-bitmap.patch License: Public Domain, Freeware Group: System/X11/Fonts BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %suseconfig_fonts_prereq Provides: locale(xorg-x11:ko) BuildArch: noarch %description Baekmuk Fonts (Korean fonts for the X Window System, bitmap version). %package -n baekmuk-ttf Summary: Baekmuk Fonts (Korean Fonts for the X Window System, True Type Version) Group: System/X11/Fonts Provides: scalable-font-ko Provides: locale(ko) %description -n baekmuk-ttf Baekmuk Fonts (Korean fonts for the X Window System, True Type version). %prep %setup -q -c -a 0 -a 1 -a 2 %patch0 -p0 -b .baekmuk-gulim-medium-18-pixel-bitmap %patch1 -p0 -b .baekmuk-gulim-bold-18-pixel-bitmap %build install -m 755 $RPM_SOURCE_DIR/mkitalic . install -m 755 $RPM_SOURCE_DIR/mkbold . # Prepare a tar ball containing a complete set of all baekmuk bitmap fonts. # If the tar ball is already available and up to date, just unpack the prepared # tar ball. # Generating the bold and especially the italic fonts takes a HUGE amount of time # (8 hours on a 500 Mhz Pentium III). And although this is a noarch package, # autobuild tries to build it an all architectures. This causes big problems when # we don't have lots of build power for an architecture, for example for sparc and ppc. # cp $RPM_SOURCE_DIR/prepare-bitmap-fonts.sh . # source ./prepare-bitmap-fonts.sh # tar jcvf baekmuk-bitmap-fonts-prepared.tar.bz2 *.bdf cp $RPM_SOURCE_DIR/baekmuk-bitmap-fonts-prepared.tar.bz2 . tar jxvf baekmuk-bitmap-fonts-prepared.tar.bz2 # already prepared tarball for src in *.bdf ; do bdftopcf $src | gzip -9 > ${src%.bdf}.pcf.gz done %install if [ -n "%{?buildroot}" ] ; then [ %{buildroot} != "/" ] && rm -rf %{buildroot} fi mkdir -p %{buildroot}%{bitmap_fontdir} mkdir -p %{buildroot}%{ttf_fontdir} install -c -m 644 *.pcf.gz %{buildroot}%{bitmap_fontdir} install -c -m 644 %{SOURCE17} %{buildroot}%{bitmap_fontdir}/fonts.alias install -c -m 644 *.ttf %{buildroot}%{ttf_fontdir} install -c -m 644 $RPM_SOURCE_DIR/fonts.scale.baekmuk %{buildroot}%{ttf_fontdir}/fonts.scale.baekmuk mkfontdir %{buildroot}%{bitmap_fontdir} %clean rm -rf %{buildroot} %post -n baekmuk %run_suseconfig_fonts %postun -n baekmuk %run_suseconfig_fonts %post -n baekmuk-ttf %run_suseconfig_fonts -c %postun -n baekmuk-ttf %run_suseconfig_fonts -c %files %defattr(-, root,root) %doc COPYRIGHT COPYRIGHT.ks %dir %{bitmap_fontdir} %verify(not md5 size mtime) %{bitmap_fontdir}/fonts.dir %{bitmap_fontdir}/fonts.alias %{bitmap_fontdir}/*.pcf.gz %files -n baekmuk-ttf %defattr(-, root,root) %dir %{ttf_fontdir}/ %{ttf_fontdir}/*.ttf %config %{ttf_fontdir}/fonts.scale.baekmuk %changelog * Wed Jan 23 2008 mfabian@suse.de - remove NoSource tag, it was only there to save space, not because of license reasons. - remove check for obsolete SuSE version. * Mon Aug 07 2006 mfabian@suse.de - add /usr/share/fonts/truetype directory to file list. * Fri Aug 04 2006 mfabian@suse.de - make it build again on STABLE (paths changed because of the move to Xorg X11R7). * Wed Mar 01 2006 mfabian@suse.de - add "Provides: locale(...)". * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Dec 10 2004 ro@suse.de - use run_suseconfig_fonts also for main package * Fri Dec 03 2004 mfabian@suse.de - use new macro "%%run_suseconfig_fonts -c" * Sun Oct 10 2004 schwab@suse.de - Fix requires. * Mon Sep 13 2004 mfabian@suse.de - Bugzilla #45156: add "Provides: scalable-font-ko" to baekmuk-tff sub-package. * Wed Jul 28 2004 mfabian@suse.de - Bugzilla #37396: fix the glyphs for U+CAF4 in gulim18.bdf (new glyph received from Mitsuru CHINEN) and gulim18b.bdf. * Thu Mar 18 2004 mfabian@suse.de - use %%suseconfig_fonts_prereq - run SuSEconfig.ghostscript-cjk in %%post and %%postun of TrueType subpackage. * Sat Feb 14 2004 mfabian@suse.de - run SuSEconfig.fonts and SuSEconfig.pango in %%post and %%postun * Sun Nov 02 2003 ro@suse.de - updated neededforbuild - don't build as root * Fri Aug 29 2003 kukuk@suse.de - Add %%verify for fonts.alias * Fri Jun 13 2003 kukuk@suse.de - Add missing directory to filelist * Thu Oct 17 2002 mfabian@suse.de - Bug #21024: remove old versions of bitmap fonts and fix fonts.alias * Sat Oct 12 2002 mfabian@suse.de - update to 2.1 - replace mkbold and mkitalic by newer and faster versions from the efont-unicode package and remove mkitalic-autobuild.patch * Thu Mar 07 2002 mfabian@suse.de - add ksx1001.1997-0 and iso10646-1 entries to fonts.scale (iso10646-1 entries '-p-', others '-m-') * Mon Feb 11 2002 ro@suse.de - tar option for bz2 is "j" * Mon May 21 2001 mfabian@suse.de - prepare a tarball containing the complete set of fonts, including the bold and italic versions, to avoid having to rebuild the bold and italic versions always on all architectures. Always rebuilding them burns a lot of build power, which is not available on some architectures. Especially the script used to generate the italic versions (awk script mkitalic) is extremely slow. * Thu May 03 2001 mfabian@suse.de - remove %%post and %%postun, it is enough when SuSEconfig updates the font directory, better don't duplicate the code here. * Wed Mar 07 2001 mfabian@suse.de - add xf86 to "# neededforbuild" * Mon Jan 22 2001 violiet@suse.de - update to gulim12.bdf and gulim12b.bdf. * Tue Jan 16 2001 mfabian@suse.de - removed superfluous pcf-files from sources, they are generated from the bdf-files anyway, therefore they are not needed. * Fri Jan 12 2001 mfabian@suse.de - use bzip2 instead of gzip for sources - install a bare bones fonts.scale.baekmuk which is understood by both freetype and xtt. Using xtt's TTCap options it is possible to create bold and italic versions of regular fonts, which is a very nice feature. But if xtt's TTCap options are used in the fonts.dir of a directory with TrueType fonts, the whole directory won't work anymore with freetype. Therefore, I install a very simple fonts.scale.baekmuk for the time being, until we have a better idea what to do. * Fri Jan 12 2001 mfabian@suse.de - added the missing "mkbold" (used the "mkbold" by NAGAO, Sadakazu <snagao@cs.titech.ac.jp>) * Thu Jan 11 2001 mfabian@suse.de - fixed errors in spec-file. - patched 'mkitalic' which caused autobuild to fail * Tue Dec 26 2000 violiet@susekorea.net - made baekmuk fonts bold and italic with mkbold and mkitalic - new fonts.alias - merged another 10pt - modified fonts.dir and fonts.scale * Tue Nov 28 2000 mfabian@suse.de - changed name of subpackage "baekmukt" to "baekmuk-ttf" - improved %%post and %%postun scripts. The previous version failed when this package was installed by autobuild into the buildsystem's chroot environment. I hope this is fixed now. * Mon Nov 27 2000 mfabian@suse.de - removed workaround in .spec file to prevent %%{?suse_check} from gzipping the fonts.scale.baekmuk file %%{?suse_check} works correctly now, this workaround is no longer needed. * Sat Nov 25 2000 mfabian@suse.de - changed directory to install the True Type fonts in to /usr/X11R6/lib/X11/fonts/truetype - changed to new way of creating fonts.scale in /usr/X11R6/lib/X11/fonts/truetype to share it with other font packages which install in the same directory. * Thu Oct 05 2000 mfabian@suse.de - true type fonts were not correctly unpacked * Tue Aug 29 2000 mfabian@suse.de - tested whether mkfontdir is available * Tue Aug 22 2000 mfabian@suse.de - adapted .spec file to SuSE * Sat Nov 20 1999 Sang-Jin Hwang, <accel@accellinux.org> - update to 1.3 * Thu Nov 11 1999 Sang-Jin Hwang, <accel@accellinux.org> - Accel Linux 6.1 build release. * Fri Nov 05 1999 Seo, Young-Jin <yjseo@mizi.co.kr> - upgrade to 1.2 * Wed Sep 01 1999 Woohyun JANG <louis@mizi.co.kr> - add gulim12-19990901.bdf * Wed Aug 04 1999 Seo, Young-Jin <yjseo@mizi.co.kr> - ttf font name fields are corrected. - Thanks Cha, Jae-Choon <jccha@knot.kaist.ac.kr> * Tue Aug 03 1999 Woohyun JANG <louis@mizi.co.kr> - add attr() in files section * Thu Jul 29 1999 Woohyun JANG <louis@mizi.co.kr> - add hconfig.ps.sample in baekmuk-doc package * Mon Jul 26 1999 Woohyun JANG <louis@mizi.co.kr> - add :unscaled. thanks to Kim Hyunchul <mindgame@plp.postech.ac.kr> * Sat Jul 24 1999 Seo, Young-Jin <yjseo@mizi.co.kr> - unscaled is removed from fontpath in post and postun script * Thu Jul 22 1999 Woohyun JANG <louis@mizi.co.kr> - bug fix in fonts.dir(in baekmuk-ttf) - initial release of baekmuk font * Mon Jul 05 1999 Woohyun JANG <louis@mizi.co.kr> - add %%triggerin * Wed Jun 23 1999 Woohyun JANG <louis@mizi.co.kr> - initial released
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor