
%define name SDL_ttf
%define version 1.2.1
%define release 1
%define prefix /usr
Summary : A part of the SDL libraries.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Distribution : Build for Red Hat 6.2
Vendor: Boubouline Software
Packager: Okki <crow@planete.net>
URL: http://okki.lefute.com
Group: System Environment/Libraries
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
This library is a wrapper around the excellent FreeType 1.2 library,
available at: http://www.freetype.org/

This library allows you to use TrueType fonts to render text in SDL
applications.

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/*

%files
%defattr (-,root,root)
%doc CHANGES COPYING README
/usr/lib/libSDL_ttf-1.2.so.0.0.1
/usr/lib/libSDL_ttf-1.2.so.0
/usr/lib/libSDL_ttf.so
/usr/lib/libSDL_ttf.la
/usr/lib/libSDL_ttf.a
/usr/bin/showfont
/usr/include/SDL/SDL_ttf.h

%changelog

* Mon Jul 03 2000 Georges Seguin crow@planete.net 
- SDL_ttf 1.2.1

* Wed Jun 14 2000 Georges Seguin crow@planete.net 
- First RPM
