File MesaGLw.spec of Package MesaGLw
#
# spec file for package MesaGLw (Version 7.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: MesaGLw
BuildRequires: Mesa-devel openmotif-devel
Url: http://www.mesa3d.org
License: X11/MIT
Group: System/Libraries
Provides: Mesa:%{_libdir}/libGLw.so.1
AutoReqProv: on
Version: 7.2
Release: 1
Summary: Mesa Widget library
Source: MesaLib-%{version}.tar.bz2
Patch: GLw-motif.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Widget library for Mesa.
Authors:
--------
Brian Paul
%package devel
License: X11/MIT
Requires: MesaGLw = %version Mesa-devel xorg-x11-devel
Summary: Libraries, includes and more to develop MesaGLw applications
Group: System/Libraries
Provides: Mesa-devel:%{_libdir}/libGLw.so
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Brian Paul
%prep
%setup -q -n Mesa-%{version}
# make legal department happy (Bug #204110)
test -f src/mesa/drivers/directfb/idirectfbgl_mesa.c && exit 1
test -f progs/ggi/asc-view.c && exit 1
%patch
mkdir lib
%build
ln -s linux-dri configs/current
cd src/glw/
%{__make} %{?jobs:-j%jobs} OPT_FLAGS="$RPM_OPT_FLAGS" \
EXTRA_LIB_PATH="-L/usr/X11R6/lib64 -L/usr/X11R6/lib"
%install
mkdir -p $RPM_BUILD_ROOT%{_libdir} \
$RPM_BUILD_ROOT/usr/include/GL
cp -a lib/* $RPM_BUILD_ROOT%{_libdir}
install -m 644 src/glw/*.h $RPM_BUILD_ROOT/usr/include/GL
cp src/glw/README .
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README
%{_libdir}/libGLw.so.*
%files devel
%defattr(-,root,root)
/usr/include/GL/*.h
%{_libdir}/libGLw.so
%changelog
* Sat Sep 20 2008 sndirsch@suse.de
- update to Mesa 7.2 sources
* Wed Aug 27 2008 sndirsch@suse.de
- update to Mesa release 7.1
* Sat Apr 05 2008 sndirsch@suse.de
- update to Mesa bugfix release 7.0.3 (final)
* Wed Apr 02 2008 sndirsch@suse.de
- update to Mesa bugfix release 7.0.3 RC3
* Fri Feb 22 2008 sndirsch@suse.de
- update to Mesa bugfix release 7.0.3 RC2
* Fixed GLX indirect vertex array rendering bug (14197)
* Fixed crash when deleting framebuffer objects (bugs 13507,
14293)
* User-defined clip planes enabled for R300 (bug 9871)
* Fixed glBindTexture() crash upon bad target (bug 14514)
* Fixed potential crash in glDrawPixels(GL_DEPTH_COMPONENT) (bug
13915)
* Bad strings given to glProgramStringARB() didn't generate
GL_INVALID_OPERATION
* Fixed minor point rasterization regression (bug 11016)
* Wed Jan 23 2008 sndirsch@suse.de
- update to Mesa bugfix release 7.0.3 RC1
* Added missing glw.pc.in file to release tarball
* Fix GLUT/Fortran issues
* GLSL gl_FrontLightModelProduct.sceneColor variable wasn't
defined
* Fix crash upon GLSL variable array indexes (not yet supported)
* Two-sided stencil test didn't work in software rendering
* Fix two-sided lighting bugs/crashes (bug 13368)
* GLSL gl_FrontFacing didn't work properly
* glGetActiveUniform returned incorrect sizes (bug 13751)
* Fix several bugs relating to uniforms and attributes in GLSL
API (Bruce Merry, bug 13753)
* glTexImage3D(GL_PROXY_TEXTURE_3D) mis-set teximage depth field
* Wed Jan 02 2008 crrodriguez@suse.de
- fix library-without-ldconfig-* error
* Sat Nov 10 2007 sndirsch@suse.de
- updated to Mesa 7.0.2 (final)
* Thu Nov 01 2007 sndirsch@suse.de
- updated to Mesa 7.0.2 RC1
* Sat Aug 04 2007 sndirsch@suse.de
- updated to bugfix release 7.0
* Sat Jun 23 2007 sndirsch@suse.de
- updated to final release 7.0
* Thu Jun 21 2007 sndirsch@suse.de
- updated Mesa to release 7.0 RC1
* Mesa 7.0 is a stable, follow-on release to Mesa 6.5.3. The only
difference is bug fixes. The major version number bump is due
to OpenGL 2.1 API support.
* Tue May 01 2007 sndirsch@suse.de
- updated to Mesa 6.5.3
* Fri Apr 27 2007 sndirsch@suse.de
- back to Mesa 6.5.2 (Bug #269155/269042)
* Wed Apr 25 2007 sndirsch@suse.de
- 4th RC ready
* This fixes some breakage in RC3.
* Tue Apr 24 2007 sndirsch@suse.de
- 3rd release candidate
* updated Windows/VC8 project files.
* Sun Apr 22 2007 sndirsch@suse.de
- updated to Mesa 6.5.3rc2
* a number of bug fixes since the first RC
* Sat Apr 21 2007 sndirsch@suse.de
- updated to Mesa 6.5.3rc1
* Sun Dec 03 2006 sndirsch@suse.de
- updated to Mesa 6.5.2
* Mon Sep 18 2006 sndirsch@suse.de
- updated to Mesa 6.5.1
* Sat Sep 09 2006 sndirsch@suse.de
- removed two source files with imcompatible license from Mesa
tarball (Bug #204110)
- added a check to specfile to make sure that these will not be
reintroduced with the next Mesa update again (Bug #204110)
* Sat Aug 19 2006 sndirsch@suse.de
- fixed build for X.Org < 7
- .so/.so.1 files should be symlinks!
* Thu Aug 17 2006 sndirsch@suse.de
- created package