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.9.0.tgz
|
||||||
/glew-1.10.0.tgz
|
/glew-1.10.0.tgz
|
||||||
/glew-1.13.0.tgz
|
/glew-1.13.0.tgz
|
||||||
|
/glew-2.0.0.tgz
|
||||||
|
35
glew.spec
35
glew.spec
@ -1,12 +1,12 @@
|
|||||||
Name: glew
|
Name: glew
|
||||||
Version: 1.13.0
|
Version: 2.0.0
|
||||||
Release: 2%{?dist}
|
Release: 1%{?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: https://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz
|
||||||
BuildRequires: libGLU-devel
|
BuildRequires: libGLU-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -18,13 +18,12 @@ GLEW is available for a variety of operating systems, including Windows, Linux,
|
|||||||
Mac OS X, FreeBSD, Irix, and Solaris.
|
Mac OS X, FreeBSD, Irix, and Solaris.
|
||||||
|
|
||||||
This package contains the demo GLEW utilities. The libraries themselves
|
This package contains the demo GLEW utilities. The libraries themselves
|
||||||
are in libGLEW and libGLEWmx.
|
are in libGLEW.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for glew
|
Summary: Development files for glew
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: libGLEW = %{version}-%{release}
|
Requires: libGLEW = %{version}-%{release}
|
||||||
Requires: libGLEWmx = %{version}-%{release}
|
|
||||||
Requires: libGLU-devel
|
Requires: libGLU-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -38,13 +37,6 @@ Group: System Environment/Libraries
|
|||||||
%description -n libGLEW
|
%description -n libGLEW
|
||||||
libGLEW
|
libGLEW
|
||||||
|
|
||||||
%package -n libGLEWmx
|
|
||||||
Summary: libGLEWmx
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
|
|
||||||
%description -n libGLEWmx
|
|
||||||
libGLEWmx
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -52,10 +44,10 @@ libGLEWmx
|
|||||||
cp /usr/lib/rpm/redhat/config.guess config/
|
cp /usr/lib/rpm/redhat/config.guess config/
|
||||||
|
|
||||||
%build
|
%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
|
%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
|
find $RPM_BUILD_ROOT -type f -name "*.a" -delete
|
||||||
# sigh
|
# sigh
|
||||||
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||||
@ -64,10 +56,6 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
|||||||
|
|
||||||
%postun -n libGLEW -p /sbin/ldconfig
|
%postun -n libGLEW -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libGLEWmx -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libGLEWmx -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -76,19 +64,16 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
|||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
%{_libdir}/libGLEW.so.*
|
%{_libdir}/libGLEW.so.*
|
||||||
|
|
||||||
%files -n libGLEWmx
|
|
||||||
%doc LICENSE.txt
|
|
||||||
%{_libdir}/libGLEWmx.so.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libGLEW.so
|
%{_libdir}/libGLEW.so
|
||||||
%{_libdir}/libGLEWmx.so
|
%{_libdir}/pkgconfig//glew.pc
|
||||||
%{_libdir}/pkgconfig/glew.pc
|
|
||||||
%{_libdir}/pkgconfig/glewmx.pc
|
|
||||||
%{_includedir}/GL/*.h
|
%{_includedir}/GL/*.h
|
||||||
%doc doc/*
|
%doc doc/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user