]>
Commit | Line | Data |
---|---|---|
babbdfd4 JK |
1 | Summary: SIPp - a performance testing tool for the SIP protocol |
2 | Name: sipp | |
aaa207f1 JK |
3 | Version: 3.3 |
4 | Release: 1 | |
babbdfd4 JK |
5 | License: GPL v2+ except two files under BSD |
6 | Group: Applications | |
aaa207f1 JK |
7 | Source0: http://dl.sourceforge.net/sipp/%{name}-%{version}.tar.xz |
8 | # Source0-md5: f0c4f472fa86de8a528cb91616323617 | |
13e500a6 | 9 | Patch0: %{name}-headers.patch |
aaa207f1 | 10 | Patch1: %{name}-sprintf.patch |
e6825a19 | 11 | Patch2: %{name}-stats_crash.patch |
babbdfd4 JK |
12 | URL: http://sipp.sourceforge.net/ |
13 | BuildRequires: libpcap-devel | |
14 | BuildRequires: libstdc++-devel | |
15 | BuildRequires: ncurses-devel | |
16 | BuildRequires: openssl-devel | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | SIPp is a performance testing tool for the SIP protocol. It includes a | |
21 | few basic SipStone user agent scenarios (UAC and UAS) and establishes | |
22 | and releases multiple calls with the INVITE and BYE methods. It can | |
23 | also reads XML scenario files describing any performance testing | |
24 | configuration. It features the dynamic display of statistics about | |
25 | running tests (call rate, round trip delay, and message statistics), | |
26 | periodic CSV statistics dumps, TCP and UDP over multiple sockets or | |
27 | multiplexed with retransmission management, regular expressions and | |
28 | variables in scenario files, and dynamically adjustable call rates. | |
29 | ||
30 | SIPp can be used to test many real SIP equipements like SIP proxies, | |
31 | B2BUAs, SIP media servers, SIP/x gateways, SIP PBX, ... It is also | |
32 | very useful to emulate thousands of user agents calling your SIP | |
33 | system. | |
34 | ||
35 | %prep | |
aaa207f1 | 36 | %setup -q |
13e500a6 | 37 | %patch0 -p1 |
aaa207f1 | 38 | %patch1 -p1 |
e6825a19 | 39 | %patch2 -p1 |
babbdfd4 JK |
40 | |
41 | %build | |
42 | ||
43 | %{__make} pcapplay_ossl \ | |
44 | CC="%{__cc}" \ | |
45 | CPP="%{__cxx}" \ | |
46 | CCLINK="%{__cxx}" \ | |
47 | EXTRACFLAGS="%{rpmcflags}" \ | |
48 | EXTRACPPFLAGS="%{rpmcxxflags}" \ | |
49 | EXTRALFLAGS="%{rpmldflags}" \ | |
50 | INCDIR="-I. -I/usr/include/ncurses" | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | install -d $RPM_BUILD_ROOT%{_bindir} | |
55 | install sipp $RPM_BUILD_ROOT%{_bindir} | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
62 | %doc LICENSE.txt MEDIA.txt README.txt pcap tools | |
63 | %attr(755,root,root) %{_bindir}/* |