Update to 2.1.0
This commit is contained in:
parent
045e950927
commit
41468420ba
11
.gitignore
vendored
11
.gitignore
vendored
@ -1,10 +1 @@
|
||||
glew-1.5.4.tgz
|
||||
/glew-1.5.5.tgz
|
||||
/glew-1.5.7.tgz
|
||||
/glew-1.5.8.tgz
|
||||
/glew-1.6.0.tgz
|
||||
/glew-1.7.0.tgz
|
||||
/glew-1.9.0.tgz
|
||||
/glew-1.10.0.tgz
|
||||
/glew-1.13.0.tgz
|
||||
/glew-2.0.0.tgz
|
||||
glew-*.tgz
|
||||
|
19
glew-2.1.0-install.patch
Normal file
19
glew-2.1.0-install.patch
Normal file
@ -0,0 +1,19 @@
|
||||
diff -up glew-2.1.0/Makefile.install glew-2.1.0/Makefile
|
||||
--- glew-2.1.0/Makefile.install 2018-08-15 13:51:45.220637107 +0200
|
||||
+++ glew-2.1.0/Makefile 2018-08-15 13:52:02.168740876 +0200
|
||||
@@ -231,6 +231,7 @@ install.bin: glew.bin
|
||||
|
||||
install.include:
|
||||
$(INSTALL) -d -m 0755 "$(DESTDIR)$(INCDIR)"
|
||||
+ $(INSTALL) -m 0644 include/GL/eglew.h "$(DESTDIR)$(INCDIR)/"
|
||||
$(INSTALL) -m 0644 include/GL/wglew.h "$(DESTDIR)$(INCDIR)/"
|
||||
$(INSTALL) -m 0644 include/GL/glew.h "$(DESTDIR)$(INCDIR)/"
|
||||
$(INSTALL) -m 0644 include/GL/glxew.h "$(DESTDIR)$(INCDIR)/"
|
||||
@@ -241,6 +242,7 @@ install.pkgconfig: glew.pc
|
||||
$(INSTALL) -m 0644 glew.pc "$(DESTDIR)$(PKGDIR)/"
|
||||
|
||||
uninstall:
|
||||
+ $(RM) "$(DESTDIR)$(INCDIR)/eglew.h"
|
||||
$(RM) "$(DESTDIR)$(INCDIR)/wglew.h"
|
||||
$(RM) "$(DESTDIR)$(INCDIR)/glew.h"
|
||||
$(RM) "$(DESTDIR)$(INCDIR)/glxew.h"
|
23
glew.spec
23
glew.spec
@ -1,12 +1,12 @@
|
||||
Name: glew
|
||||
Version: 2.0.0
|
||||
Release: 7%{?dist}
|
||||
Version: 2.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: The OpenGL Extension Wrangler Library
|
||||
Group: System Environment/Libraries
|
||||
License: BSD and MIT
|
||||
URL: http://glew.sourceforge.net
|
||||
|
||||
Source0: https://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz
|
||||
Patch0: glew-2.1.0-install.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libGLU-devel
|
||||
|
||||
@ -23,9 +23,8 @@ are in libGLEW.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for glew
|
||||
Group: Development/Libraries
|
||||
Requires: libGLEW = %{version}-%{release}
|
||||
Requires: libGLU-devel
|
||||
Requires: libGLEW%{?_isa} = %{version}-%{release}
|
||||
Requires: libGLU-devel%{?_isa}
|
||||
|
||||
%description devel
|
||||
Development files for glew
|
||||
@ -33,19 +32,18 @@ Development files for glew
|
||||
|
||||
%package -n libGLEW
|
||||
Summary: libGLEW
|
||||
Group: System Environment/Libraries
|
||||
|
||||
%description -n libGLEW
|
||||
libGLEW
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
# update config.guess for new arch support
|
||||
cp /usr/lib/rpm/redhat/config.guess config/
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC" includedir=%{_includedir} STRIP= LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
|
||||
%make_build CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC" includedir=%{_includedir} STRIP= LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
|
||||
|
||||
%install
|
||||
make install.all DESTDIR="$RPM_BUILD_ROOT" LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig
|
||||
@ -56,11 +54,11 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||
%ldconfig_scriptlets -n libGLEW
|
||||
|
||||
%files
|
||||
%doc LICENSE.txt
|
||||
%license LICENSE.txt
|
||||
%{_bindir}/*
|
||||
|
||||
%files -n libGLEW
|
||||
%doc LICENSE.txt
|
||||
%license LICENSE.txt
|
||||
%{_libdir}/libGLEW.so.*
|
||||
|
||||
%files devel
|
||||
@ -70,6 +68,9 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||
%doc doc/*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 15 2018 Nicolas Chauvet <kwizart@gmail.com> - 2.1.0-1
|
||||
- Update to 2.1.0
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (glew-2.0.0.tgz) = e9bcd5f19a4495ce6511dfd76e64b4e4d958603c513ee9063eb9fe24fc6e0413f168620661230f1baef558f2f907cef7fe7ab2bdf957a6f7bda5fe96e9319c6a
|
||||
SHA512 (glew-2.1.0.tgz) = 9a9b4d81482ccaac4b476c34ed537585ae754a82ebb51c3efa16d953c25cc3931be46ed2e49e79c730cd8afc6a1b78c97d52cd714044a339c3bc29734cd4d2ab
|
||||
|
Loading…
Reference in New Issue
Block a user