diff --git a/baselibs.conf b/baselibs.conf index c9240bd..fc58f43 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libGLEW1_13 +libGLEW2_0 diff --git a/glew-1.13.0.tgz b/glew-1.13.0.tgz deleted file mode 100644 index aa3b632..0000000 --- a/glew-1.13.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa25dc48ed84b0b64b8d41cdd42c8f40f149c37fa2ffa39cd97f42c78d128bc7 -size 616070 diff --git a/glew-2.0.0.tgz b/glew-2.0.0.tgz new file mode 100644 index 0000000..23d8a8c --- /dev/null +++ b/glew-2.0.0.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c572c30a4e64689c342ba1624130ac98936d7af90c3103f9ce12b8a0c5736764 +size 667340 diff --git a/glew.changes b/glew.changes index fd4c55a..b065915 100644 --- a/glew.changes +++ b/glew.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Jul 12 11:15:21 UTC 2017 - jengelh@inai.de + +- RPM group fix. + +------------------------------------------------------------------- +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 +21,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 +61,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 +73,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 +92,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 diff --git a/glew.spec b/glew.spec index 890ceb8..7a6ac25 100644 --- a/glew.spec +++ b/glew.spec @@ -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 -Group: System/Libraries +License: BSD-3-Clause AND GPL-2.0 AND MIT +Group: Development/Libraries/C and C++ 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