%define cvsversion 20100209 Name: glean Version: 1.1 Release: %mkrel 2.cvs%{cvsversion} Summary: A suite of tools for evaluating the quality of an OpenGL implementation Group: System/X11 URL: http://glean.sourceforge.net # git: git://glean.git.sourceforge.net/gitroot/glean/glean Source: glean-%{cvsversion}.tar.bz2 License: MIT BuildRoot: %{_tmppath}/%{name}-root %if %mdkversion >= 200700 BuildRequires: GL-devel BuildRequires: libmesaglu-devel BuildRequires: libmesaglut-devel %else BuildRequires: libxorg-x11-devel BuildRequires: libMesaGLU-devel BuildRequires: libMesaglut-devel %endif BuildRequires: libtiff-devel %description Glean is a suite of tools for evaluating the quality of an OpenGL implementation and diagnosing any problems that are discovered. glean also has the ability to compare two OpenGL implementations and highlight the differences between them. Who should care about glean? - Anyone who buys or reviews graphics cards. glean gives you the ability to compare performance, features, and image quality of different graphics cards. Since the source code is freely available, you can customize glean to add tests for the things that are most important to you. - Software developers. With glean you can learn which features really work for a given combination of hardware and driver. You can also find the timing for basic drawing operations, mode changes, texture downloads, etc. so that you can maximize the performance of your application. - OpenGL driver developers. glean can increase your confidence that your driver software is correct and efficient. It also allows you to compare a new release to a previous release, to make sure that there are no regressions in quality or performance. %prep %setup -q -n %{name}-%{cvsversion} %build GLEAN_ROOT=`pwd` export GLEAN_ROOT # (boiko) glean uses a different way for compiling its sources, so we have to # use make install here # see here: http://glean.sourceforge.net/buildgnu.html pushd src make install popd %install rm -rf %{buildroot} # We have to install everything by hand mkdir -p %{buildroot}%{_bindir} # install binaries install -m0755 bin/difftiff %{buildroot}%{_bindir}/ install -m0755 bin/glean %{buildroot}%{_bindir}/ install -m0755 bin/showtiff %{buildroot}%{_bindir}/ install -m0755 bin/showvis %{buildroot}%{_bindir}/ %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGES COPYRIGHT %{_bindir}/difftiff %{_bindir}/glean %{_bindir}/showtiff %{_bindir}/showvis %changelog * Tue Feb 09 2010 Paulo Ricardo Zanoni <pzanoni@mandriva.com> 1.1-2.cvs20100209mdv2010.1 + Revision: 503227 - newer snapshot (20100209) - update git url (no more cvs) - remove obsolete "Packager" tag - remove useless whitespaces + Thierry Vignaud <tvignaud@mandriva.com> - fix description-line-too-long - fix mesaglu-devel BR - fix mesa BR + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.1-2.cvs20061128mdv2008.1 + Revision: 125766 - kill re-definition of %%buildroot on Pixel's request * Tue Nov 28 2006 Gustavo Pichorim Boiko <boiko@mandriva.com> 1.1-2.cvs20061128mdv2007.0 + Revision: 88011 - added missing buildrequires - added buildrequires for 2006 - adding glean to the repository