############################################################### # # spec file for package ftgl (Version 2.04) # # Copyright (c) 2003 Achim Mueller, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # please send bugfixes or comments to address@hidden # ############################################################### Name: ftgl License: GNU General Public License (GPL) - all versions Group: System Environment/Libraries Packager: Summary: A library to use arbitrary fonts in their OpenGL Version: 2.07 Release: 1 Source: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build URL: http://homepages.paradise.net.nz/henryj/index.html %define prefix /usr/local %description FTGL is a free open source library to enable developers to use arbitrary fonts in their OpenGL (www.opengl.org) applications. Unlike other OpenGL font libraries FTGL uses standard font file formats so doesn't need a preprocessing step to convert the high quality font data into a lesser quality, proprietary format. FTGL uses the Freetype (www.freetype.org) font library to open and 'decode' the fonts. It then takes that output and stores it in a format most efficient for OpenGL rendering. Authors: -------- Henry Maddocks %prep %setup %build export CFLAGS="$RPM_OPT_FLAGS" cd unix ./configure --prefix=%{prefix} make %install cd unix [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; mkdir -p $RPM_BUILD_ROOT%{prefix} make prefix=$RPM_BUILD_ROOT%{prefix} install %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %files %defattr(-,root,root) %{prefix}/include/* %{prefix}/lib/* %changelog -n ftgl * Fri Oct 18 2003 - address@hidden - initial package (Version 2.04)