Summary: Utility used to create fonts.scale files for truetype fonts Name: ttmkfdir Version: 3.0.9 Release: 16a Source0: %{name}-%{version}.tar.bz2 Patch: ttmkfdir-3.0.9-cpp.patch Patch1: ttmkfdir-3.0.9-zlib.patch Patch2: ttmkfdir-3.0.9-fix-freetype217.patch Patch3: ttmkfdir-3.0.9-namespace.patch Patch4: ttmkfdir-3.0.9-defautl_enc_size.patch Patch5: ttmkfdir-3.0.9-crashplus.patch License: GPL Group: Applications/System BuildRoot: %{_tmppath}/%{name}-root BuildRequires: freetype-devel >= 2.0 BuildRequires: zlib-devel # ttmkfdir used to be in the following packages at one point Conflicts: XFree86-font-utils < 4.2.99.2-0.20021126.3 Conflicts: freetype < 2.0.6-3 %description ttmkfdir is a utility which is used to create fonts.scale files in directories full of TrueType fonts in order to prepare them for use by the font server. %prep %setup -q %patch -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %ifos darwin sed -e 's;libtool;glibtool;' Makefile > Makefile.macosx mv Makefile.macosx Makefile %endif %build make OPTFLAGS="$RPM_OPT_FLAGS" PREFIX=%{_prefix} %install rm -rf $RPM_BUILD_ROOT %makeinstall DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} %clean rm -rf $RPM_BUILD_ROOT %files %ifnos darwin %defattr(-,root,root) %else %defattr(-,root,wheel) %endif %doc README %{_bindir}/ttmkfdir %changelog * Sun May 22 2005 Keisuke Fujii 3.0.9-16a - 1st build on MacOS X 10.4 * Sun Mar 20 2005 Yu Shao 3.0.9-16 - rebuild with GCC 4 * Fri Sep 10 2004 Yu Shao 3.0.9-14 - bug #100560, requires zlib-devel rather than zlib * Tue Aug 17 2004 Elliot Lee 3.0.9-13 - Follow-on fix for the issue detailed in #118713 - Improve performance when checking if a font has a mapping present - Base font file selection on the magic at the start of the file, rather than the filename * Tue Jun 15 2004 Elliot Lee - rebuilt * Fri Mar 19 2004 Yu Shao 3.0.9-11 - set default encoding size to DEFAULT_SIZE, bug #118713 * Fri Mar 12 2004 Yu Shao 3.0.9-10 - patch suggested from law@redhat.com not to use semicolon in GCC3.4, 3.5 * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Feb 12 2004 Yu Shao 3.0.9-8 - patch for building package against freetype-2.1.7 - from kanagawa jigorou (jigorou3@mail.goo.ne.jp) #114682 * Mon Sep 15 2003 Yu Shao 3.0.9-6 - updated zlib patch from Nalin Dahyabhai #104331 * Thu Aug 21 2003 Yu Shao 3.0.9-4 - added zlib build requirement, partly releated to #100560 - other fixes * Thu Aug 7 2003 Elliot Lee - Fix compile error (cpp.patch) * Wed Jun 04 2003 Elliot Lee - rebuilt * Thu Jan 23 2003 Yu Shao 3.0.9-1 - added freetype-devel build requirement #82468 * Mon Jan 20 2003 Yu Shao 3.0.8-1 - revert additional-entries to 0 #82125 * Wed Jan 15 2003 Yu Shao 3.0.7-1 - set default value of additional-entries to 1 * Mon Jan 13 2003 Yu Shao 3.0.6-1 - added iso8859-13 support from Nerijus Baliunas #77289 - added README * Wed Jan 8 2003 Yu Shao 3.0.5-1 - encoding.l fix and ttc support patch - default read system encodings.dir instead of the one - in current directory * Wed Dec 18 2002 Yu Shao 3.0.4-1 - make ttmkfdir keep silent with FIRSTINDEX. #61769 * Wed Dec 18 2002 Yu Shao 3.0.3-1 - Applied new patches to make ttmkfdir provide more infomation when meets - bad fonts * Mon Dec 9 2002 Mike A. Harris 3.0.2-1 - Changed the nonstandard RPM Group from System/Utilities to Applications/System - Added a new Makefile install target, and changed specfile to use makeinstall * Mon Dec 9 2002 Mike A. Harris 3.0.1-1 - Imported ttmkfdir into CVS on cvs.devel and applied all patches to CVS - Removed patches from spec file - Rewrote Makefile, now uses freetype-config to autodetect CFLAGS and libs, allowing a lot of spec file cleanups. Added new targets for tagging CVS, making tarball, and making srpm. * Mon Dec 2 2002 Mike A. Harris 3.0.0-2 - Added Conflicts for prior packages which contained ttmkfdir * Fri Nov 29 2002 Mike A. Harris 3.0.0-1 - Initial build. Basically just renamed our existing ttmkfdir to version 3.0.0 to differentiate it. It's the same old thing as before, but is likely going to move to CVS for easier development.