Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37547094
en ru br
ALT Linux repos
S:0.9.0a-alt5
5.0: 0.8.2a-alt1

Group :: System/Kernel and hardware
RPM: procbench

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: procbench
Version: 0.9.0a
Release: alt5

Summary: CPU benchmark and information tool
License: GPLv2+
Group: System/Kernel and hardware

Url: http://procbench.sourceforge.net/
# http://download.sourceforge.net/procbench/procbench_%version.tar.gz
Source: procbench_%version.tar
Patch0: procbench-0.9.0-stdio.patch
Patch1: procbench-0.9.0a-alt-glibc-2.16.patch
Patch2: %name-g++8.patch

#BuildRequires: automake_1.10

# Automatically added by buildreq on Fri Jun 12 2009
BuildRequires: gcc-c++
ExclusiveArch: %ix86 x86_64

%description
Procbench is an information tool and CPU benchmark that tests memory transfer
and math capabilities of your x86 processor. It includes programs (pb_g++ and
pb_gcc) to get the best GCC optimization parameters for a CPU.

%prep
# weird...
%setup -n procbench_%version
%patch0 -p1
%patch1 -p3
%patch2 -p3

%build
# QnD... :\
cp -f /usr/share/automake-*/config.sub .
cp -f /usr/share/automake-*/config.guess .

%configure
%make_build

%install
%makeinstall_std

%add_findreq_skiplist %_datadir/procbench/*

%files
%_bindir/*
%_datadir/procbench
## Looks like this library will have no use. Don't package it.
# The library needs a minium for the key -r (see #26331).
# Returning it to the package.
%_libdir/libpbbench.so*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin