ttmkfdir-vl.spec 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. Summary: Utility to create fonts.scale files for truetype fonts
  2. Summary(ja): TrueType フォント用に fonts.scale ファイルを作成するためのユーティリティ
  3. Name: ttmkfdir
  4. Version: 3.0.9
  5. Release: 2%{?_dist_release}
  6. Source0: %{name}-%{version}.tar.bz2
  7. Patch: ttmkfdir-3.0.9-cpp.patch
  8. Patch1: ttmkfdir-3.0.9-zlib.patch
  9. Patch2: ttmkfdir-3.0.9-fix-freetype217.patch
  10. Patch3: ttmkfdir-3.0.9-namespace.patch
  11. Patch4: ttmkfdir-3.0.9-fix-crash.patch
  12. Patch5: ttmkfdir-3.0.9-warnings.patch
  13. Patch6: ttmkfdir-3.0.9-segfaults.patch
  14. Patch7: ttmkfdir-3.0.9-encoding-dir.patch
  15. Patch8: ttmkfdir-3.0.9-font-scale.patch
  16. Patch9: ttmkfdir-3.0.9-bug434301.patch
  17. License: GPL
  18. Group: Applications/System
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  20. BuildRequires: freetype2-devel >= 2.0
  21. BuildRequires: zlib-devel flex
  22. BuildRequires: libtool
  23. # ttmkfdir used to be in the following packages at one point
  24. Conflicts: freetype-utils <= 1.3.1-5vl5
  25. %description
  26. ttmkfdir is a utility used to create fonts.scale files in
  27. TrueType font directories in order to prepare them for use
  28. by the font server.
  29. %prep
  30. %setup -q
  31. %patch -p1
  32. %patch1 -p1
  33. %patch2 -p1
  34. %patch3 -p1
  35. %patch4 -p1
  36. %patch5 -p1
  37. %patch6 -p1
  38. %patch7 -p1
  39. %patch8 -p1
  40. %patch9 -p1
  41. %build
  42. make OPTFLAGS="$RPM_OPT_FLAGS"
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. %makeinstall DESTDIR=$RPM_BUILD_ROOT
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %files
  49. %defattr(-,root,root)
  50. %doc README
  51. %{_bindir}/ttmkfdir
  52. %changelog
  53. * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.9-2
  54. - spec in UTF-8
  55. * Wed Mar 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.0.9-1
  56. - initial build for Vine Linux
  57. * Wed Feb 27 2008 Lingning Zhang <lizhang@redhat.com> - 3.0.9-26
  58. - fix bug434301.
  59. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.0.9-25
  60. - Autorebuild for GCC 4.3
  61. * Thu Nov 30 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-24.fc7
  62. - add ttmkfdir-3.0.9-font-scale.patch to fix bug #209102.
  63. - Patch from Akira TAGOH.
  64. * Wed Oct 18 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-23
  65. - rebuild
  66. * Fri Sep 29 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-22
  67. - delete "%post" and "Requires(post)" in ttmkfdir.spec
  68. * Thu Sep 28 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-21
  69. - modify release
  70. * Wed Sep 27 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-20.4
  71. - modify "%post" and add "Requires(post)" in ttmkfdir.spec for fixing bug173591, bug207279, bug208122
  72. * Wed Sep 06 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-20.3
  73. - add "%post" in ttmkfdir.spec for fixing bug173591
  74. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.0.9-20.2.1
  75. - rebuild
  76. * Tue Jun 20 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-20.2
  77. - add "BuildRequires: libtool" in ttmkfdir.spec
  78. * Mon Jun 19 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-20.1
  79. - remove the modifying part of ttmkfdir-3.0.9/Makefile, recover the old Makefile
  80. - modify ttmkfdir-3.0.9-encoding-dir.patch about Makefile
  81. * Thu Jun 15 2006 Lingning Zhang <lizhang@redhat.com> - 3.0.9-20
  82. - add ttmkfdir-3.0.9-encoding-dir.patch to fix bug #173705
  83. - modify ttmkfdir-3.0.9/Makefile to delete the compiling flag of "ggdb"
  84. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0.9-19.2.1
  85. - bump again for double-long bug on ppc(64)
  86. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0.9-19.2
  87. - rebuilt for new gcc4.1 snapshot and glibc changes
  88. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  89. - rebuilt
  90. * Sat Oct 8 2005 LingNing Zhang <lizhang@redhat.com> -3.0.9-19
  91. - add ttmkfdir-3.0.9-segfaults.patch to fix bug #164969
  92. * Wed Aug 3 2005 Jens Petersen <petersen@redhat.com> - 3.0.9-17
  93. - replace ttmkfdir-3.0.9-defautl_enc_size.patch and
  94. ttmkfdir-3.0.9-crashplus.patch with ttmkfdir-3.0.9-fix-crash.patch
  95. to fix missing native encodings of fonts
  96. (Akira Tagoh, #143941)
  97. - buildrequire flex
  98. - add ttmkfdir-3.0.9-warnings.patch to silence most of compiler warnings
  99. * Sun Mar 20 2005 Yu Shao <yshao@redhat.com> 3.0.9-16
  100. - rebuild with GCC 4
  101. * Fri Sep 10 2004 Yu Shao <yshao@redhat.com> 3.0.9-14
  102. - bug #100560, requires zlib-devel rather than zlib
  103. * Tue Aug 17 2004 Elliot Lee <sopwith@redhat.com> 3.0.9-13
  104. - Follow-on fix for the issue detailed in #118713
  105. - Improve performance when checking if a font has a mapping present
  106. - Base font file selection on the magic at the start of the file, rather than the filename
  107. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  108. - rebuilt
  109. * Fri Mar 19 2004 Yu Shao <yshao@redhat.com> 3.0.9-11
  110. - set default encoding size to DEFAULT_SIZE, bug #118713
  111. * Fri Mar 12 2004 Yu Shao <yshao@redhat.com> 3.0.9-10
  112. - patch suggested from law@redhat.com not to use semicolon in GCC3.4, 3.5
  113. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  114. - rebuilt
  115. * Wed Feb 12 2004 Yu Shao <yshao@redhat.com> 3.0.9-8
  116. - patch for building package against freetype-2.1.7
  117. - from kanagawa jigorou (jigorou3@mail.goo.ne.jp) #114682
  118. * Mon Sep 15 2003 Yu Shao <yshao@redhat.com> 3.0.9-6
  119. - updated zlib patch from Nalin Dahyabhai #104331
  120. * Thu Aug 21 2003 Yu Shao <yshao@redhat.com> 3.0.9-4
  121. - added zlib build requirement, partly releated to #100560
  122. - other fixes
  123. * Thu Aug 7 2003 Elliot Lee <sopwith@redhat.com>
  124. - Fix compile error (cpp.patch)
  125. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  126. - rebuilt
  127. * Thu Jan 23 2003 Yu Shao <yshao@redhat.com> 3.0.9-1
  128. - added freetype-devel build requirement #82468
  129. * Mon Jan 20 2003 Yu Shao <yshao@redhat.com> 3.0.8-1
  130. - revert additional-entries to 0 #82125
  131. * Wed Jan 15 2003 Yu Shao <yshao@redhat.com> 3.0.7-1
  132. - set default value of additional-entries to 1
  133. * Mon Jan 13 2003 Yu Shao <yshao@redhat.com> 3.0.6-1
  134. - added iso8859-13 support from Nerijus Baliunas #77289
  135. - added README
  136. * Wed Jan 8 2003 Yu Shao <yshao@redhat.com> 3.0.5-1
  137. - encoding.l fix and ttc support patch
  138. - default read system encodings.dir instead of the one
  139. - in current directory
  140. * Wed Dec 18 2002 Yu Shao <yshao@redhat.com> 3.0.4-1
  141. - make ttmkfdir keep silent with FIRSTINDEX. #61769
  142. * Wed Dec 18 2002 Yu Shao <yshao@redhat.com> 3.0.3-1
  143. - Applied new patches to make ttmkfdir provide more infomation when meets
  144. - bad fonts
  145. * Mon Dec 9 2002 Mike A. Harris <mharris@devel.capslock.lan> 3.0.2-1
  146. - Changed the nonstandard RPM Group from System/Utilities to Applications/System
  147. - Added a new Makefile install target, and changed specfile to use makeinstall
  148. * Mon Dec 9 2002 Mike A. Harris <mharris@devel.capslock.lan> 3.0.1-1
  149. - Imported ttmkfdir into CVS on cvs.devel and applied all patches to CVS
  150. - Removed patches from spec file
  151. - Rewrote Makefile, now uses freetype-config to autodetect CFLAGS and libs,
  152. allowing a lot of spec file cleanups. Added new targets for tagging CVS,
  153. making tarball, and making srpm.
  154. * Mon Dec 2 2002 Mike A. Harris <mharris@devel.capslock.lan> 3.0.0-2
  155. - Added Conflicts for prior packages which contained ttmkfdir
  156. * Fri Nov 29 2002 Mike A. Harris <mharris@devel.capslock.lan> 3.0.0-1
  157. - Initial build. Basically just renamed our existing ttmkfdir to version
  158. 3.0.0 to differentiate it. It's the same old thing as before, but is
  159. likely going to move to CVS for easier development.