glew 2.0.0
This commit is contained in:
parent
c9aeaca57a
commit
faec8f149c
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
35
glew.spec
35
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 <oded.gabbay@gmail.com> 2.0.0-1
|
||||
- glew 2.0.0
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user