TrueType-base-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. %define version 4.4.1
  2. %define release 0vl1
  3. %define xfontdir /usr/X11R6/lib/X11/fonts/TrueType
  4. Summary: Vine TrueType font managing base
  5. Summary(ja): TrueType フォント使用のベース
  6. Name: TrueType-base
  7. Version: %{version}
  8. Release: %{release}
  9. BuildArch: noarch
  10. Source: TrueType-base-%{version}.tgz
  11. Copyright: distributable
  12. Group: User Interface/X
  13. Buildroot: %{_tmppath}/%{name}-root
  14. PreReq: mktcapdir >= 0.5.4
  15. # PreReq: chkfontpath
  16. Requires: mktcapdir >= 0.5.4
  17. Distribution: Vine Linux
  18. Vendor: Project Vine
  19. Packager: Shoji Matsumoto <shom@vinelinux.org>
  20. %description
  21. Vine TrueType font managing base.
  22. Include symlinks to basic TTF (luxi*.ttf in XFree86-4.2) and some .ttfconf
  23. %description -l ja
  24. Vine の TrueType フォントマネジメントのベースです。
  25. XFree86-4.2 に含まれる基本的な TTF である luxi*.ttf へのシンボリックリンクと、
  26. いくつかの TTF 用の mktcapdir 用定義ファイルが含まれています。
  27. %prep
  28. rm -rf ${RPM_BUILD_ROOT}
  29. %setup
  30. %install
  31. mkdir -p $RPM_BUILD_ROOT/%{xfontdir}
  32. rm *.spec
  33. mv * \
  34. $RPM_BUILD_ROOT/%{xfontdir}
  35. # %post
  36. # %{_sbindir}/chkfontpath -q -a %{xfontdir}
  37. # %{_bindir}/mktcapdir %{xfontdir} %{xfontdir}/*.ttfconf
  38. # if [ -x %{_bindir}/vine-update-gnome-font-install ]; then
  39. # %{_bindir}/vine-update-gnome-font-install
  40. # fi
  41. # %postun
  42. # %{_sbindir}/chkfontpath -q -r %{xfontdir}
  43. # %{_bindir}/mktcapdir %{xfontdir} %{xfontdir}/*.ttfconf
  44. # if [ -x %{_bindir}/vine-update-gnome-font-install ]; then
  45. # %{_bindir}/vine-update-gnome-font-install
  46. # fi
  47. %post
  48. %{_bindir}/mktcapdir %{xfontdir} %{xfontdir}/*.ttfconf
  49. if [ -x %{_bindir}/vine-update-gnome-font-install ]; then
  50. %{_bindir}/vine-update-gnome-font-install
  51. fi
  52. %postun
  53. %{_bindir}/mktcapdir %{xfontdir} %{xfontdir}/*.ttfconf
  54. if [ -x %{_bindir}/vine-update-gnome-font-install ]; then
  55. %{_bindir}/vine-update-gnome-font-install
  56. fi
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %files
  60. %defattr(-,root,root)
  61. %dir %{xfontdir}
  62. %{xfontdir}/*
  63. %changelog
  64. * Thu Feb 20 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 4.4.1-0vl1
  65. - update for 2.6errata
  66. - modify ttfconf
  67. * Wed Nov 20 2002 Shoji Matsumoto <shom@vinelinux.org> 4.4-0vl2
  68. - remove .spec in fontdir...
  69. - update for Seed
  70. * Sun Oct 06 2002 Shoji Matsumoto <shom@vinelinux.org> 4.4-0vl1
  71. - xtt bug (garbage glyph in -c-) workarownd with mktcapdir-0.5.4
  72. - chkfontpath removed
  73. * Sun Mar 31 2002 Shoji Matsumoto <shom@vinelinux.org> 4.3-0vl3
  74. - chkfontpath fix in %post
  75. * Thu Mar 28 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 4.3-0vl2
  76. - add PreReq: chkfontpath, mktcapdir
  77. * Sun Mar 17 2002 Shoji Matsumoto <shom@vinelinux.org> 4.3-0vl1
  78. - add Obsoletes TrueType_jp < 4.1
  79. * Tue Mar 12 2002 Shoji Matsumoto <shom@vinelinux.org> 4.3-0vl0
  80. - created
  81. - separated from TrueType_jp (to TrueType-base, TrueType-kochi)
  82. - *******************************************************************
  83. * Tue Mar 12 2002 Shoji Matsumoto <shom@vinelinux.org> 4.2-0vl0
  84. - update ricoh.ttfconf, kochi.ttfconf
  85. - add luxi*-2.ttf (bitmap embedded luxi*.ttf)
  86. * Mon Mar 11 2002 Shoji Matsumoto <shom@vinelinux.org> 4.1-0vl0
  87. - Package Name changed to TrueType-kochi (Provides TrueTypeFonts_jp)
  88. - update microsoft.ttfconf, ricoh.ttfconf
  89. * Sun Mar 10 2002 Shoji Matsumoto <shom@vinelinux.org> 4.0-0vl2
  90. - fix
  91. * Sun Mar 10 2002 Shoji Matsumoto <shom@vinelinux.org> 4.0-0vl1
  92. - upate kochi-*
  93. - update *.ttfconf
  94. - add xf42lux.ttfconf, symlinks to XF42 lux ttfs
  95. - add ricoh.ttfconf for CR
  96. * Mon Dec 03 2001 Shoji Matsumoto <shom@vinelinux.org> 3.0-0vl6
  97. - update *.ttfconf
  98. - remove ricoh.ttfconf
  99. - update kochi-*
  100. * Mon Sep 10 2001 SHoji Matsumoto <shom@vinelinux.org> 3.0-0vl4
  101. - fixed bug in kochi.ttfconf
  102. * Mon Sep 10 2001 SHoji Matsumoto <shom@vinelinux.org> 3.0-0vl3
  103. - remove %post process for DynaFonts fonts
  104. (/usr/share/fonts/TrueType/aliastt-* obsoletes)
  105. * Sat Sep 08 2001 Shoji Matsumoto <shom@vinelinux.org> 3.0-0vl2
  106. - remove watanabe, wadalab
  107. - now using mktcapdir
  108. * Mon Jun 04 2001 Shoji Matsumoto <shom@vinelinux.org> 3.0-0vl1
  109. - remove times/hevletica iso8859-1 aliases for kochi
  110. * Fri May 18 2001 Shoji Matsumoto <shom@vinelinux.org> 3.0-0vl0
  111. - add kochi-mincho/kochi-gothic
  112. - add Type1 fonts from XFree86-4.0 (temp)
  113. - add -alias-{times,helvetica,monotype} to aliases
  114. * Thu Mar 15 2001 Daisuke SUZUKI <daisuke@linux.or.jp> 2-7
  115. - remove Obsoletes DynaFonts tag.
  116. * Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 2-6
  117. - build with gcc-2.95.3
  118. - partially used rpmmacros
  119. * Wed Mar 8 2000 Jun Nishii <jun@vinelinux.org>
  120. - 2-5
  121. - chkfontpath -remove TrueType in %post to get stability
  122. * Tue Feb 1 2000 Jun Nishii <jun@vinelinux.org>
  123. - 2-4
  124. - stop to add path for xfs to get stability
  125. * Mon Jan 24 2000 Jun Nishii <jun@vinelinux.org>
  126. - 2-3
  127. - oops...fix bugs for comment out in FONTS.ALIAS
  128. * Thu Jan 20 2000 Jun Nishii <jun@vinelinux.org>
  129. - 2-2
  130. - bug fix: added symlink for aliastt-...
  131. - added Obsoletes DynaFonts
  132. * Sun Jan 9 2000 Jun Nishii <jun@vinelinux.org>
  133. - TrueTypeFonts_jp-2-1
  134. - added %defattr
  135. - bzip2 source
  136. * Thu Dec 30 1999 Jun Nishii <jun@vinelinux.org>
  137. - change group
  138. * Fri Dec 10 1999 Jun Nishii <jun@vinelinux.org>
  139. - new fonts.alias
  140. * Mon Nov 8 1999 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rins.st.ryukoku.ac.jp>
  141. - 1-4
  142. - added Prereq: chkfontpath tag
  143. * Tue Sep 9 1999 Norihito Ohmori <ohmori@flatout.org>
  144. - change using chkfontpath
  145. * Wed Dec 23 1998 MATSUMOTO Shoji <vine@flatout.org>
  146. - 1-2
  147. - change fonts.dir and fonts.alias
  148. - some symbols defined