TrueType-sawarabi-gothic-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. %define fontname sawarabi-gothic
  2. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  3. Name: TrueType-%{fontname}
  4. Summary: sawarabi gothic font
  5. Summary(ja): さわらびゴシックフォント
  6. Version: 20120415
  7. Release: 1%{?_dist_release}
  8. License: CC-BY
  9. Group: User Interface/X
  10. URL: http://sourceforge.jp/projects/sawarabi-fonts/
  11. Source0: %{fontname}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. Requires: TrueType-%{fontname}-doc
  15. %description
  16. Sawarabi gothic font is Japanese TrueType font what have been developed
  17. in opensource.
  18. %description -l ja
  19. さわらびゴシックフォントは、オープンソースで開発されている
  20. 日本語 TrueType フォントです。
  21. %package doc
  22. Summary: swarabi gothic font documents
  23. Summary(ja): さわらびゴシックフォントドキュメント
  24. Group: User Interface/X
  25. %description doc
  26. This package includes important documents for sawarabi gothic font
  27. includes enduser license.
  28. %description -l ja doc
  29. このパッケージにはさわらびゴシックフォントのライセンスを含む
  30. ドキュメント類が含まれています。
  31. %prep
  32. %setup -q -n %{fontname}
  33. %clean
  34. if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
  35. rm -rf ${RPM_BUILD_ROOT}
  36. fi
  37. %build
  38. %install
  39. rm -rf %{buildroot}
  40. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  41. cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
  42. %post
  43. %__font_install_post %{_fontdir}
  44. %postun
  45. %__font_install_postun %{_fontdir}
  46. %files
  47. %{_fontdir}/*.ttf
  48. %files doc
  49. %doc *.txt
  50. %changelog
  51. * Sun Apr 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120415-1
  52. - new upstream release
  53. * Wed Mar 21 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120315-1
  54. - new upstream release
  55. * Fri Feb 17 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120215-1
  56. - new upstream release
  57. * Mon Jan 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120115-1
  58. - new upstream release
  59. * Sat Dec 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20111215-1
  60. - new upstream release
  61. * Fri Nov 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20111115-1
  62. - new upstream release
  63. * Tue Oct 18 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20111015-1
  64. - new upstream release
  65. * Sat Sep 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110915-1
  66. - new upstream release
  67. * Fri Aug 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110815-1
  68. - new upstream release
  69. * Fri Jul 15 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110715-1
  70. - new upstream release
  71. * Tue Jun 21 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110615-1
  72. - new upstream release
  73. * Sun May 15 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110515-1
  74. - new upstream release
  75. * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110415-1
  76. - new upstream release
  77. - fixed %%changelog typo in Wed Feb 16 2011
  78. * Wed Feb 16 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110215-1
  79. - new upstream release
  80. * Mon Jan 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110115-1
  81. - new upstream release
  82. * Sat Dec 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20101215-1
  83. - new upstream release
  84. * Thu Nov 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20101115-1
  85. - new upstream release
  86. * Fri Oct 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20101015-1
  87. - new upstream release
  88. * Fri Oct 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20100915-2
  89. - fixed doc package description
  90. * Sat Sep 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20100915-1
  91. - initial build for VineSeed