
%define name MesaLib-3dfx
%define version 3.2
%define release 1
%define prefix /usr
Summary : 3-D graphics library with an API which is very similar to that of OpenGL
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
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
Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax or state machine, it is being used with authorization from Silicon Graphics, Inc.  However, the author makes no claim that Mesa is in any way a compatible replacement for OpenGL or associated with Silicon Graphics, Inc. Those who want a licensed implementation of OpenGL should contact a licensed vendor.

While Mesa is not a licensed OpenGL implementation, it is currently being tested with the OpenGL conformance tests.  For the current conformance status see the CONFORM file included in the Mesa distribution.

%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 INSTALL.GNU MESA_resize_buffers.spec MESA_window_pos.spec README.3DFX README.D3D README.QUAKE README.THREADS README.X11 RELNOTES-3.1 RELNOTES-3.2
/usr/include/GL/gl.h
/usr/include/GL/gl_mangle.h
/usr/include/GL/glu.h
/usr/include/GL/glu_mangle.h
/usr/include/GL/fxmesa.h
/usr/include/GL/osmesa.h
/usr/include/GL/svgamesa.h
/usr/include/GL/glx.h
/usr/include/GL/glx_mangle.h
/usr/include/GL/xmesa.h
/usr/include/GL/xmesa_x.h
/usr/include/GL/xmesa_xf86.h
/usr/lib/libGL.so.1.2.030200
/usr/lib/libGL.so.1
/usr/lib/libGL.so
/usr/lib/libGL.la
/usr/lib/libGLU.so.1.2.030200
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so
/usr/lib/libGLU.la
/usr/etc/mesa.conf

%changelog

* Wed May 31 2000 Georges Seguin crow@planete.net 
- First RPM
