Accepting request 135254 from multimedia:libs

- Add explicit glu dependency 

- Update to latest git version
- Remove obsolete dont-strip.diff

OBS-URL: https://build.opensuse.org/request/show/135254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glew?expand=0&rev=28
This commit is contained in:
Stephan Kulow 2012-09-21 12:39:02 +00:00 committed by Git OBS Bridge
commit d54e8a4f6c
5 changed files with 20 additions and 50 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b92214aec969ccd305bd14af454ac34f146beb14f05f847095892c1199092039
size 206328
oid sha256:a053aae3cb66983fbf8f4895f66bdd723661bc32e07b75618e71ae373f09ce0a
size 182468

View File

@ -1,42 +0,0 @@
diff --git a/Makefile b/Makefile
index 568ae59..1462eab 100644
--- a/Makefile
+++ b/Makefile
@@ -182,10 +182,8 @@ install.lib: glew.lib
# runtime
ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
$(INSTALL) -d -m 0755 $(BINDIR)
- $(STRIP) -x lib/$(LIB.SHARED)
$(INSTALL) -m 0755 lib/$(LIB.SHARED) $(BINDIR)/
else
- $(STRIP) -x lib/$(LIB.SHARED)
$(INSTALL) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME)
endif
@@ -195,7 +193,6 @@ ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
else
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK)
endif
- $(STRIP) -x lib/$(LIB.STATIC)
$(INSTALL) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/
install.lib.mx: glew.lib.mx
@@ -203,10 +200,8 @@ install.lib.mx: glew.lib.mx
# runtime
ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
$(INSTALL) -d -m 0755 $(BINDIR)
- $(STRIP) -x lib/$(LIB.SHARED.MX)
$(INSTALL) -m 0755 lib/$(LIB.SHARED.MX) $(BINDIR)/
else
- $(STRIP) -x lib/$(LIB.SHARED.MX)
$(INSTALL) -m 0644 lib/$(LIB.SHARED.MX) $(LIBDIR)/
$(LN) $(LIB.SHARED.MX) $(LIBDIR)/$(LIB.SONAME.MX)
endif
@@ -216,7 +211,6 @@ ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
else
$(LN) $(LIB.SHARED.MX) $(LIBDIR)/$(LIB.DEVLNK.MX)
endif
- $(STRIP) -x lib/$(LIB.STATIC.MX)
$(INSTALL) -m 0644 lib/$(LIB.STATIC.MX) $(LIBDIR)/
install.bin: glew.bin

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Sep 18 13:40:47 UTC 2012 - idonmez@suse.com
- Add explicit glu dependency
-------------------------------------------------------------------
Tue Feb 21 18:38:08 UTC 2012 - johannesobermayr@gmx.de
- Update to latest git version
- Remove obsolete dont-strip.diff
-------------------------------------------------------------------
Mon Feb 20 17:28:12 CET 2012 - meissner@suse.de

View File

@ -17,7 +17,7 @@
Name: glew
Version: 1.7.0.git20111123.2145
Version: 1.7.0.git20120216.1819
Release: 0
Summary: OpenGL Extension Wrangler Library
License: BSD-3-Clause and GPL-2.0 and MIT
@ -26,9 +26,9 @@ Url: http://glew.sourceforge.net/
Source0: %name.tar.bz2
Source1: baselibs.conf
Patch: 0001-Add-glew.c-glewinfo.c-and-includes.patch.bz2
Patch1: dont-strip.diff
BuildRequires: Mesa-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xmu)
Requires: libGLEW1_7 >= %version
@ -57,6 +57,8 @@ Summary: Development files for glew
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: Mesa-devel
# glew.h includes GL/glu.h and glew.pc is incomplete --cartman
Requires: pkgconfig(glu)
%description devel
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
@ -67,11 +69,10 @@ functionality is exposed in a single header file.
%prep
%setup -q -n %name
%patch1 -p1
%patch -p1
%build
make %{?_smp_mflags} POPT="%{optflags}" LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=/bin/true
make %{?_smp_mflags} POPT="%{optflags}" LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=
%install
export PATH=$PWD:$PATH

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bc507537f55db0712bf296a2b54f48221d892f562f54f61c62ffa8551d278c9
size 119382
oid sha256:feaabc14f4bb846028ef0bb41b810c776b35a2e03d594ac333bc9327af0711b3
size 119576