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 14)
Currently displaying revision
14
,
show latest
%ifarch x86_64 %define _version 0.21e %else %define _version 0.21e %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 output mv output results mv %{name}32 %{name} %else %__make %{name}64 %__chmod 755 output mv output results mv %{name}64 %{name} %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 * Fri Apr 02 2010 Carsten Schoene <cs@linux-administrator.com> - 0.21e-1 - update to release 0.21e * 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