%define name cpuburn %define version 1.4 %define release 1mdk Name: %{name} Summary: CPU testing utilities Version: %{version} Release: %{release} Source: %{name}-%{version}.tar.bz2 Group: Monitoring URL: http://users.ev1.net/~redelm/ BuildRoot: %{_tmppath}/%{name}-buildroot License: GPL %description CPU testing utilities in optimized assembler for maximum loading P6 (Intel Pentium Pro, Pentium II, Celeron and Pentium III TM), AMD K6, and P5 Pentium chips. %prep rm -rf $RPM_BUILD_ROOT %setup -q %build gcc -s -nostdlib -o burnP6 burnP6.S gcc -s -nostdlib -o burnBX burnBX.S gcc -s -nostdlib -o burnK6 burnK6.S gcc -s -nostdlib -o burnMMX burnMMX.S gcc -s -nostdlib -o burnP5 burnP5.S %install mkdir -p $RPM_BUILD_ROOT%{_bindir} install -m 0755 {burnP6,burnBX,burnK6,burnMMX,burnP5} \ $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Design README %{_bindir}/* %changelog * Mon Jul 02 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.4-1mdk - updated to 1.4 * Thu May 03 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.3-1mdk - new in contribs