Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37482101
en ru br
ALT Linux repos
S:0.9.0-alt4.git3209c7f9
5.0: 0.9.0-alt1.1
4.1: 0.9.0-alt1
4.0: 0.8-alt3.1
3.0: 0.8-alt2.1

Group :: Networking/WWW
RPM: httperf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: httperf
Version: 0.9.0
Release: alt1

Summary: A Tool for Measuring Web Server Performance
License: GPLv2+
Group: Networking/WWW

Url: http://www.hpl.hp.com/research/linux/httperf
Source0: ftp://ftp.hpl.hp.com/pub/httperf/httperf-%version.tar.gz
Source1: ftp://ftp.hpl.hp.com/pub/httperf/httperf-paper-html.tar.gz
Source2: ftp://ftp.hpl.hp.com/pub/httperf/httperf-paper.ps

# Automatically added by buildreq on Fri Dec 28 2007

BuildRequires: libssl-devel

%define pkgdocdir %_docdir/%name-%version

%description
httperf is a tool to measure web server performance.  It speaks the HTTP
protocol both in its HTTP/1.0 and HTTP/1.1 flavors and offers a variety of
workload generators. While running, it keeps track of a number of performance
metrics that are summarized in the form of statistics that are printed at the
end of a test run.  The most basic operation of httperf is to generate a fixed
number of HTTP GET requests and to measure how many replies (responses) came
back from the server and at what rate the responses arrived.

%package docs
Summary: Documentation of a Tool for Measuring Web Server Performance
Group: Documentation

%description docs
httperf is a tool to measure web server performance. This package contains
HTML and PostScript documentation for it.

%prep
%setup

%build
%configure
# NO SMP?
%make_build

%install
%make_install install DESTDIR=%buildroot
# now docs...
install -d -m755 %buildroot%pkgdocdir
pushd %buildroot%pkgdocdir
tar zxf %SOURCE1
mv %name html
gzip -9n < %SOURCE2 > httperf-paper.ps.gz
popd
# by hand to avoid using %%doc purging the above
install -m644 AUTHORS ChangeLog NEWS README TODO %buildroot%pkgdocdir

%files
%_bindir/*
%_man1dir/*
%pkgdocdir/[A-Z]*

%files docs
%dir %pkgdocdir
%pkgdocdir/html/
%pkgdocdir/icons/
%pkgdocdir/httperf-paper.ps.gz

%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