-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrk.spec
68 lines (45 loc) · 1.64 KB
/
wrk.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Name: wrk
Version: 3.3.1
Release: 1%{?dist}
Summary: HTTP benchmarking tool with Lua scripting
%global commit 88aa6c52377889cbc707d12f94cbb1359b7392d5
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Group: Development/Tools
License: Apache 2.0
URL: https://github.com/wg/wrk
#Source0: https://github.com/wg/wrk/archive/%{commit}/wrk-%{commit}.tar.gz
Source0: wrk-%{version}.tar.gz
BuildRequires: openssl-devel
Requires: openssl
%description
wrk is a modern HTTP benchmarking tool capable of generating significant
load when run on a single multi-core CPU. It combines a multithreaded
design with scalable event notification systems such as epoll and kqueue.
An optional LuaJIT script can perform HTTP request generation, response
processing, and custom reporting.
%prep
%autosetup
%build
make %{?_smp_mflags}
%install
mkdir -p %{buildroot}%{_bindir}
cp wrk %{buildroot}%{_bindir}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/wrk
%doc README
%changelog
* Mon Dec 15 2014 Evan Torrie <[email protected]> 3.3.1-1
- new package built with tito
* Mon Dec 15 2014 Evan Torrie <[email protected]> 3.3.1-1
- new package built with tito
* Mon Dec 15 2014 Evan Torrie <[email protected]> 3.4.1-1
- use default version as specified ([email protected])
* Wed Dec 10 2014 Evan Torrie <[email protected]> 3.3.1-1
- check in the tgz file from github.com ([email protected])
* Wed Dec 10 2014 Evan Torrie <[email protected]> 3.2.1-1
- new package built with tito
* Tue Dec 9 2014 Evan Torrie <[email protected]> - 3.1.1-1
- First attempt at RPM packaging