%define shortname glew Name: %{shortname}1.5 Version: 1.5.0 Release: alt0.1 Summary: The OpenGL Extension Wrangler Library License: BSD-like, MIT, GPL Group: System/Libraries Url: http://glew.sourceforge.net Source: %shortname-%version-src.tgz Packager: Michael Shigorin BuildRequires: libXi-devel libXmu-devel libmesa-devel %description The OpenGL Extension Wrangler Library (GLEW) is a cross-platform 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. %package -n lib%shortname Summary: The OpenGL Extension Wrangler Library Group: System/Libraries %description -n lib%shortname The OpenGL Extension Wrangler Library (GLEW) is a cross-platform 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. Compatibility package. GLEW is originally derived from the EXTGL project by Lev Povalahev. The source code is licensed under the Modified BSD License, the Mesa 3-D License (MIT License), and the Khronos License (MIT License). The automatic code generation scripts are released under the GNU GPL. %prep %setup -q -n %shortname %build # crappy git doesn't allow empty directories mkdir -p bin lib %make %install mkdir -p %buildroot%_libdir install -pm644 lib/libGLEW.so.%version %buildroot%_libdir ln -sf libGLEW.so.%version %buildroot%_libdir/libGLEW.so.1.5 %post -n libglew -p %post_ldconfig %postun -n libglew -p %postun_ldconfig %files -n lib%shortname %_libdir/*.so.* %changelog * Sat Aug 09 2008 Michael Shigorin 1.5.0-alt0.1 - initial 1.5.0 build (based on 1.3.6 compat package) - clarified copying terms (which changed somewhat) * Thu Nov 08 2007 Pavlov Konstantin 1.3.6-alt3 - Fixed post/postun (closes: #13163). * Wed May 02 2007 Pavlov Konstantin 1.3.6-alt2 - Compatibility package to ease up moving to newer glew. * Sun Mar 11 2007 Pavlov Konstantin 1.3.6-alt1 - 1.3.6 release. * Thu Jan 18 2007 Pavlov Konstantin 1.3.5-alt2 - Added requires "libmesa-devel" for libglew-devel (fixes #10834). - Fixed #10836, thanks Sergei Epiphanov (serpiph@). * Thu Dec 14 2006 Pavlov Konstantin 1.3.5-alt1 - 1.3.5 release. * Tue Mar 07 2006 Pavlov Konstantin 1.3.4-alt1 - 1.3.4 release. * Fri Aug 26 2005 Pavlov Konstantin 1.3.3-alt1 - Test build.