
%define name plib
%define version 1.2.0
%define release 1
%define prefix /usr
Summary : The PLIB Portable Interactive Applications Library
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: LGPL
Distribution : Build for Red Hat 6.2
Vendor: Boubouline Software
Packager: Okki <crow@planete.net>
URL: http://okki.lefute.com
Group: Development/Libraries
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
The contents of PLIB are:
   
GUI Widgets Picoscopic User Interface Library (PUI)
A fully portable GUI interface that needs only GLUT, OpenGL and C++.
Sound Replay Sound Library (SL) A fully portable Audio driver suited to C++,
GLUT and realtime applications that need low latency. Includes a simple
'MOD' music loader/player. Matrix/Vector math Simple Geometry Library(SG)
A set of matrix and vector math functions that was specifically written
to simplify the writing of efficient OpenGL programs. You need to include
this code into any SSG applications. Scene Graph Simple Scene Graph Library (SSG)
A scene graph library layered on top of OpenGL. Joystick JS Supports
more Joysticks with more axes and buttons than GLUT. Fonts/Text Fonts'n'Text Library
(FNT) Supports text output in OpenGL using texture mapped fonts. These are much faster
to render than GLUT's fonts.

%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 AUTHORS CHANGES COPYING ChangeLog INSTALL LICENSE NEWS NOTICE README
/usr/include/plib/ul.h
/usr/include/plib/js.h
/usr/include/plib/sl.h
/usr/include/plib/slPortability.h
/usr/include/plib/sm.h
/usr/include/plib/slMODPrivate.h
/usr/include/plib/slMODfile.h
/usr/include/plib/pu.h
/usr/include/plib/sg.h
/usr/include/plib/ssg.h
/usr/include/plib/ssgKeyFlier.h
/usr/include/plib/fnt.h
/usr/include/plib/fntLocal.h
/usr/lib/libplibsl.a
/usr/lib/libplibsm.a
/usr/lib/libplibpu.a
/usr/lib/libplibsg.a
/usr/lib/libplibssg.a
/usr/lib/libplibfnt.a

%changelog

* Sat Jul 01 2000 Georges Seguin crow@planete.net 
- Plib 1.2.0

* Fri Jun 23 2000 Georges Seguin crow@planete.net 
- First RPM
