TrueType-liberation-vl.spec 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. %define fontname liberation
  2. %define archivename %{name}-%{version}
  3. %define common_desc \
  4. The Liberation Fonts are intended to be replacements for the three most \
  5. commonly used fonts on Microsoft systems: Times New Roman, Arial, and Courier \
  6. New.
  7. %define _fontdir %{_datadir}/fonts/TrueType-%{fontname}
  8. Name: TrueType-%{fontname}
  9. Summary: Fonts to replace commonly used Microsoft Windows fonts
  10. Summary(ja): 一般に使用されている Microsoft Windows のフォントを置換するためのフォント
  11. Version: 2.00.4
  12. Release: 1%{?_dist_release}
  13. License: OFL
  14. Group: User Interface/X
  15. URL: https://www.redhat.com/promo/fonts/
  16. # https://fedorahosted.org/liberation-fonts/
  17. Source0: %{fontname}-fonts-ttf-%{version}.tar.gz
  18. Requires: TrueType-%{fontname}-sans >= %{version}
  19. Requires: TrueType-%{fontname}-serif >= %{version}
  20. Requires: TrueType-%{fontname}-mono >= %{version}
  21. Requires: TrueType-%{fontname}-doc = %{version}
  22. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  23. BuildArch: noarch
  24. # for google-chrome-stable rpm package
  25. Provides: liberation-fonts
  26. %description
  27. %common_desc
  28. Meta-package of Liberation fonts which installs Sans, Serif, and Monospace
  29. families.
  30. %description -l ja
  31. liberation fonts はマイクロソフトのシステムでよく使用される3つのフォント、
  32. Times New Roman・Arial・Courier New を置換することが意図されている
  33. フォントです。
  34. このパッケージは Liberation フォントのメタパッケージです。
  35. Sans・Serif・Monospace の3書体をインストールします。
  36. %package sans
  37. Summary: liberation sans TrueType Fonts
  38. Summary(ja): liberation sans True Type フォント
  39. Group: User Interface/X
  40. Requires: TrueType-liberation-doc
  41. %description sans
  42. This package includes liberation sans TrueType fonts.
  43. %description -l ja sans
  44. このパッケージには liberation sans フォントが含まれています。
  45. %package serif
  46. Summary: liberation serif TrueType Fonts
  47. Summary(ja): liberation serif True Type フォント
  48. Group: User Interface/X
  49. Requires: TrueType-liberation-doc
  50. %description serif
  51. This package includes liberation serif TrueType fonts.
  52. %description -l ja serif
  53. このパッケージには liberation serif フォントが含まれています。
  54. %package mono
  55. Summary: liberation mono TrueType Fonts
  56. Summary(ja): liberation mono True Type フォント
  57. Group: User Interface/X
  58. Requires: TrueType-liberation-doc
  59. %description mono
  60. This package includes liberation mono TrueType fonts.
  61. %description -l ja mono
  62. このパッケージには liberation mono フォントが含まれています。
  63. %package doc
  64. Summary: liberation Font Documents
  65. Summary(ja): liberation フォントドキュメント
  66. Group: User Interface/X
  67. %description doc
  68. This package includes important documents for liberation fonts
  69. includes enduser license.
  70. %description -l ja doc
  71. このパッケージには liberation フォントのライセンスを含むドキュメント類が含まれています。
  72. %prep
  73. %setup -q -n %{fontname}-fonts-ttf-%{version}
  74. %clean
  75. if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
  76. rm -rf ${RPM_BUILD_ROOT}
  77. fi
  78. %build
  79. %install
  80. rm -rf %{buildroot}
  81. mkdir -p $RPM_BUILD_ROOT%{_fontdir}
  82. cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
  83. %post sans
  84. %__font_install_post %{_fontdir}
  85. %post serif
  86. %__font_install_post %{_fontdir}
  87. %post mono
  88. %__font_install_post %{_fontdir}
  89. %postun sans
  90. %__font_install_postun %{_fontdir}
  91. %postun serif
  92. %__font_install_postun %{_fontdir}
  93. %postun mono
  94. %__font_install_postun %{_fontdir}
  95. %files
  96. %files sans
  97. %{_fontdir}/LiberationSans*.ttf
  98. %files serif
  99. %{_fontdir}/LiberationSerif-*.ttf
  100. %files mono
  101. %{_fontdir}/LiberationMono-*.ttf
  102. %files doc
  103. %doc AUTHORS ChangeLog LICENSE README TODO
  104. %changelog
  105. * Fri Nov 30 2018 IWAI, Masaharu <iwaim@aquarius.beering.jp> 2.00.4-1
  106. - update to 2.00.4
  107. - Provides: liberation-fonts
  108. * Mon Jan 13 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.00.1-2
  109. - built with gcc-4.8
  110. * Fri Nov 02 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.00.1-1
  111. - new upstream release
  112. * Mon Jul 23 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.00.0-1
  113. - new upstream release
  114. - changed License: OFL
  115. - because based on croscore fonts version 1.21.0 (original license is OFL)
  116. * Wed Mar 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.2-1
  117. - new upstream release
  118. * Wed Sep 21 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.1-1
  119. - new upstream release
  120. * Wed Jun 01 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.07.0-1
  121. - new upstream release
  122. * Thu Jul 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.06.0.20100721-1
  123. - new upstream release
  124. - added TODO in %%doc
  125. * Wed Jun 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.3.20100621-1
  126. - new upstream release
  127. * Mon May 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.3.20100510-1
  128. - new upstream release
  129. - added Requires: TrueType-%{fontname}-doc = %{version}
  130. * Sun Dec 27 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.2.20091227-1
  131. - new upstream release
  132. * Wed Jul 22 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.1.20090721-1
  133. - new upstream release
  134. * Fri Jul 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.05.1.20090706-1
  135. - new upstream release
  136. * Tue Apr 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.04.93-1
  137. - initial build for VineSeed
  138. * Fri Jan 09 2009 Caius Chance <cchance@redhat.com> - 1.04.93-3.fc11
  139. - Resolves: rhbz#477410 (Convert to new font packaging guidelines.)
  140. * Tue Dec 09 2008 Caius Chance <cchance@redhat.com> - 1.04.93-2.fc11
  141. - Resolves: rhbz#474522 (Cent sign is not coressed in Sans & Mono.)
  142. * Wed Dec 03 2008 Caius Chance <cchance@redhat.com> - 1.04.93-1.fc11
  143. - Resolves: rhbz#473481
  144. (Blurriness of Greek letter m (U+03BC) in Liberation Sans Regular.)
  145. * Thu Jul 17 2008 Caius Chance <cchance@redhat.com> - 1.04.90-1.fc10
  146. - Resolves: rhbz#258592
  147. (Incorrect glyph points and missing hinting instructions for U+0079, U+03BC,
  148. U+0431, U+2010..2012.)
  149. * Thu Jul 17 2008 Caius Chance <cchance@redhat.com> - 1.04-1.fc10
  150. - Resolves: rhbz#455717 (Update sources to version 1.04.)
  151. - Improved .spec file.
  152. * Thu Jun 12 2008 Caius Chance <cchance@redhat.com> - 1.04-0.1.beta2.fc10
  153. - Updated source version to 1.04.beta2.
  154. - Removed License.txt and COPYING as already included in sources.
  155. * Thu Apr 10 2008 Caius Chance <cchance@redhat.com> - 1.03-1.fc9
  156. - Resolves: rhbz#251890 (Exchanged and incomplete glyphs.)
  157. - Repack source tarball and re-align source version number.
  158. * Mon Mar 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.02-2
  159. - correct license tag, license explanation added
  160. * Tue Mar 25 2008 Caius Chance <cchance@redhat.com> - 1.02-1.fc9
  161. - Resolves: rhbz#240525 (Alignment mismatch of dot accents.)
  162. * Wed Jan 16 2008 Caius Chance <cchance@redhat.com> - 1.01-1.fc9
  163. - Moved source tarball from cvs to separated storage.
  164. * Mon Jan 14 2008 Caius Chance <cchance@redhat.com> - 1.0-1.fc9
  165. - Resolves: rhbz#428596 (Liberation fonts need to be updated to latest font.)
  166. * Wed Nov 28 2007 Caius Chance <cchance@redhat.com> - 0.2-4.fc9
  167. - Resolves: rhbz#367791 (remove 59-liberation-fonts.conf)
  168. * Wed Sep 12 2007 Jens Petersen <petersen@redhat.com> - 0.2-3.fc8
  169. - add fontdir macro
  170. - create fonts.dir and fonts.scale (reported by Mark Alford, #245961)
  171. - add catalogue symlink
  172. * Wed Sep 12 2007 Jens Petersen <petersen@redhat.com> - 0.2-2.fc8
  173. - update license field to GPLv2
  174. * Thu Jun 14 2007 Caius Chance <cchance@redhat.com> 0.2-1.fc8
  175. - Updated new source tarball from upstream: '-3' (version 0.2).
  176. * Tue May 15 2007 Matthias Clasen <mclasen@redhat.com> 0.1-9
  177. - Bump revision
  178. * Tue May 15 2007 Matthias Clasen <mclasen@redhat.com> 0.1-8
  179. - Change the license tag to "GPL + font exception"
  180. * Mon May 14 2007 Matthias Clasen <mclasen@redhat.com> 0.1-7
  181. - Correct the source url
  182. * Mon May 14 2007 Matthias Clasen <mclasen@redhat.com> 0.1-6
  183. - Incorporate package review feedback
  184. * Fri May 11 2007 Matthias Clasen <mclasen@redhat.com> 0.1-5
  185. - Bring the package in sync with Fedora packaging standards
  186. * Wed Apr 25 2007 Meethune Bhowmick <bhowmick@redhat.com> 0.1-4
  187. - Require fontconfig package for post and postun
  188. * Tue Apr 24 2007 Meethune Bhowmick <bhowmick@redhat.com> 0.1-3
  189. - Bump version to fix issue in RHEL4 RHN
  190. * Thu Mar 29 2007 Richard Monk <rmonk@redhat.com> 0.1-2rhis
  191. - New license file
  192. * Thu Mar 29 2007 Richard Monk <rmonk@redhat.com> 0.1-1rhis
  193. - Inital packaging