Summary: A free and portable TrueType font rendering engine. Name: freetype Version: 2.0.1 Release: 4 License: BSD-like Group: System Environment/Libraries Source: freetype-%{version}.tar.bz2 %define ft1 freetype-pre1.4 Source1: %{ft1}.tar.bz2 Source2: ttmkfdir2.tar.bz2 Patch0: ttmkfdir-libtool.patch Patch1: ttmkfdir-foundrynames.patch Buildroot: %{_tmppath}/%{name}-root URL: http://freetype.sourceforge.net %description The FreeType engine is a free and portable TrueType font rendering engine, developed to provide TrueType support for a variety of platforms and environments. FreeType is a library which can open and manages font files as well as efficiently load, hint and render individual glyphs. FreeType is not a font server or a complete text-rendering library. %package utils Summary: A free and portable TrueType font rendering engine. Group: System Environment/Libraries %description utils The FreeType engine is a free and portable TrueType font rendering engine, developed to provide TrueType support for a variety of platforms and environments. FreeType is a library which can open and manages font files as well as efficiently load, hint and render individual glyphs. FreeType is not a font server or a complete text-rendering library. %package devel Summary: A free and portable TrueType font rendering engine. Group: System Environment/Libraries %description devel The FreeType engine is a free and portable TrueType font rendering engine, developed to provide TrueType support for a variety of platforms and environments. FreeType is a library which can open and manages font files as well as efficiently load, hint and render individual glyphs. FreeType is not a font server or a complete text-rendering library. %prep %setup -q -a 1 -a 2 %patch0 -p1 -b .libtool %patch1 -p1 -b .foundrynames %build export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" make setup CFG="--prefix=/usr" make cd %{ft1} %configure --disable-debug \ --enable-static --enable-shared \ --with-locale-dir=%{_datadir}/locale make cd .. make -C ttmkfdir2 clean make -C ttmkfdir2 #DEBUG="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT cd %{ft1} %makeinstall gnulocaledir=$RPM_BUILD_ROOT%{_datadir}/locale cd .. %makeinstall gnulocaledir=$RPM_BUILD_ROOT%{_datadir}/locale install -m 755 ttmkfdir2/.libs/ttmkfdir $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT #$RPM_BUILD_DIR/%{name}-%{version} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/ttmkfdir %{_libdir}/libttf.so.* %{_libdir}/libfreetype.so.* %lang(de) %{_datadir}/locale/de/* %lang(fr) %{_datadir}/locale/fr/* %lang(cs) %{_datadir}/locale/cs/* %lang(nl) %{_datadir}/locale/nl/* %lang(es) %{_datadir}/locale/es/* %doc %{ft1}/README %{ft1}/announce docs %files utils %defattr(-,root,root) %{_bindir}/ftdump %{_bindir}/fterror %{_bindir}/ftlint %{_bindir}/ftmetric %{_bindir}/ftsbit %{_bindir}/ftstrpnm %files devel %defattr(-,root,root) %dir %{_includedir}/freetype %dir %{_includedir}/freetype2 %{_includedir}/freetype/* %{_includedir}/freetype2/* %{_libdir}/libttf.la %{_libdir}/libttf.so %{_libdir}/libttf.a %{_libdir}/libfreetype.a %{_libdir}/libfreetype.la %{_libdir}/libfreetype.so %{_bindir}/freetype-config %changelog * Sat Jan 20 2001 Bernhard Rosenkraenzer - Build ttmkfdir with -O0, workaround for Bug #24253 * Fri Jan 19 2001 Nalin Dahyabhai - libtool is used to build libttf, so use libtool to link ttmkfdir with it - fixup a paths for a couple of missing docs * Thu Jan 11 2001 Bernhard Rosenkraenzer - Update ttmkfdir * Wed Dec 27 2000 Bernhard Rosenkraenzer - Update to 2.0.1 and 1.4 - Mark locale files as such * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 12 2000 Preston Brown - move .la file to devel pkg - FHS paths * Thu Feb 17 2000 Preston Brown - revert spaces patch, fix up some foundry names to match X ones * Mon Feb 07 2000 Nalin Dahyabhai - add defattr, ftmetric, ftsbit, ftstrtto per bug #9174 * Wed Feb 02 2000 Cristian Gafton - fix description and summary * Wed Jan 12 2000 Preston Brown - make ttmkfdir replace spaces in family names with underscores (#7613) * Tue Jan 11 2000 Bernhard Rosenkränzer - 1.3.1 - handle RPM_OPT_FLAGS * Wed Nov 10 1999 Preston Brown - fix a path for ttmkfdir Makefile * Thu Aug 19 1999 Preston Brown - newer ttmkfdir that works better, moved ttmkfdir to /usr/bin from /usr/sbin - freetype utilities moved to subpkg, X dependency removed from main pkg - libttf.so symlink moved to devel pkg * Mon Mar 22 1999 Preston Brown - strip binaries * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 5) * Thu Mar 18 1999 Cristian Gafton - fixed the %doc file list * Wed Feb 24 1999 Preston Brown - Injected new description and group. * Mon Feb 15 1999 Preston Brown - added ttmkfdir * Tue Feb 02 1999 Preston Brown - update to 1.2 * Thu Jan 07 1999 Cristian Gafton - call libtoolize to sanitize config.sub and get ARM support - dispoze of the patch (not necessary anymore) * Wed Oct 21 1998 Preston Brown - post/postun sections for ldconfig action. * Tue Oct 20 1998 Preston Brown - initial RPM, includes normal and development packages.