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