Accepting request 91193 from home:jobermayr

- Update to latest git master and merge es branch for supporting more extensions
- Update extensions

OBS-URL: https://build.opensuse.org/request/show/91193
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/glew?expand=0&rev=19
This commit is contained in:
Dave Plater 2011-11-13 15:18:26 +00:00 committed by Git OBS Bridge
parent 32d057ff53
commit 5b02f8eb5b
6 changed files with 25 additions and 14 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c567405005b68c29e88c539c53089c9604e10edc79b4f386f05fe09017f25f6e
size 178618
oid sha256:9deb2e9dbbcafaacf0faee2da0c149060b31dd1358dd33cca8f191a6aa4a55db
size 238046

View File

@ -1,2 +1,2 @@
glew
libGLEW1_6
libGLEW1_7

3
es_branch.diff.bz2 Normal file
View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Nov 13 14:16:19 UTC 2011 - johannesobermayr@gmx.de
- Update to 1.7.0 and latest git
- Merge es branch
-------------------------------------------------------------------
Thu Sep 29 13:20:07 UTC 2011 - coolo@suse.com

View File

@ -18,8 +18,8 @@
Name: glew
Version: 1.6.0
Release: 3
Version: 1.7.0.git20111104.1441
Release: 1
License: BSD3c and GPLv2 and MIT
Summary: OpenGL Extension Wrangler Library
Url: http://glew.sourceforge.net/
@ -28,9 +28,10 @@ Source0: %name.tar.bz2
Source1: baselibs.conf
Patch: 0001-Add-glew.c-glewinfo.c-and-includes.patch.bz2
Patch1: dont-strip.diff
Patch2: es_branch.diff.bz2
BuildRequires: Mesa-devel
BuildRequires: pkg-config
Requires: libGLEW1_6 >= %version
Requires: libGLEW1_7 >= %version
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -40,11 +41,11 @@ 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.
%package -n libGLEW1_6
%package -n libGLEW1_7
Summary: OpenGL Extension Wrangler Library
Group: System/Libraries
%description -n libGLEW1_6
%description -n libGLEW1_7
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
open-source C/C++ extension loading library. GLEW provides efficient
run-time mechanisms for determining which OpenGL extensions are
@ -66,8 +67,9 @@ functionality is exposed in a single header file.
%prep
%setup -q -n %name
%patch -p1
%patch2 -p1
%patch1 -p1
%patch -p1
%build
make %{?_smp_mflags} POPT="%{optflags}" LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=/bin/true
@ -81,16 +83,16 @@ chmod +x %{buildroot}%{_libdir}/*.so.*
%clean
rm -rf %{buildroot}
%post -n libGLEW1_6 -p /sbin/ldconfig
%post -n libGLEW1_7 -p /sbin/ldconfig
%postun -n libGLEW1_6 -p /sbin/ldconfig
%postun -n libGLEW1_7 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc doc/*
%{_bindir}/*info
%files -n libGLEW1_6
%files -n libGLEW1_7
%defattr(-,root,root)
%{_libdir}/*.so.*

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02491713be4b64fb1eb083d995b2305eaf206c7e8cff1e5ec445215f790c0e35
size 117854
oid sha256:f21459dda45a63635dd4a0f25ae434aa1ef6fb096172c97aa46d868b12393dff
size 119351