urw-fonts-vl.spec 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. %define filippov_version 1.0.7pre22
  2. %define fontdir %{_datadir}/fonts/default/Type1
  3. # font manipulation macro
  4. %define __mkfontscale umask 133;%{_bindir}/mkfontscale
  5. %define __mkfontdir umask 133;%{_bindir}/mkfontdir
  6. %define __fccache umask 133;which fc-cache &> /dev/null && fc-cache
  7. Summary: Free versions of the 35 standard PostScript fonts.
  8. Summary(ja): 35書体のフリーな標準ポストスクリプトフォント
  9. Name: urw-fonts
  10. Version: 2.1
  11. Release: 7%{?_dist_release}
  12. Source0: ftp://ftp.gnome.ru/fonts/urw/release/urw-fonts-%{filippov_version}.tar.bz2
  13. Source1: NimbusRomNo9L-Medi.pfb
  14. Source2: NimbusRomNo9L-Medi.afm
  15. Source3: NimbusRomNo9L-MediItal.pfb
  16. SOurce4: NimbusRomNo9L-MediItal.afm
  17. URL: ftp://ftp.gnome.ru/fonts/urw/release/
  18. License: GPL, URW holds copyright
  19. Group: User Interface/X
  20. BuildRoot: %{_tmppath}/%{name}-root
  21. BuildArchitectures: noarch
  22. Requires(post,postun): xorg-x11-font-utils, fontconfig
  23. %description
  24. Free, good quality versions of the 35 standard PostScript(TM) fonts,
  25. donated under the GPL by URW++ Design and Development GmbH. The
  26. fonts.dir file font names match the original Adobe names of the fonts
  27. (e.g., Times, Helvetica, etc.).
  28. Install the urw-fonts package if you need free versions of standard
  29. PostScript fonts.
  30. %prep
  31. %setup -q -c
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. mkdir -p $RPM_BUILD_ROOT%{fontdir}
  35. install -m 0644 *.afm *.pfm *.pfb $RPM_BUILD_ROOT%{fontdir}/
  36. install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{fontdir}/n021004l.pfb
  37. install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{fontdir}/n021004l.afm
  38. install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{fontdir}/n021024l.pfb
  39. install -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{fontdir}/n021024l.afm
  40. # Touch ghosted files
  41. touch $RPM_BUILD_ROOT%{fontdir}/{fonts.{dir,scale,cache-1},encodings.dir}
  42. %post
  43. %{__mkfontscale} %{fontdir} ||:
  44. %{__mkfontdir} %{fontdir} ||:
  45. %{__fccache} %{_datadir}/fonts ||:
  46. %postun
  47. if [ "$1" = "0" ]; then
  48. %{__fccache} %{_datadir}/fonts ||:
  49. fi
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %files
  53. %defattr(0644,root,root,0755)
  54. %doc COPYING README README.tweaks TODO
  55. %dir %{fontdir}
  56. %ghost %verify(not md5 size mtime) %{fontdir}/fonts.dir
  57. %ghost %verify(not md5 size mtime) %{fontdir}/fonts.scale
  58. %ghost %verify(not md5 size mtime) %{fontdir}/fonts.cache-1
  59. %ghost %verify(not md5 size mtime) %{fontdir}/encodings.dir
  60. %{fontdir}/*.afm
  61. %{fontdir}/*.pfm
  62. %{fontdir}/*.pfb
  63. %changelog
  64. * Wed Apr 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1-7
  65. - spec in utf-8
  66. * Tue Apr 15 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1-6
  67. - update dependancies to xorg-x11-7.3
  68. - drop chkfontpath deps
  69. * Sun Feb 4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1-5vl4
  70. - updated Prereq: XOrg-font-utils XOrg-base-fonts
  71. * Mon Jan 19 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1-5vl3
  72. - remove unneeded dependency
  73. * Wed Dec 24 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.1-5vl2
  74. - modified __fccache macro
  75. * Sun Dec 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1-5vl1
  76. - merged with fedora 2.1-5.1
  77. * Sat Aug 18 2001 Toru Sagami <sagami@vinelinux.org>
  78. - 2.0-12vl1: was ported to Vine
  79. * Fri Aug 29 2003 Owen Taylor <otaylor@redhat.com> 2.1-5.0
  80. - Add MediItal variant with fixed weight and some of the
  81. missing baseline hints (for u,t)
  82. * Mon Jul 21 2003 Owen Taylor <otaylor@redhat.com> 2.1-4.1
  83. - Bump for rebuild
  84. * Mon Jul 21 2003 Owen Taylor <otaylor@redhat.com> 2.1-4.0
  85. - Replace the regular not italic bold font with the fixed copy
  86. * Wed Jul 9 2003 Owen Taylor <otaylor@redhat.com> 2.1-3.1
  87. - Bump for rebuild
  88. * Wed Jul 9 2003 Owen Taylor <otaylor@redhat.com> 2.1-3
  89. - Add some obvious missing hints that were resulting in
  90. very uneven baselines (#97271)
  91. * Fri Jun 20 2003 Than Ngo <than@redhat.com> 2.1-2
  92. - fix Weight in Nimbus Roman No 9 L (bug #97683)
  93. * Tue Jun 10 2003 Owen Taylor <otaylor@redhat.com> 2.1-1
  94. - Upgrade to upstream version 1.0.7pre22
  95. - Massive cleanups to fonts.dir/fonts.scale handling (use mkfontscale
  96. instead of fonts.scale from the package, etc.)
  97. * Wed Jan 29 2003 Than Ngo 2.0-29
  98. - rebuild
  99. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  100. - rebuilt
  101. * Wed Dec 11 2002 Tim Powers <timp@redhat.com> 2.0-27
  102. - rebuild
  103. * Fri Aug 30 2002 Alexander Larsson <alexl@redhat.com> 2.0-26
  104. - Call fc-cache from %%post, prereq fontconfig
  105. * Fri Jul 12 2002 Owen Taylor <otaylor@redhat.com>
  106. - Didn't revert back far enough to fix hints last time; try again.
  107. * Wed Jul 10 2002 Owen Taylor <otaylor@redhat.com>
  108. - Fix packaging error that lost most of the fonts
  109. * Mon Jul 8 2002 Owen Taylor <otaylor@redhat.com>
  110. - Go back to 1.0 URW/cyrillic version to avoid hinting problems
  111. * Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
  112. - Newer upstream version
  113. - Fix accidental revert of urw-fontspecific => adobe-fontspecific change
  114. - Tweak hints in "Nimbus Sans Regular L" a bit.
  115. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  116. - automated rebuild
  117. * Wed Jun 12 2002 Than Ngo <than@redhat.com> 2.0-19
  118. - update urw fonts
  119. - add missing ZapfDingbats font (bug #65101, #65523)
  120. - fixed metric troubles (bug #65522)
  121. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  122. - automated rebuild
  123. * Tue Feb 26 2002 Than Ngo <than@redhat.com> 2.0-17
  124. - rebuild
  125. * Tue Jan 22 2002 Preston Brown <pbrown@redhat.com>
  126. - use adobe-fontspecific instead of urw-fontspecific encoding name for
  127. symbol font. Fixes some java issues.
  128. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  129. - automated rebuild
  130. * Thu Dec 13 2001 Than Ngo <than@redhat.com> 2.0-14
  131. - fixed bug #57306
  132. * Wed Sep 26 2001 Than Ngo <than@redhat.com> 2.0-13
  133. - Added new fonts with cyrrilic glyphs
  134. from ftp://ftp.gnome.ru/fonts/urw/ (bug #52772)
  135. * Thu Nov 16 2000 Than Ngo <than@redhat.com>
  136. - zapf dingbats font works now, fixed (Bug #20352)
  137. * Mon Oct 16 2000 Than Ngo <than@redhat.com>
  138. - added font aliases (Bug #17586)
  139. - added missing fonts.alias
  140. * Wed Aug 30 2000 Preston Brown <pbrown@redhat.com>
  141. - enable latin2 encoding
  142. - alias the Nimbus/Courier font to be monospaced
  143. - include a Fontmap
  144. * Fri Jul 14 2000 Preston Brown <pbrown@redhat.com>
  145. - renamed fonts from URW names to Adobe names for better compatibility
  146. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  147. - automatic rebuild
  148. * Sun Jul 09 2000 Than Ngo <than@redhat.de>
  149. - update gnu-gs-fonts-std-6.0
  150. - fix Url
  151. * Sat May 27 2000 Ngo Than <than@redhat.de>
  152. - rebuild for 7.0
  153. * Wed Mar 08 2000 Preston Brown <pbrown@redhat.com>
  154. - argh! fonts.scale shouldn't have been symlinked to fonts.dir. fixed.
  155. * Mon Feb 28 2000 Preston Brown <pbrown@redhat.com>
  156. - noreplace the fonts.dir config file
  157. * Wed Feb 16 2000 Bill Nottingham <notting@redhat.com>
  158. - need .pfb files too
  159. * Mon Feb 14 2000 Preston Brown <pbrown@redhat.com>
  160. - new URW++ fonts that include extra glyphs.
  161. * Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
  162. - remove vendor tag.
  163. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  164. - auto rebuild in the new build environment (release 8)
  165. * Tue Mar 09 1999 Preston Brown <pbrown@redhat.com>
  166. - fixed up chkfontpath stuff
  167. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  168. - Injected new description and group.
  169. * Mon Feb 15 1999 Preston Brown <pbrown@redhat.com>
  170. - added missing fonts.dir, fonts.scale, %post, %postun using chkfontpath
  171. - changed foundary from Adobe (which was a lie) to URW.
  172. * Sat Feb 06 1999 Preston Brown <pbrown@redhat.com>
  173. - fonts now live in /usr/share/fonts/default/Type1
  174. * Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
  175. - eliminated section that adds to XF86Config
  176. - changed fonts to reside in /usr/share/fonts/default/URW, so they can be
  177. shared between X and Ghostscript (and other, future programs/applications)
  178. * Fri Sep 11 1998 Preston Brown <pbrown@redhat.com>
  179. - integrate adding fontdir to XF86Config
  180. * Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com>
  181. - eliminate %post output
  182. * Wed Jul 8 1998 Jeff Johnson <jbj@redhat.com>
  183. - create from Stefan Waldherr <swa@cs.cmu.edu> contrib package.