From faec8f149c9401b53a8c9444566425002c05204b Mon Sep 17 00:00:00 2001 From: Oded Gabbay Date: Sun, 8 Jan 2017 12:59:30 +0000 Subject: [PATCH] glew 2.0.0 --- .gitignore | 1 + glew.spec | 35 ++++++++++------------------------- sources | 2 +- 3 files changed, 12 insertions(+), 26 deletions(-) diff --git a/.gitignore b/.gitignore index d471804..ab73257 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ glew-1.5.4.tgz /glew-1.9.0.tgz /glew-1.10.0.tgz /glew-1.13.0.tgz +/glew-2.0.0.tgz diff --git a/glew.spec b/glew.spec index ec53bf7..49ea576 100644 --- a/glew.spec +++ b/glew.spec @@ -1,12 +1,12 @@ Name: glew -Version: 1.13.0 -Release: 2%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: The OpenGL Extension Wrangler Library Group: System Environment/Libraries License: BSD and MIT URL: http://glew.sourceforge.net -Source0: http://downloads.sourceforge.net/project/glew/glew/%{version}/glew-%{version}.tgz +Source0: https://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz BuildRequires: libGLU-devel %description @@ -18,13 +18,12 @@ GLEW is available for a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris. This package contains the demo GLEW utilities. The libraries themselves -are in libGLEW and libGLEWmx. +are in libGLEW. %package devel Summary: Development files for glew Group: Development/Libraries Requires: libGLEW = %{version}-%{release} -Requires: libGLEWmx = %{version}-%{release} Requires: libGLU-devel %description devel @@ -38,13 +37,6 @@ Group: System Environment/Libraries %description -n libGLEW libGLEW -%package -n libGLEWmx -Summary: libGLEWmx -Group: System Environment/Libraries - -%description -n libGLEWmx -libGLEWmx - %prep %setup -q @@ -52,10 +44,10 @@ libGLEWmx cp /usr/lib/rpm/redhat/config.guess config/ %build -make %{?_smp_mflags} CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC" includedir=%{_includedir} STRIP= LIBDIR=%{_libdir} +make %{?_smp_mflags} CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC" includedir=%{_includedir} STRIP= LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig %install -make install.all DESTDIR="$RPM_BUILD_ROOT" LIBDIR=%{_libdir} +make install.all DESTDIR="$RPM_BUILD_ROOT" LIBDIR=%{_libdir} PKGDIR=%{_libdir}/pkgconfig find $RPM_BUILD_ROOT -type f -name "*.a" -delete # sigh chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so* @@ -64,10 +56,6 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so* %postun -n libGLEW -p /sbin/ldconfig -%post -n libGLEWmx -p /sbin/ldconfig - -%postun -n libGLEWmx -p /sbin/ldconfig - %files %doc LICENSE.txt %{_bindir}/* @@ -76,19 +64,16 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so* %doc LICENSE.txt %{_libdir}/libGLEW.so.* -%files -n libGLEWmx -%doc LICENSE.txt -%{_libdir}/libGLEWmx.so.* - %files devel %{_libdir}/libGLEW.so -%{_libdir}/libGLEWmx.so -%{_libdir}/pkgconfig/glew.pc -%{_libdir}/pkgconfig/glewmx.pc +%{_libdir}/pkgconfig//glew.pc %{_includedir}/GL/*.h %doc doc/* %changelog +* Sun Jan 8 2017 Oded Gabbay 2.0.0-1 +- glew 2.0.0 + * Wed Feb 03 2016 Fedora Release Engineering - 1.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 0021da1..d9f9020 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7cbada3166d2aadfc4169c4283701066 glew-1.13.0.tgz +SHA512 (glew-2.0.0.tgz) = e9bcd5f19a4495ce6511dfd76e64b4e4d958603c513ee9063eb9fe24fc6e0413f168620661230f1baef558f2f907cef7fe7ab2bdf957a6f7bda5fe96e9319c6a