TrueType-sawarabi-gothic-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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: 20110715
  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. * Fri Jul 15 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110715-1
  52. - new upstream release
  53. * Tue Jun 21 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110615-1
  54. - new upstream release
  55. * Sun May 15 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110515-1
  56. - new upstream release
  57. * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110415-1
  58. - new upstream release
  59. - fixed %%changelog typo in Wed Feb 16 2011
  60. * Wed Feb 16 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110215-1
  61. - new upstream release
  62. * Mon Jan 17 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20110115-1
  63. - new upstream release
  64. * Sat Dec 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20101215-1
  65. - new upstream release
  66. * Thu Nov 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20101115-1
  67. - new upstream release
  68. * Fri Oct 15 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20101015-1
  69. - new upstream release
  70. * Fri Oct 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20100915-2
  71. - fixed doc package description
  72. * Sat Sep 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20100915-1
  73. - initial build for VineSeed