Summary: BYTE UNIX benchmark suite Name: unixbench Version: 5.1.2 Release: 1.n0i.1%{?dist} License: Distributable Group: Applications/System URL: http://code.google.com/p/byte-unixbench/ Source: http://byte-unixbench.googlecode.com/files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description UnixBench is the original BYTE UNIX benchmark suite, updated and revised by many people over the years. The purpose of UnixBench is to provide a basic indicator of the performance of a Unix-like system; hence, multiple tests are used to test various aspects of the system's performance. These test results are then compared to the scores from a baseline system to produce an index value, which is generally easier to handle than the raw scores. The entire set of index values is then combined to make an overall index for the system. %prep %setup -q ### Add old XFree86 library path, add -lm for EL2 %{__perl} -pi.orig -e 's|(GL_LIBS\s*=\s*)(.*)$|$1 -L%{_prefix}/X11R6/%{_lib} -lm $2|' Makefile # skip preCheck %{__perl} -pi.orig -e 's/(preChecks\(\);)/#$1/' Run %build %{__make} OPTION="%{optflags}" %install %{__rm} -rf %{buildroot} %{__install} -Dp -m0755 Run %{buildroot}%{_bindir}/%{name} %{__install} -d -m0755 %{buildroot}%{_libdir}/%{name}/ %{__cp} -av pgms/ testdir/ %{buildroot}%{_libdir}/%{name}/ %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc README USAGE WRITING_TESTS %{_bindir}/%{name} %{_libdir}/%{name} %changelog * Thu Jan 28 2010 Marius FERARU - 5.1.2-1.n0i.1 - updated URLs and Description - use more macros in %%install and %%files - disabled parallel build (breaks building some programs) - dropped preChecks (they will always fail anyway) * Wed Dec 10 2008 Dag Wieers - 5.1.2-1 - 5977+/dag - Updated to release 5.1.2. * Fri Feb 16 2007 Dag Wieers - 4.0.1-1 - Initial package. (using DAR)