TrueType-dejavu-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. %define fontname dejavu
  2. %define archivename dejavu-fonts-ttf
  3. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  4. Name: TrueType-%{fontname}
  5. Version: 2.35
  6. Release: 1%{?_dist_release}
  7. Summary: The DejaVu fonts are a font family based on the Vera Fonts
  8. Summary(ja): DejaVu フォントは Vera フォントをベースとしたフォントファミリーです
  9. License: Bitstream Vera and Public Domain
  10. Group: User Interface/X
  11. BuildArch: noarch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. URL: http://sourceforge.net/projects/dejavu/
  14. Source: %{archivename}-%{version}.tar.bz2
  15. Requires: TrueType-%{fontname}-sans >= %{version}
  16. Requires: TrueType-%{fontname}-serif >= %{version}
  17. Requires: TrueType-%{fontname}-sans-mono >= %{version}
  18. Requires: TrueType-%{fontname}-doc >= %{version}
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. BuildArch: noarch
  21. Obsoletes: TrueType-DejaVu
  22. %description
  23. The DejaVu fonts are a font family
  24. based on the Vera Fonts (version 1.10).
  25. %description -l ja
  26. DejaVu Fonts は Bitstream Vera Fonts (version 1.10) を
  27. ベースにしたフォントファミリです。
  28. このパッケージは DejaVu フォントのメタパッケージです。
  29. Sans・Serif・Sans-Mono の3書体をインストールします。
  30. %package sans
  31. Summary: DejaVu sans TrueType Fonts
  32. Summary(ja): DejaVu sans True Type フォント
  33. Group: User Interface/X
  34. Requires: TrueType-%{fontname}-doc
  35. %description sans
  36. This package includes DejaVu sans TrueType fonts.
  37. %description -l ja sans
  38. このパッケージには DejaVu sans フォントが含まれています。
  39. - DejaVuSans-Bold
  40. - DejaVuSans-BoldOblique
  41. - DejaVuSans-ExtraLight
  42. - DejaVuSans-Oblique
  43. - DejaVuSans
  44. - DejaVuSansCondensed-Bold
  45. - DejaVuSansCondensed-BoldOblique
  46. - DejaVuSansCondensed-Oblique
  47. - DejaVuSansCondensed
  48. %package serif
  49. Summary: DejaVu serif TrueType Fonts
  50. Summary(ja): DejaVu serif True Type フォント
  51. Group: User Interface/X
  52. Requires: TrueType-%{fontname}-doc
  53. %description serif
  54. This package includes DejaVu serif TrueType fonts.
  55. %description -l ja serif
  56. このパッケージには DejaVu serif フォントが含まれています。
  57. - DejaVuSerif-Bold
  58. - DejaVuSerif-BoldItalic
  59. - DejaVuSerif-Italic
  60. - DejaVuSerif
  61. - DejaVuSerifCondensed-Bold
  62. - DejaVuSerifCondensed-BoldItalic
  63. - DejaVuSerifCondensed-Italic
  64. - DejaVuSerifCondensed
  65. %package sans-mono
  66. Summary: DejaVu sans-mono TrueType Fonts
  67. Summary(ja): DejaVu sans-mono True Type フォント
  68. Group: User Interface/X
  69. Requires: TrueType-%{fontname}-doc
  70. %description sans-mono
  71. This package includes DejaVu sans-mono TrueType fonts.
  72. %description -l ja sans-mono
  73. このパッケージには DejaVu sans-mono フォントが含まれています。
  74. - DejaVuSansMono-Bold
  75. - DejaVuSansMono-BoldOblique
  76. - DejaVuSansMono-Oblique
  77. - DejaVuSansMono
  78. %package doc
  79. Summary: DejaVu Font Documents
  80. Summary(ja): DejaVu フォントドキュメント
  81. Group: User Interface/X
  82. %description doc
  83. This package includes important documents for DejaVu fonts includes enduser
  84. license.
  85. %description -l ja doc
  86. このパッケージには DejaVu フォントのライセンスを含むドキュメント類が含まれています。
  87. %prep
  88. %setup -q -n %{archivename}-%{version}
  89. mv ttf/*.ttf .
  90. %build
  91. %install
  92. %{__rm} -rf $RPM_BUILD_ROOT
  93. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  94. cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
  95. %clean
  96. if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
  97. rm -rf ${RPM_BUILD_ROOT}
  98. fi
  99. %post sans
  100. %__font_install_post %{_fontdir}
  101. %post serif
  102. %__font_install_post %{_fontdir}
  103. %post sans-mono
  104. %__font_install_post %{_fontdir}
  105. %postun sans
  106. %__font_install_postun %{_fontdir}
  107. %postun serif
  108. %__font_install_postun %{_fontdir}
  109. %postun sans-mono
  110. %__font_install_postun %{_fontdir}
  111. %files
  112. %files sans
  113. %{_fontdir}/DejaVuSans*.ttf
  114. %files serif
  115. %{_fontdir}/DejaVuSerif*.ttf
  116. %files sans-mono
  117. %{_fontdir}/DejaVuSansMono*.ttf
  118. %files doc
  119. %doc *.txt
  120. %doc AUTHORS BUGS LICENSE NEWS README
  121. %changelog
  122. * Sat Nov 14 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.35-1
  123. - new upstream release
  124. * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.34-2
  125. - built with gcc-4.8
  126. * Sat Aug 31 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.34-1
  127. - new upstream release
  128. * Fri Apr 29 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.33-1
  129. - new upstream release
  130. * Mon Aug 23 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.32-1
  131. - new upstream release
  132. * Sat May 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.31-1
  133. - new upstream release
  134. - added Japanase summary, improved summary
  135. - added Requires: TrueType-%{fontname}-doc in TrueType-%{fontname} package
  136. * Tue Sep 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.30-1
  137. - new upstream release
  138. * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.29-3
  139. - added Obsoletes: TrueType-DejaVu
  140. * Wed Apr 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.29-2
  141. - spec rewrote mostly (compliant to TrueType-IPAfont.spec)
  142. - renamed package name
  143. - splitted sans, serif, sans-mono, and doc packages
  144. - spec in UTF-8
  145. * Thu Mar 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.29-1
  146. - new upstream release
  147. * Sat Jan 10 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.28-3
  148. - fixed Summary
  149. - fixed Lisense
  150. - modified description -l ja
  151. * Thu Jan 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.28-2
  152. - fixed fontdir name
  153. * Wed Dec 31 2008 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.28-1
  154. - initial build for VineSeed