ttmkfdir-vl.spec 7.5 KB

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