2024-01-05 18:43:22 +01:00
|
|
|
Name: ttmkfdir
|
|
|
|
Version: 3.0.9
|
2024-01-05 18:43:23 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 18:43:22 +01:00
|
|
|
Summary: Utility used to create fonts.scale files for truetype fonts
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 18:43:23 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pravins.fedorapeople.org/ttmkfdir/
|
|
|
|
# This is a Red Hat maintained package, thus the source is only available from
|
|
|
|
# within their srpm.
|
2024-01-05 18:43:22 +01:00
|
|
|
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
|
2024-01-05 18:43:23 +01:00
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: libtool
|
2024-01-05 18:43:22 +01:00
|
|
|
|
|
|
|
%description
|
2024-01-05 18:43:23 +01:00
|
|
|
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
|
2024-01-05 18:43:22 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 18:43:23 +01:00
|
|
|
#%doc README
|
2024-01-05 18:43:22 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:43:23 +01:00
|
|
|
* Sat Oct 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.9-2mamba
|
|
|
|
- rebuilt with debug package and specfile fixes
|
|
|
|
|
2024-01-05 18:43:22 +01:00
|
|
|
* Mon Jan 24 2011 gil <puntogil@libero.it> 3.0.9-1mamba
|
|
|
|
- package created by autospec
|