Summary: taipei chinese big5 fonts Name: taipeifonts Version: 1.2 Release: 16mdk Copyright: Public Domain Group: System/Fonts/X11 bitmap Source: taipeifonts-1.2.tar.bz2 Source1: taipeifonts.alias Prereq: /bin/grep, XFree86, /bin/cat Requires: /bin/grep, XFree86, /bin/cat #Packager: platin@ch.ntu.edu.tw Buildroot: %{_tmppath}/taipei-root BuildArchitectures: noarch Provides: zh-pcf-fonts, taipei16, taipeik20, taipeik24, taipeim20, taipeim24 ## Conflicts: twmoe_ming-xfonts %description These are chinese big5 taipei fonts. The fonts.alias file was fixed to fit the usage of CXwin & XA & xcin & lyx & netscape ......... There are five fonts in this package, three chinese & two english. taipei16.pcf, taipeim20.pcf, taipeim24.pcf, vga12x24.pcf. You see, Only ming-face fonts were included. And I use alias to fake CXwin. :) This package is made to Conflicts to twmoe_ming-xfonts. %prep %setup %build bdftopcf taipei24.bdf | gzip -c > taipei24.pcf.gz bdftopcf taipei20.bdf | gzip -c > taipei20.pcf.gz bdftopcf taipei16.bdf | gzip -c > taipei16.pcf.gz %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc install -m 644 taipei24.pcf.gz $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc/ install -m 644 taipei20.pcf.gz $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc/ install -m 644 taipei16.pcf.gz $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc/ install -m 644 vga12x24.pcf.gz $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc/ install -m 644 $RPM_SOURCE_DIR/taipeifonts.alias $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc/ %clean rm -rf $RPM_BUILD_ROOT %postun if [ "$1" = "0" ];then if [ -f /usr/X11R6/lib/X11/fonts/misc/fonts.alias ] ; then cat /usr/X11R6/lib/X11/fonts/misc/fonts.alias | \ grep -v "\!ByRPM" > /usr/X11R6/lib/X11/fonts/misc/fonts.alias.tmp mv -f /usr/X11R6/lib/X11/fonts/misc/fonts.alias.tmp \ /usr/X11R6/lib/X11/fonts/misc/fonts.alias /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc/ [ -n "$DISPLAY" ] && xset fp rehash fi fi %post if [ -f /usr/X11R6/lib/X11/fonts/misc/fonts.alias ] ; then cat /usr/X11R6/lib/X11/fonts/misc/fonts.alias | \ grep -v "\!ByRPM" > /usr/X11R6/lib/X11/fonts/misc/fonts.alias.tmp mv -f /usr/X11R6/lib/X11/fonts/misc/fonts.alias.tmp \ /usr/X11R6/lib/X11/fonts/misc/fonts.alias cat /usr/X11R6/lib/X11/fonts/misc/taipeifonts.alias \ >> /usr/X11R6/lib/X11/fonts/misc/fonts.alias /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/misc/ [ -n "$DISPLAY" ] && xset fp rehash fi %files %defattr(0644,root,root,0755) /usr/X11R6/lib/X11/fonts/misc/taipei16.pcf.gz /usr/X11R6/lib/X11/fonts/misc/taipei20.pcf.gz /usr/X11R6/lib/X11/fonts/misc/taipei24.pcf.gz /usr/X11R6/lib/X11/fonts/misc/vga12x24.pcf.gz /usr/X11R6/lib/X11/fonts/misc/taipeifonts.alias %changelog * Mon Aug 14 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 1.2-16mdk - adapted Group: to mdk conventions - rewrote the scripts to avoid possible vulnerabilities * Tue Feb 1 2000 Cheng Yuan-Cheng <platin@cle.linux.org.tw> - use %post instead of %triggerin XFree86 - prereq/requires fixed - taipeifonts.alias fixed,, use default-ming * Thu Mar 18 1999 Cheng Yuan-Cheng <platin@cle.linux.org.tw> - fonts.alias bug fix - scripts fixed * Mon Dec 14 1998 Cheng Yuan-Cheng <platin@cle.linux.org.tw> - uninstall script bug fix * Thu Nov 5 1998 Cheng Yuan-Cheng <platin@cle.linux.org.tw> - rebuild on redhat-5.2 * Fri Oct 2 1998 Cheng Yuan-Cheng <platin@ms.ccafps.khc.edu.tw> - alias to fit the new ttfed X-Server * Wed Sep 2 1998 Cheng Yuan-Cheng <platin@ms.ccafps.khc.edu.tw> - Group --> Extensions/Chinese * Mon Jul 20 1998 Cheng Yuan-Cheng <platin@ms.ccafps.khc.edu.tw> - move the font dir to misc - remove 8x16.pcf.gz * Thu Jun 18 1998 Cheng Yuan-Cheng <platin@ms.ccafps.khc.edu.tw> - Change the group tag to Extensions/chinese * Thu Jun 11 1998 Cheng Yuan-Chung <platin@ms.ccafps.khc.edu.tw> - Revised the font file. Now those file was created from the bdf fonts included in GNU's `intlfonts' package. - Conflict: tag added * Tue Apr 14 1998 Cheng Yuan-Chung <platin@ms.ccafps.khc.edu.tw> - Revised the fonts.alias file to fit the useage of lyx-I18N - §â·¢Åé¦r®³±¼¤F¡Abut ¬°¤F CXwin ¨Ï¥Î¡A¤´¥Î alias °µ¥X taipeik20¡Btaipeik24¡C * Fri Jan 9 1998 Cheng Yuan-Chung <platin@ms.ccafps.khc.edu.tw> - add fonts 8x16.pcf.gz && vga12x24.pcf.gz * Thu Jan 1 1998 Cheng Yuan-Chung <platin@ms.ccafps.khc.edu.tw> - ³o¨Ç taipei ¦r§Î¬O±q§Úªº¦r§Î¥Ø¿ý¸Ì±¿ï¥X¨Óªº¡A§Ú¤]¤£ª¾¹D - ¥L̪º¥X³B¡E¡E¡E§Æ±æ¨S¦³ª©Åv°ÝÃD¤~¦n¡C - will automatically change the FontPath lines in XF86Config - - must have perl