|
|
@ -1,20 +1,19 @@
|
|
|
|
Name: glew
|
|
|
|
Name: glew
|
|
|
|
Version: 1.5.8
|
|
|
|
Version: 1.5.8
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: The OpenGL Extension Wrangler Library
|
|
|
|
Summary: The OpenGL Extension Wrangler Library
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: BSD and MIT
|
|
|
|
License: BSD and MIT
|
|
|
|
URL: http://glew.sourceforge.net
|
|
|
|
URL: http://glew.sourceforge.net
|
|
|
|
|
|
|
|
|
|
|
|
Source0: http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz
|
|
|
|
Source0: http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz
|
|
|
|
Patch0: glew-1.5.2-makefile.patch
|
|
|
|
Patch0: glew-1.5.8-makefile.patch
|
|
|
|
Patch1: glew-1.5.7-add-needed.patch
|
|
|
|
|
|
|
|
# From upstream: build MX-enabled library, with a different soname
|
|
|
|
# From upstream: build MX-enabled library, with a different soname
|
|
|
|
# http://glew.git.sourceforge.net/git/gitweb.cgi?p=glew/glew;a=commitdiff;h=18455eb40fe2d71f5f78cce0bf44eb302c224016
|
|
|
|
# http://glew.git.sourceforge.net/git/gitweb.cgi?p=glew/glew;a=commitdiff;h=18455eb40fe2d71f5f78cce0bf44eb302c224016
|
|
|
|
# (rediffed for our makefile changes)
|
|
|
|
# (rediffed for our makefile changes)
|
|
|
|
Patch2: glew-1.5.8-glewmx.patch
|
|
|
|
Patch1: glew-1.5.8-glewmx.patch
|
|
|
|
# Fixes the soname of libGLEWmx, sent upstream
|
|
|
|
# Fixes the soname of libGLEWmx, sent upstream
|
|
|
|
Patch3: glew-1.5.8-soname.patch
|
|
|
|
Patch2: glew-1.5.8-soname.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
|
|
|
|
|
|
|
@ -57,9 +56,8 @@ libGLEWmx
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .make
|
|
|
|
%patch0 -p1 -b .make
|
|
|
|
%patch1 -p1 -b .add
|
|
|
|
%patch1 -p1 -b .glewmx
|
|
|
|
%patch2 -p1 -b .glewmx
|
|
|
|
%patch2 -p1 -b .soname
|
|
|
|
%patch3 -p1 -b .soname
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sed -i -e 's/\r//g' config/config.guess
|
|
|
|
sed -i -e 's/\r//g' config/config.guess
|
|
|
|
|
|
|
|
|
|
|
@ -109,6 +107,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%doc doc/*
|
|
|
|
%doc doc/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Mar 23 2011 Adam Williamson <awilliam@redhat.com> - 1.5.8-3
|
|
|
|
|
|
|
|
- instead of taking flags out in makefile.patch and adding them back
|
|
|
|
|
|
|
|
in add-needed.patch, let's just not take them out...
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 23 2011 Adam Jackson <ajax@redhat.com> 1.5.8-2
|
|
|
|
* Wed Mar 23 2011 Adam Jackson <ajax@redhat.com> 1.5.8-2
|
|
|
|
- glew-1.5.8-glewmx.patch: Install libGLEWmx 0755 so autoprovs work
|
|
|
|
- glew-1.5.8-glewmx.patch: Install libGLEWmx 0755 so autoprovs work
|
|
|
|
- Split runtime libraries to their own packages
|
|
|
|
- Split runtime libraries to their own packages
|
|
|
|