Name: ttmkfdir Version: 3.0.9 Release: 2mamba Summary: Utility used to create fonts.scale files for truetype fonts Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pravins.fedorapeople.org/ttmkfdir/ # This is a Red Hat maintained package, thus the source is only available from # within their 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: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: flex BuildRequires: libtool %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. %debug_package %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="%{optflags}" %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/ttmkfdir #%doc README %changelog * Sat Oct 21 2023 Silvan Calarco 3.0.9-2mamba - rebuilt with debug package and specfile fixes * Mon Jan 24 2011 gil 3.0.9-1mamba - package created by autospec