diff --git a/glew-1.5.1-src.tar.bz2 b/glew-1.5.1-src.tar.bz2 deleted file mode 100644 index 0e99e6e..0000000 --- a/glew-1.5.1-src.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a6ecd0e9bd15af51aae9c7bb7b59f840cf5071b144b28351efedee27313f5615 -size 265118 diff --git a/glew-1.5.6.tar.bz2 b/glew-1.5.6.tar.bz2 new file mode 100644 index 0000000..8b2f081 --- /dev/null +++ b/glew-1.5.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:beca0a57e8f96d27536a4b032bcae78b696981aae350e7231169316ecf224049 +size 341924 diff --git a/glew.changes b/glew.changes index 6a45ac1..19caf1a 100644 --- a/glew.changes +++ b/glew.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Thu Sep 9 17:54:40 CEST 2010 - dimstar@opensuse.org + +- Update to version 1.5.6: + + Support for OpenGL 4.1 + + Support many new extensions. +- Changes from version 1.5.5: + + Support new extensions + + Bug fixes: + - Compilation issue with GLX_SGI_video_sync + - OpenGL 4.0 double-precision uniform functions added + - Constness of glPointParameterfvARB and glPointParameterfvEXT + - Added glVertexAttribDivisor + - Compilation issue with Nvidia GLX headers +- Changes from version 1.5.4: + + Support for OpenGL 3.3 and 4.0 + + Support new extensions + + Bug fixes: + - Parameter constness fix for glPointParameteriv and + glPointParameterfv +- Changes from version 1.5.3: + + New extensions: + - GLX_INTEL_swap_event, GL_AMD_seamless_cubemap_per_texture & + GL_AMD_shader_stencil_export + + Bug fixes: + - Correct version detection for GL 3.1 and 3.2 + - Missing 3.1 enumerants + - Add glew.pc +- Changes from version 1.5.2: + + Support for OpenGL 3.1 and 3.2 + + Many new extensions + + Bug fixes: + - DOS line endings for windows .zip archives only. + - glTransformFeedbackVaryings arguments. + - Resource leak in glewinfo and visualinfo tools. + - WIN32_LEAN_AND_MEAN preprocessor pollution. + - Fixed version detection for GLEW_VERSION_2_1 and + GLEW_VERSION_3_0. + - MesaGLUT glut.h GLAPIENTRY dependency. + - glFramebufferTextureLayer correction. + - OSX compiler warnings resolved. + - Cygwin linking to opengl32 by default, rather than X11 OpenGL + - SnowLeopard (OSX 10.6) gl.h detection. + - Use $(STRIP) consistently. ++ Add pkg-config BuildRequires. + ------------------------------------------------------------------- Wed Aug 5 18:03:04 CEST 2009 - sbrabec@suse.cz diff --git a/glew.spec b/glew.spec index 1822dea..882b0cb 100644 --- a/glew.spec +++ b/glew.spec @@ -1,7 +1,7 @@ # -# spec file for package glew (Version 1.5.1) +# spec file for package glew (Version 1.5.6) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -15,18 +15,18 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: glew -BuildRequires: Mesa-devel -Url: http://glew.sourceforge.net/ -License: BSD 3-clause (or similar) ; GPL v2 only ; Other uncritical OpenSource License -Group: System/Libraries -Summary: OpenGL Extension Wrangler Library -Version: 1.5.1 +Version: 1.5.6 Release: 1 -Source: %{name}-%{version}-src.tar.bz2 +License: BSD3c(or similar) ; GPLv2 ; Other uncritical OpenSource License +Summary: OpenGL Extension Wrangler Library +Url: http://glew.sourceforge.net/ +Group: System/Libraries +Source: %{name}-%{version}.tar.bz2 +BuildRequires: Mesa-devel +BuildRequires: pkg-config Requires: libGLEW1_5 >= %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -37,17 +37,10 @@ run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. - - -Authors: --------- - Milan Ikits - Marcelo Magallon - %package -n libGLEW1_5 -License: BSD 3-clause (or similar) ; GPL v2 only ; Other uncritical OpenSource License -Group: System/Libraries +License: BSD3c(or similar) ; GPLv2 ; Other uncritical OpenSource License Summary: OpenGL Extension Wrangler Library +Group: System/Libraries %description -n libGLEW1_5 The OpenGL Extension Wrangler Library (GLEW) is a cross-platform @@ -56,18 +49,12 @@ run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. - - -Authors: --------- - Milan Ikits - Marcelo Magallon - %package devel -License: BSD 3-clause (or similar) ; GPL v2 only ; Other uncritical OpenSource License -Group: System/Libraries +License: BSD3c(or similar) ; GPLv2 ; Other uncritical OpenSource License Summary: OpenGL Extension Wrangler Library -Requires: %{name} = %{version} Mesa-devel +Group: System/Libraries +Requires: %{name} = %{version} +Requires: Mesa-devel %description devel The OpenGL Extension Wrangler Library (GLEW) is a cross-platform @@ -76,34 +63,21 @@ run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. - - -Authors: --------- - Milan Ikits - Marcelo Magallon - %prep -%setup -q -n %{name} -chmod -x doc/glew.txt -for FILE in config/* *Makefile* */*Makefile* ; do - tr -d '\r' <$FILE >$FILE~ - cat $FILE~ >$FILE - rm $FILE~ -done +%setup -q %build -make %{?jobs:-j%jobs} POPT="$RPM_OPT_FLAGS" LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=/bin/true +make %{?_smp_mflags} POPT="%{optflags}" LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=/bin/true %install ln -s /bin/true strip export PATH=$PWD:$PATH -make GLEW_DEST=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} LDFLAGS.EXTRA= STRIP=/bin/true install -chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.* +make GLEW_DEST=%{buildroot}%{_prefix} LIBDIR=%{buildroot}%{_libdir} LDFLAGS.EXTRA= STRIP=/bin/true install +chmod +x %{buildroot}%{_libdir}/*.so.* %{__rm} -f %{buildroot}%{_libdir}/*.*a %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %post -n libGLEW1_5 -p /sbin/ldconfig @@ -122,5 +96,6 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %{_includedir}/GL/*.h %{_libdir}/*.so +%{_libdir}/pkgconfig/glew.pc %changelog