Name: ttmkfdir Version: 3.0.9 Release: 1mamba Summary: Utility used to create fonts.scale files for truetype fonts Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: gil ##URL: http://www.joerg-pommnitz.de/TrueType/xfsft.html URL: http://pravins.fedorapeople.org/ttmkfdir/ # Source: http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz only binary available # source from http://pravins.fedorapeople.org/ttmkfdir/ttmkfdir-3.0.9-28.fc10.src.rpm # This is a Red Hat maintained package which is specific to # our distribution. Thus the source is only available from # within this srpm. Source: ttmkfdir-%{version}.tar.bz2 Patch0: 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-fix-crash.patch Patch5: ttmkfdir-3.0.9-warnings.patch Patch6: ttmkfdir-3.0.9-segfaults.patch Patch7: ttmkfdir-3.0.9-mamba-encoding_dir.patch Patch8: ttmkfdir-3.0.9-font-scale.patch Patch9: ttmkfdir-3.0.9-bug434301.patch ##License: GPL, LGPL, MIT License: LGPL BuildRequires: flex BuildRequires: libtool ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description ttmkfdir is a tool to create valid and complete fonts.dir files from TrueType fonts. It is very useful when you plan to use a TrueType enabled font server that is based on the X11R6 sample implementation (xfsft for instance). Great care has been taken to correctly identify the encodings that a given TrueType font supports. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p0 %patch8 -p1 %patch9 -p1 sed -i "s|CXX=g++|CXX=%{__cxx}|" Makefile %build make OPTFLAGS=$RPM_OPT_FLAGS %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" make DESTDIR=%{buildroot} install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/ttmkfdir %doc README %changelog * Mon Jan 24 2011 gil 3.0.9-1mamba - package created by autospec