1 Summary: SIPp - a performance testing tool for the SIP protocol
5 License: GPL v2+ except two files under BSD
7 Source0: http://dl.sourceforge.net/sipp/%{name}-%{version}.tar.xz
8 # Source0-md5: f0c4f472fa86de8a528cb91616323617
9 Patch0: %{name}-headers.patch
10 Patch1: %{name}-sprintf.patch
11 Patch2: %{name}-stats_crash.patch
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)
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.
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
43 %{__make} pcapplay_ossl \
47 EXTRACFLAGS="%{rpmcflags}" \
48 EXTRACPPFLAGS="%{rpmcxxflags}" \
49 EXTRALFLAGS="%{rpmldflags}" \
50 INCDIR="-I. -I/usr/include/ncurses"
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{_bindir}
55 install sipp $RPM_BUILD_ROOT%{_bindir}
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %doc LICENSE.txt MEDIA.txt README.txt pcap tools
63 %attr(755,root,root) %{_bindir}/*