]>
Commit | Line | Data |
---|---|---|
355b8eda ER |
1 | Summary: Profile-driven HTTP load tester |
2 | Name: flood | |
3 | Version: 0.4 | |
4 | Release: 0.1 | |
5 | License: Apache | |
6 | Group: Applications/Networking | |
7 | URL: http://httpd.apache.org/test/flood/ | |
8 | Source0: http://www.apache.org/dist/httpd/flood/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: c10abd6f46175ab54b554337525d576d | |
10 | Patch0: %{name}-libtool.patch | |
11 | BuildRequires: apr-devel | |
12 | BuildRequires: apr-util-devel | |
13 | BuildRequires: autoconf | |
14 | BuildRequires: libtool | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Flood is a profile-driven HTTP load tester. It can be used to gather | |
19 | important performance matrics for your website. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | %patch0 -p1 | |
24 | ||
25 | %build | |
26 | %{__libtoolize} | |
27 | %{__autoconf} | |
28 | %configure \ | |
29 | --enable-ssl \ | |
30 | --with-openssl="%{_includedir}/openssl" \ | |
31 | --with-capath="%{_datadir}/ssl/certs" \ | |
32 | --with-apr=/usr/bin/apr-1-config \ | |
33 | --with-apr-util=/usr/bin/apu-1-config | |
34 | ||
35 | %{__make} \ | |
36 | top_builddir=. | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -D flood $RPM_BUILD_ROOT%{_bindir}/flood | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc CHANGES CONFIG DESIGN LICENSE STATUS examples/ | |
48 | %attr(755,root,root) %{_bindir}/flood |