LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File flood.spec of Package flood (Project home:loknar)

#
# spec file for package flood
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           flood
Version:        20080926
Release:        0
Summary:        Flood--a Profile-Driven HTTP/HTTPS Load Tester
License:        Apache-2.0
Group:          Productivity/Networking/Web/Utilities
Url:            http://httpd.apache.org/test/flood/
Source:         flood-%{version}.tar.bz2
Patch3:         flood-docbookx.dtd.dif
BuildRequires:  apache2-devel
BuildRequires:  autoconf
BuildRequires:  db-devel
BuildRequires:  docbook-xsl-stylesheets
BuildRequires:  docbook2x
BuildRequires:  libapr-util1-devel
BuildRequires:  libxslt
BuildRequires:  openldap2-devel
BuildRequires:  openssl-devel
BuildRequires:  pcre-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Flood is a profile-driven HTTP load tester. It can be used to gather
important performance metrics for your Web site.

See the FAQ for common questions about flood:
http://httpd.apache.org/test/flood/faq.html

%prep
%setup -q -n flood
%patch3 -p1

%build
autoconf
CFLAGS="$(%{_sbindir}/apxs2 -q CFLAGS)" \
%configure 	--with-apr=%{_bindir}/apr-1-config \
		--with-apr-util=%{_bindir}/apu-1-config \
		--enable-ssl \
		--with-capath=%{_sysconfdir}/ssl/certs
make %{?_smp_mflags}
make %{?_smp_mflags} -C docs/docbook docbook=%{_datadir}/xml/docbook/stylesheet/nwalsh/current

%install
install -D flood -m 755 %{buildroot}%{_bindir}/flood

%files
%defattr(-,root,root)
%doc CHANGES CONFIG DESIGN LICENSE STATUS
%doc examples
%doc docs/manual
%{_bindir}/*

%changelog