monafont-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # $Id: monafont.spec,v 1.6 2003/09/10 02:54:10 s42335 Exp $
  2. Summary: Mona Font
  3. Summary(ja): モナーフォント
  4. Name: monafont
  5. Version: 2.90
  6. Release: 1vl3
  7. Group: User Interface/X
  8. License: Public Domain
  9. URL: http://monafont.sourceforge.net/
  10. Source: http://prdownloads.sourceforge.net/monafont/monafont-2.90.tar.bz2
  11. BuildArch: noarch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: TrueType-kochi-subst
  14. Prereq: XOrg, XOrg-xfs, XOrg-font-utils, chkfontpath, initscripts
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: IKEDA Katsumi <ikeda@webmasters.gr.jp>
  18. Obsoletes: mona-font
  19. Obsoletes: monafonts
  20. %description
  21. Mona Font is a Japanese font suitable for text arts posted in the Ni-channeru BBS.
  22. %description -l ja
  23. モナーフォントはアスキーアートを見るためのフォントです。
  24. %prep
  25. rm -rf ${RPM_BUILD_ROOT}
  26. %setup -q
  27. %build
  28. make
  29. cd ttfsrc && \
  30. make BASE_OUTLINE_TTF=/usr/X11R6/lib/X11/fonts/TrueType/kochi-gothic-subst.ttf
  31. %install
  32. rm -rf ${RPM_BUILD_ROOT}
  33. make install DESTDIR="${RPM_BUILD_ROOT}"
  34. cp fonts.alias.mona ${RPM_BUILD_ROOT}/usr/X11R6/lib/X11/fonts/local
  35. cd ttfsrc && \
  36. make install install DESTDIR="${RPM_BUILD_ROOT}" \
  37. TTFFONTDIR=${RPM_BUILD_ROOT}/usr/X11R6/lib/X11/fonts/TrueType \
  38. BASE_OUTLINE_TTF=/usr/X11R6/lib/X11/fonts/TrueType/kochi-gothic-subst.ttf
  39. %clean
  40. rm -rf ${RPM_BUILD_ROOT}
  41. %post
  42. cd /usr/X11R6/lib/X11/fonts/local
  43. /usr/X11R6/bin/mkfontdir
  44. cat fonts.alias.mona >> fonts.alias
  45. /usr/sbin/chkfontpath -a /usr/X11R6/lib/X11/fonts/local
  46. /sbin/service xfs reload
  47. %postun
  48. cd /usr/X11R6/lib/X11/fonts/local
  49. /usr/X11R6/bin/mkfontdir
  50. mv fonts.alias fonts.alias.rpmsave
  51. sed '/^!! MONAFONT_ALIAS_BEGIN/,/^!! MONAFONT_ALIAS_END/d' fonts.alias.rpmsave > fonts.alias
  52. /sbin/service xfs reload
  53. %files
  54. %defattr(-, root, root)
  55. /usr/X11R6/lib/X11/fonts/local/fonts.alias.mona
  56. /usr/X11R6/lib/X11/fonts/local/mona*.pcf.gz
  57. /usr/X11R6/lib/X11/fonts/TrueType/mona.ttf
  58. %doc README.euc
  59. %doc README.ascii
  60. %changelog
  61. * Sat Aug 14 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 2.90-1vl3
  62. - Added creating mona.ttf.
  63. - Rebuild for VinePlus/3.0
  64. * Fri Jul 23 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 2.90-1vl2
  65. - Added Summary(ja).
  66. * Tue Feb 5 2004 by IKEDA Katsumi
  67. - 2.90-1vl1
  68. - Modified %Group, %Source and %Prereq.
  69. - Add %Vendor and %Distribution.
  70. - Remove %Packager.
  71. * Tue Sep 7 2003 by 1 <s42335@excite.co.jp>
  72. - Update to 2.99.
  73. * Tue Aug 5 2003 by 1 <s42335@excite.co.jp>
  74. - Update to 2.30pre2.
  75. * Thu Dec 22 2002 by 1 <s42335@users.sourceforge.net>
  76. - Modified %post, %postun.
  77. * Thu Dec 20 2002 by 1 <s42335@users.sourceforge.net>
  78. - Updated to 2.22 and small fixes.
  79. * Thu Jun 22 2002 by 1 <s42335@excite.co.jp>
  80. - Update to 2.21.
  81. * Thu May 14 2002 by 1 <s42335@excite.co.jp>
  82. - Update to 2.2.
  83. * Thu May 2 2002 by 1 <s42335@excite.co.jp>
  84. - Update to 2.12.
  85. * Fri Apr 5 2002 nanasisan@onakaippai <>
  86. - Update to 2.11.
  87. * Sun Jul 22 2001 Yukihiro Nakai <nakai@gnome.gr.jp>
  88. - Update to 2.03.
  89. * Sat May 18 2001 Yukihiro Nakai <nakai@gnome.gr.jp>
  90. - Initial RPM release.