TrueType-kiloji-vl.spec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. %define fontname kiloji
  2. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  3. Name: TrueType-%{fontname}
  4. Summary: kiloji font - Handwriting-like general styles
  5. Summary(ja): 手書き風総合書体 きろ字フォント
  6. Version: 2.1.0
  7. Release: 2%{?_dist_release}
  8. License: New BSD
  9. Group: User Interface/X
  10. URL: http://www.ez0.net/distribution/font/%{fontname}/
  11. Source0: %{fontname}_%{version}.zip
  12. Source1: %{fontname}_b%{version}.zip
  13. Source2: %{fontname}_d%{version}.zip
  14. Source3: %{fontname}_p%{version}.zip
  15. Requires: %{name}-doc >= %{version}
  16. BuildRequires: unzip
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildArch: noarch
  19. Obsoletes: %{name}-bold, %{name}-fixed, %{name}-proportional, %{name}-thin
  20. %description
  21. kilo-ji, "kilo" is the author name of these fonts
  22. and "ji" means "characters" in Japanese.
  23. This fonts consists of four styles.
  24. - kiloji.ttf (kiloji Monospace)
  25. - kiloji_p.ttf (kiloji Proportional)
  26. - kiloji_b.ttf (kiloji Bold)
  27. - kiloji_d.ttf (kiloji Thin)
  28. %description -l ja
  29. きろ字の "kilo" とはこれらのフォントの作者の名前であり、
  30. "ji" は 日本語で "文字" を意味します。
  31. このフォントは4種の書体から成っています。
  32. - kiloji.ttf(等幅)
  33. - kiloji_p.ttf (プロポーショナル)
  34. - kiloji_b.ttf (太字)
  35. - kiloji_d.ttf (細字)
  36. %package doc
  37. Summary: kiloji fonts Documents
  38. Summary(ja): きろ字フォントドキュメント
  39. Group: User Interface/X
  40. %description doc
  41. This package includes important documents for kiloji fonts includes enduser
  42. license.
  43. %description -l ja doc
  44. このパッケージにはきろ字フォントのライセンスを含むドキュメント類が含まれています。
  45. %prep
  46. %setup -q -c -T
  47. %{_bindir}/unzip -oq %{SOURCE0}
  48. %{_bindir}/unzip -oq %{SOURCE1}
  49. %{_bindir}/unzip -oq %{SOURCE2}
  50. %{_bindir}/unzip -oq %{SOURCE3}
  51. %clean
  52. if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
  53. rm -rf ${RPM_BUILD_ROOT}
  54. fi
  55. %build
  56. %install
  57. rm -rf %{buildroot}
  58. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  59. cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
  60. %post
  61. %__font_install_post %{_fontdir}
  62. %postun
  63. %__font_install_postun %{_fontdir}
  64. %files
  65. %{_fontdir}/%{fontname}*.ttf
  66. %files doc
  67. %doc Collecting.txt License.txt
  68. %changelog
  69. * Sun Oct 24 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1.0-2
  70. - unified bold/fixed/proportional/thin pacakage
  71. - fixed %%description a little
  72. * Wed Sep 30 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1.0-1
  73. - initial build for VineSeed