1 Summary: A modern HTTP benchmarking tool
6 Group: Networking/Utilities
7 Source0: https://github.com/wg/wrk/archive/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: 2c9c7cbd2468152ccdd48587762c95c1
9 URL: https://github.com/wg/wrk
10 BuildRequires: luajit-devel >= 2.0.2
11 BuildRequires: openssl-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 wrk is a modern HTTP benchmarking tool capable of generating
16 significant load when run on a single multi-core CPU. It combines a
17 multithreaded design with scalable event notification systems such as
20 An optional LuaJIT script can perform HTTP request generation,
21 response processing, and custom reporting.
27 CFLAGS="%{rpmcflags}" \
29 WITH_OPENSSL=%{_prefix} WITH_LUAJIT=%{_prefix} \
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_bindir}
35 cp -p wrk $RPM_BUILD_ROOT%{_bindir}
38 rm -rf $RPM_BUILD_ROOT
41 %defattr(644,root,root,755)
42 %attr(755,root,root) %{_bindir}/wrk
43 %doc README CHANGES NOTICE SCRIPTING scripts