Accepting request 136487 from multimedia:libs
update to latest stable 1.9.0 (forwarded request 135748 from etamPL) OBS-URL: https://build.opensuse.org/request/show/136487 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glew?expand=0&rev=29
This commit is contained in:
commit
22b2203e32
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a053aae3cb66983fbf8f4895f66bdd723661bc32e07b75618e71ae373f09ce0a
|
|
||||||
size 182468
|
|
@ -1,2 +1,3 @@
|
|||||||
glew
|
glew
|
||||||
libGLEW1_7
|
glew-devel
|
||||||
|
libGLEW1_9
|
||||||
|
3
glew-1.9.0.tgz
Normal file
3
glew-1.9.0.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9b36530e414c95d6624be9d6815a5be1531d1986300ae5903f16977ab8aeb787
|
||||||
|
size 544440
|
11
glew.changes
11
glew.changes
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 24 22:46:35 UTC 2012 - adam@mizerski.pl
|
||||||
|
|
||||||
|
- update to latest stable 1.9.0
|
||||||
|
- removed 0001-Add-glew.c-glewinfo.c-and-includes.patch.bz2.
|
||||||
|
These files are included in tarball.
|
||||||
|
- Changed explicit glu dependency, to recommendation. There is
|
||||||
|
GLEW_NO_GLU option.
|
||||||
|
- added glew-devel to baselibs.conf
|
||||||
|
- spec cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 18 13:40:47 UTC 2012 - idonmez@suse.com
|
Tue Sep 18 13:40:47 UTC 2012 - idonmez@suse.com
|
||||||
|
|
||||||
|
2
glew.rpmlintrc
Normal file
2
glew.rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# because it's called libGLEW*
|
||||||
|
addFilter("no-dependency-on glew.*/glew-libs/libglew.*")
|
45
glew.spec
45
glew.spec
@ -16,22 +16,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define so_ver 1_9
|
||||||
|
|
||||||
Name: glew
|
Name: glew
|
||||||
Version: 1.7.0.git20120216.1819
|
Version: 1.9.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: OpenGL Extension Wrangler Library
|
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
|
Group: System/Libraries
|
||||||
Url: http://glew.sourceforge.net/
|
Url: http://glew.sourceforge.net/
|
||||||
Source0: %name.tar.bz2
|
Source0: http://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch: 0001-Add-glew.c-glewinfo.c-and-includes.patch.bz2
|
Source2: %{name}.rpmlintrc
|
||||||
BuildRequires: Mesa-devel
|
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: pkgconfig(glu)
|
BuildRequires: pkgconfig(gl)
|
||||||
|
BuildRequires: pkgconfig(x11)
|
||||||
|
BuildRequires: pkgconfig(xext)
|
||||||
BuildRequires: pkgconfig(xi)
|
BuildRequires: pkgconfig(xi)
|
||||||
BuildRequires: pkgconfig(xmu)
|
BuildRequires: pkgconfig(xmu)
|
||||||
Requires: libGLEW1_7 >= %version
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -41,11 +43,11 @@ 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.
|
||||||
|
|
||||||
%package -n libGLEW1_7
|
%package -n libGLEW%{so_ver}
|
||||||
Summary: OpenGL Extension Wrangler Library
|
Summary: OpenGL Extension Wrangler Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libGLEW1_7
|
%description -n libGLEW%{so_ver}
|
||||||
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
||||||
open-source C/C++ extension loading library. GLEW provides efficient
|
open-source C/C++ extension loading library. GLEW provides efficient
|
||||||
run-time mechanisms for determining which OpenGL extensions are
|
run-time mechanisms for determining which OpenGL extensions are
|
||||||
@ -55,10 +57,13 @@ functionality is exposed in a single header file.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for glew
|
Summary: Development files for glew
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name} = %{version}
|
Requires: libGLEW%{so_ver} = %{version}
|
||||||
Requires: Mesa-devel
|
# X11/Xlib.h X11/Xutil.h
|
||||||
# glew.h includes GL/glu.h and glew.pc is incomplete --cartman
|
Requires: libX11-devel
|
||||||
Requires: pkgconfig(glu)
|
# X11/Xmd.h
|
||||||
|
Requires: xorg-x11-proto-devel
|
||||||
|
# Don't require GLU, because there is GLEW_NO_GLU option
|
||||||
|
Recommends: pkgconfig(glu)
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
||||||
@ -68,31 +73,25 @@ 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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %name
|
%setup -q
|
||||||
%patch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} POPT="%{optflags}" LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=
|
make %{?_smp_mflags} POPT="%{optflags}" LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export PATH=$PWD:$PATH
|
|
||||||
make GLEW_DEST=%{buildroot}%{_prefix} LIBDIR=%{buildroot}%{_libdir} install.all
|
make GLEW_DEST=%{buildroot}%{_prefix} LIBDIR=%{buildroot}%{_libdir} install.all
|
||||||
chmod +x %{buildroot}%{_libdir}/*.so.*
|
chmod +x %{buildroot}%{_libdir}/*.so.*
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/*.*a
|
rm %{buildroot}%{_libdir}/*.a
|
||||||
|
|
||||||
%clean
|
%post -n libGLEW%{so_ver} -p /sbin/ldconfig
|
||||||
rm -rf %{buildroot}
|
%postun -n libGLEW%{so_ver} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libGLEW1_7 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libGLEW1_7 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/*
|
%doc doc/*
|
||||||
%{_bindir}/*info
|
%{_bindir}/*info
|
||||||
|
|
||||||
%files -n libGLEW1_7
|
%files -n libGLEW%{so_ver}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:feaabc14f4bb846028ef0bb41b810c776b35a2e03d594ac333bc9327af0711b3
|
|
||||||
size 119576
|
|
Loading…
Reference in New Issue
Block a user