Summary: A Free, Quality and Portable True Type Engine Name: freetype %define version 1.0 Version: %{version} Release: 1A Group: Utilities/System Source: ftp://ftp.physiol.med.tu-muenchen.de/pub/freetype/freetype-%{version}.tar.gz Copyright: BSD BuildRoot: /tmp/freetype-root %description The FreeType engine is a free and portable TrueType font rendering engine. It has been developed to provide TT support to a great variety of platforms and environments. %prep %setup %build CC='cc' CFLAGS="$RPM_OPT_FLAGS" ./configure make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/local/bin mkdir -p $RPM_BUILD_ROOT/usr/local/include mkdir -p $RPM_BUILD_ROOT/usr/local/lib mkdir -p $RPM_BUILD_ROOT/usr/local/share make install prefix="$RPM_BUILD_ROOT/usr/local" \ localedir="$RPM_BUILD_ROOT/usr/local/share/locale" \ gnulocaledir="$RPM_BUILD_ROOT/usr/local/share/locale" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %doc HOWTO README announce license.txt readme.1st %doc docs/* /usr/local/include/freetype.h /usr/local/lib/libttf.so.1.0.0 /usr/local/lib/libttf.so.1 /usr/local/lib/libttf.so /usr/local/lib/libttf.la /usr/local/lib/libttf.a /usr/local/bin/ftview /usr/local/bin/fttimer /usr/local/bin/ftlint /usr/local/bin/ftdump /usr/local/bin/ftzoom /usr/local/bin/ftstring /usr/local/bin/ftstrpnm /usr/local/bin/fterror /usr/local/share/locale/de/LC_MESSAGES/freetype.mo /usr/local/share/locale/fr/LC_MESSAGES/freetype.mo