File http_load.spec of Package http_load

#
# spec file for package http_load (Version 20060312)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           http_load
Version:        20060312
Release:        0
%define pkg_version 12mar2006
#
Group:          Productivity/Networking/Web/Utilities
License:        Public Domain
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  openssl-devel pkgconfig
#
Url:            http://www.acme.com/software/http_load/
Source:         http://www.acme.com/software/http_load/http_load-12mar2006.tar.gz
#
Summary:        Multiprocessing http test client

%description
http_load runs multiple http fetches in parallel, to test the throughput of a
web server. However unlike most such test clients, it runs in a single process,
so it doesn't bog down the client machine. It can be configured to do https
fetches as well.


Authors:
---------
    Jef Poskanzer <jef@mail.acme.com>

%prep
%setup -n %{name}-%{pkg_version}

%build
make SRANDOM_DEFS="%{optflags} -DUSE_SSL" SSL_LIBS="$(pkg-config --libs openssl)"

%install
%{__install} -D -m 0755 http_load %{buildroot}%{_bindir}/http_load
%{__install} -D -m 0755 make_test_files %{buildroot}%{_bindir}/http_load_make_test_files
%{__install} -D -m 0644 http_load.1 %{buildroot}%{_mandir}/man1/http_load.1

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/http_load
%{_bindir}/http_load_make_test_files
%{_mandir}/man1/http_load.1*
%doc README

%changelog
openSUSE Build Service is sponsored by