Group :: Sistema/Kernel e hardware
RPM: dbench
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: dbench
Version: 4.0
Release: alt3.qa1
Summary: Filesystem and TCP networking benchmark similar to Netbench
License: GPLv3
Group: System/Kernel and hardware
URL: http://samba.org/ftp/tridge/dbench/
Source: %url/%name-%version.tar.gz
Patch1: dbench-4.0-manpage.patch
Requires: %name-data
# Automatically added by buildreq on Mon Sep 28 2009
BuildRequires: libattr-devel libpopt-devel
%description
dbench is a filesystem benchmark that generates load patterns similar to
those of the commercial Netbench benchmark, but without requiring a lab of
Windows load generators to run. It is now considered a de-facto standard for
generating load on the Linux VFS.
tbench is a network benchmark which generates only the TCP and process load
similar to the one created by Netbench.
%package data
Summary: Architecture independent data files for dbench
Group: System/Kernel and hardware
BuildArch: noarch
%description data
Architecture independent data files for dbench.
%prep
%setup
%patch1 -p1
%build
./autogen.sh
%configure
%make_build bindir="%_bindir" mandir="%_man1dir" datadir="%_datadir/%name"
%install
%makeinstall \
bindir="%buildroot%_bindir" \
mandir="%buildroot%_man1dir" \
datadir="%buildroot%_datadir/%name"
%files
%_bindir/*
%doc README
%files data
%_datadir/%name
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 4.0
Release: alt3.qa1
Summary: Filesystem and TCP networking benchmark similar to Netbench
License: GPLv3
Group: System/Kernel and hardware
URL: http://samba.org/ftp/tridge/dbench/
Source: %url/%name-%version.tar.gz
Patch1: dbench-4.0-manpage.patch
Requires: %name-data
# Automatically added by buildreq on Mon Sep 28 2009
BuildRequires: libattr-devel libpopt-devel
%description
dbench is a filesystem benchmark that generates load patterns similar to
those of the commercial Netbench benchmark, but without requiring a lab of
Windows load generators to run. It is now considered a de-facto standard for
generating load on the Linux VFS.
tbench is a network benchmark which generates only the TCP and process load
similar to the one created by Netbench.
%package data
Summary: Architecture independent data files for dbench
Group: System/Kernel and hardware
BuildArch: noarch
%description data
Architecture independent data files for dbench.
%prep
%setup
%patch1 -p1
%build
./autogen.sh
%configure
%make_build bindir="%_bindir" mandir="%_man1dir" datadir="%_datadir/%name"
%install
%makeinstall \
bindir="%buildroot%_bindir" \
mandir="%buildroot%_man1dir" \
datadir="%buildroot%_datadir/%name"
%files
%_bindir/*
%doc README
%files data
%_datadir/%name
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui