ttmkfdir-vl.spec 7.1 KB

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