File ramspeed.spec of Package Ramspeed
# norootforbuild
Name: ramspeed
BuildRequires: gcc
Url: http://alasir.com/software/ramspeed/
License: Other Open Source
Group: System/Benchmark
Version: 2.6.0
Release: 1
Summary: Cache and memory benchmarking tool
Source0: ramspeed-2.6.0.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
RAMspeed, a free open source command line utility to measure cache and memory performance of computer systems, changes as well.
%prep
%setup -n ramspeed-2.6.0
%build
%install
%ifarch x86_64
./build.sh Linux amd64
%endif
%ifarch %ix86
./build.sh Linux i386
%endif
mkdir $RPM_BUILD_ROOT/bin
cp ramspeed $RPM_BUILD_ROOT/bin/ramspeed
%clean
rm -rf $RPM_BUILD_ROOT
%post
%postun
%files
%defattr(-,root,root)
/bin/ramspeed
%changelog
* Mon Nov 1 2009 Rhett M. Hollander and Paul V. Bolotoff
v2.6.0
- MMX and SSE memory arrays were forced to align on 4Kb page size boundary
- some enhancements and optimisations (base source, i386 and amd64 assembly)