ttmkfdir-vl.spec 7.6 KB

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