Name: glew Version: 1.3.4 Release: 1%{?dist} Summary: The OpenGL Extension Wrangler Library Group: Development/Libraries License: GLX, Other URL: http://glew.sourceforge.net/ Source0: http://dl.sf.net/glew/glew-1.3.4-src.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libXmu-devel %description The goal of the OpenGL Extension Wrangler Library (GLEW) is to assist C/C++ OpenGL developers with two tedious tasks: initializing and using extensions and writing portable applications. GLEW provides an efficient run-time mechanism to determine whether a certain extension is supported by the driver or not. OpenGL core and extension functionality is exposed via a single header file. %package devel Summary: Development files for using the %{name} library Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Development files for using the %{name} library %prep %setup -q -n glew %build #%%configure #make %{?_smp_mflags} CFLAGS="$RPM_BUILD_OPTS" make CFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT %makeinstall GLEW_DEST=$RPM_BUILD_ROOT%{_prefix} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README.txt doc %{_libdir}/libGLEW.so.* %{_bindir}/glewinfo %{_bindir}/visualinfo %files devel %dir %{_includedir}/GL %{_includedir}/GL/*.h %{_libdir}/libGLEW.a %{_libdir}/libGLEW.so %changelog * Sun Jul 09 2006 Aurelien Bompard 1.3.4-1 - intial package