Accepting request 47642 from multimedia:libs
Copy from multimedia:libs/glew based on submit request 47642 from user vuntz OBS-URL: https://build.opensuse.org/request/show/47642 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glew?expand=0&rev=11
This commit is contained in:
parent
c6599d85e0
commit
64e6f4495e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a6ecd0e9bd15af51aae9c7bb7b59f840cf5071b144b28351efedee27313f5615
|
|
||||||
size 265118
|
|
3
glew-1.5.6.tar.bz2
Normal file
3
glew-1.5.6.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:beca0a57e8f96d27536a4b032bcae78b696981aae350e7231169316ecf224049
|
||||||
|
size 341924
|
46
glew.changes
46
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
|
Wed Aug 5 18:03:04 CEST 2009 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
69
glew.spec
69
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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,18 +15,18 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: glew
|
Name: glew
|
||||||
BuildRequires: Mesa-devel
|
Version: 1.5.6
|
||||||
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
|
|
||||||
Release: 1
|
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}
|
Requires: libGLEW1_5 >= %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
supported on the target platform. OpenGL core and extension
|
||||||
functionality is exposed in a single header file.
|
functionality is exposed in a single header file.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Milan Ikits
|
|
||||||
Marcelo Magallon
|
|
||||||
|
|
||||||
%package -n libGLEW1_5
|
%package -n libGLEW1_5
|
||||||
License: BSD 3-clause (or similar) ; GPL v2 only ; Other uncritical OpenSource License
|
License: BSD3c(or similar) ; GPLv2 ; Other uncritical OpenSource License
|
||||||
Group: System/Libraries
|
|
||||||
Summary: OpenGL Extension Wrangler Library
|
Summary: OpenGL Extension Wrangler Library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libGLEW1_5
|
%description -n libGLEW1_5
|
||||||
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
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
|
supported on the target platform. OpenGL core and extension
|
||||||
functionality is exposed in a single header file.
|
functionality is exposed in a single header file.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Milan Ikits
|
|
||||||
Marcelo Magallon
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: BSD 3-clause (or similar) ; GPL v2 only ; Other uncritical OpenSource License
|
License: BSD3c(or similar) ; GPLv2 ; Other uncritical OpenSource License
|
||||||
Group: System/Libraries
|
|
||||||
Summary: OpenGL Extension Wrangler Library
|
Summary: OpenGL Extension Wrangler Library
|
||||||
Requires: %{name} = %{version} Mesa-devel
|
Group: System/Libraries
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: Mesa-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
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
|
supported on the target platform. OpenGL core and extension
|
||||||
functionality is exposed in a single header file.
|
functionality is exposed in a single header file.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Milan Ikits
|
|
||||||
Marcelo Magallon
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q
|
||||||
chmod -x doc/glew.txt
|
|
||||||
for FILE in config/* *Makefile* */*Makefile* ; do
|
|
||||||
tr -d '\r' <$FILE >$FILE~
|
|
||||||
cat $FILE~ >$FILE
|
|
||||||
rm $FILE~
|
|
||||||
done
|
|
||||||
|
|
||||||
%build
|
%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
|
%install
|
||||||
ln -s /bin/true strip
|
ln -s /bin/true strip
|
||||||
export PATH=$PWD:$PATH
|
export PATH=$PWD:$PATH
|
||||||
make GLEW_DEST=$RPM_BUILD_ROOT%{_prefix} LIBDIR=$RPM_BUILD_ROOT%{_libdir} LDFLAGS.EXTRA= STRIP=/bin/true install
|
make GLEW_DEST=%{buildroot}%{_prefix} LIBDIR=%{buildroot}%{_libdir} LDFLAGS.EXTRA= STRIP=/bin/true install
|
||||||
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
chmod +x %{buildroot}%{_libdir}/*.so.*
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/*.*a
|
%{__rm} -f %{buildroot}%{_libdir}/*.*a
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post -n libGLEW1_5 -p /sbin/ldconfig
|
%post -n libGLEW1_5 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -122,5 +96,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/GL/*.h
|
%{_includedir}/GL/*.h
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/glew.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user