Accepting request 509662 from home:scarabeus_iv:branches:multimedia:libs

- Version update to 2.0 release:
  * EGL support added
  * Bunch of new GL extensions
  * Forward context support added
  * OSMesa support added

- Update to 1.13.0
- Version bump to 1.12.0
- Version bump to 1.11.0:
- Upgrade to upstream 1.10.0

OBS-URL: https://build.opensuse.org/request/show/509662
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/glew?expand=0&rev=51
This commit is contained in:
Tomáš Chvátal 2017-07-12 09:09:10 +00:00 committed by Git OBS Bridge
parent 87e480798e
commit 654c66c237
5 changed files with 26 additions and 26 deletions

View File

@ -1 +1 @@
libGLEW1_13
libGLEW2_0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7
size 616070

3
glew-2.0.0.tgz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c572c30a4e64689c342ba1624130ac98936d7af90c3103f9ce12b8a0c5736764
size 667340

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jul 12 09:01:07 UTC 2017 - tchvatal@suse.com
- Version update to 2.0 release:
* EGL support added
* Bunch of new GL extensions
* Forward context support added
* OSMesa support added
-------------------------------------------------------------------
Tue Sep 22 18:47:35 UTC 2015 - jengelh@inai.de
@ -7,7 +16,7 @@ Tue Sep 22 18:47:35 UTC 2015 - jengelh@inai.de
-------------------------------------------------------------------
Wed Sep 2 12:09:50 UTC 2015 - mpluskal@suse.com
- Update to 0.13.0
- Update to 1.13.0
* Enhancements:
+ glxewInit, wglewInit
+ glewinfo adds support for -version, -profile
@ -47,7 +56,7 @@ Wed Jan 28 13:32:21 UTC 2015 - mimi.vx@gmail.com
-------------------------------------------------------------------
Wed Jan 28 10:59:03 UTC 2015 - mimi.vx@gmail.com
- Version bump to 0.12.0
- Version bump to 1.12.0
* support for new extensions
*bugixes:
.pc -I flags inconsistent with *.h includes
@ -59,7 +68,7 @@ Wed Jan 28 10:59:03 UTC 2015 - mimi.vx@gmail.com
-------------------------------------------------------------------
Fri Dec 5 08:33:45 UTC 2014 - tchvatal@suse.com
- Version bump to 0.11.0:
- Version bump to 1.11.0:
* support for OpenGL 4.5
- Removed patches no longer needed:
* glew-1.10.0-destdir.patch
@ -78,7 +87,7 @@ Mon Sep 1 13:34:02 CEST 2014 - sbrabec@suse.cz
-------------------------------------------------------------------
Mon May 26 19:44:23 UTC 2014 - fstrba@suse.com
- Upgrade to upstream 0.10.0
- Upgrade to upstream 1.10.0
- New patch:
* glew-1.10.0-destdir.patch: Sanitize Makefile
- Add DESTDIR option to avoid buildroot in .pc files

View File

@ -1,7 +1,7 @@
#
# spec file for package glew
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,24 +17,23 @@
# If you change so_ver, then you have to update baselibs.conf as well.
%define so_ver 1_13
%define so_ver 2_0
Name: glew
Version: 1.13.0
Version: 2.0.0
Release: 0
Summary: OpenGL Extension Wrangler Library
License: BSD-3-Clause and GPL-2.0 and MIT
License: BSD-3-Clause AND GPL-2.0 AND MIT
Group: System/Libraries
Url: http://glew.sourceforge.net/
Source0: http://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz
Source1: baselibs.conf
Source2: %{name}.rpmlintrc
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xmu)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
@ -58,14 +57,10 @@ functionality is exposed in a single header file.
Summary: Development files for glew
Group: Development/Libraries/C and C++
Requires: libGLEW%{so_ver} = %{version}
# X11/Xmd.h
Requires: xorg-x11-proto-devel
Requires: pkgconfig(x11)
Requires: pkgconfig(xproto)
# Don't require GLU, because there is GLEW_NO_GLU option
Recommends: pkgconfig(glu)
%if 0%{?suse_version} >= 1220
# X11/Xlib.h X11/Xutil.h
Requires: pkgconfig(x11)
%endif
%description devel
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
@ -81,27 +76,23 @@ functionality is exposed in a single header file.
make %{?_smp_mflags} POPT="%{optflags}" GLEW_DEST=%{_prefix} LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=
%install
make DESTDIR=%{buildroot} GLEW_DEST=%{_prefix} LIBDIR=%{_libdir} install.all
make DESTDIR=%{buildroot} GLEW_DEST=%{_prefix} LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig install.all
chmod +x %{buildroot}%{_libdir}/*.so.*
rm %{buildroot}%{_libdir}/*.a
%post -n libGLEW%{so_ver} -p /sbin/ldconfig
%postun -n libGLEW%{so_ver} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc doc/*
%{_bindir}/*info
%files -n libGLEW%{so_ver}
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/GL/
%{_libdir}/*.so
%{_libdir}/pkgconfig/glew*.pc
%{_libdir}/pkgconfig/glew.pc
%changelog