Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
bandwidth
> bandwidth.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File bandwidth.spec of Package bandwidth (Revision 9)
Currently displaying revision
9
,
show latest
%ifarch x86_64 %define _version 0.16 %else %define _version 0.15 %endif Name: bandwidth Version: %{_version} Release: 1 Group: System/Benchmark Summary: A memory bandwidth benchmark Url: http://home.comcast.net/~fbui/bandwidth.html License: GPLv2 Source: http://home.comcast.net/~fbui/%{name}-%{_version}.tar.gz Patch: bandwidth-%{_version}-makefile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: nasm >= 2.0 gcc %description bandwidth is an artificial benchmark for measuring memory bandwidth, useful for identifying a computer's weak areas. It tests several types of memory: * Level 1 cache sequential read accesses * Level 1 cache sequential write accesses * Level 2 cache sequential read accesses * Level 2 cache sequential write accesses * Main memory sequential read accesses * Main memory sequential write accesses * Framebuffer sequential read accesses (Linux only) * Framebuffer sequential write accesses (Linux only) * String library routines %prep %setup %patch %build %__make clean %ifnarch x86_64 %__make %{name}32 %__chmod 755 results %else %__make %{name}64 %__chmod 755 output mv output results %endif %install %__install -D -m 755 %{name} %{buildroot}/%{_sbindir}/%{name} %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc README COPYING results %{_sbindir}/%{name} %changelog * Sun Aug 02 2009 Carsten Schoene <cs@linux-administrator.com> - 0.16-1 - update to release 0.16 - support x86_64 arch * Sun Jul 13 2008 Carsten Schoene <cs@linux-administrator.com> - initial build of version 0.15