Name: libglew21 Version: 2.1.0 Release: 3mamba Summary: The OpenGL Extension Wrangler Library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://glew.sourceforge.net/ Source: http://downloads.sourceforge.net/glew/%{version}/glew-%{version}.tgz Patch0: libglew-1.5.1-makefile.patch License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libGL-devel BuildRequires: libGLU-devel BuildRequires: libX11-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris. %package devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris. This package contains static libraries and header files need for development. %debug_package %prep %setup -q -n glew-%{version} #%patch0 -p1 sed -i -e 's/\r//g' config/config.guess %build %make CFLAGS.EXTRA="$RPM_OPT_FLAGS -fPIC" CC=%{_host}-gcc %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d -m0755 %{buildroot}%{_libdir}/pkgconfig/ %makeinstall \ PKGDIR=%{_libdir}/pkgconfig \ BINDIR=%{_bindir} LIBDIR=%{_libdir} INCDIR=%{_includedir}/GL chmod +x %{buildroot}%{_libdir}/libGLEW.so.* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libGLEW.so.* %doc LICENSE.txt %files devel %defattr(-,root,root) %{_includedir}/GL/*.h %{_libdir}/libGLEW.a %{_libdir}/libGLEW.so %{_libdir}/pkgconfig/glew.pc %doc README.md %changelog * Mon May 04 2020 Silvan Calarco 2.1.0-3mamba - fix library x permission * Sun May 03 2020 Silvan Calarco 2.1.0-2mamba - legacy package * Fri Aug 04 2017 Automatic Build System 2.1.0-1mamba - automatic version update by autodist * Mon Aug 08 2016 Automatic Build System 2.0.0-1mamba - automatic version update by autodist * Mon Jan 25 2016 Automatic Build System 1.13.0-1mamba - automatic update by autodist * Fri Feb 06 2015 Automatic Build System 1.12.0-1mamba - automatic update by autodist * Wed Aug 20 2014 Automatic Build System 1.11.0-1mamba - automatic version update by autodist * Wed Jul 24 2013 Automatic Build System 1.10.0-1mamba - automatic update by autodist * Sun Dec 02 2012 Automatic Build System 1.9.0-1mamba - automatic version update by autodist * Thu Jun 03 2010 Automatic Build System 1.5.4-1mamba - update to 1.5.4 * Wed Jun 03 2009 Davide Madrisan 1.5.1-2mamba - fixed specfile * Sat Jan 17 2009 Silvan Calarco 1.5.1-1mamba - automatic update by autodist * Fri Aug 15 2008 gil 1.5.0-1mamba - package created by autospec