2 Summary: SIPp - a performance testing tool for the SIP protocol
6 License: GPL v2+ except two files under BSD
8 Source0: http://dl.sourceforge.net/sipp/%{name}-%{version}.src.tar.gz
9 # Source0-md5: 31906c63eb5efa09e0b148c27435cdac
10 URL: http://sipp.sourceforge.net/
11 BuildRequires: libpcap-devel
12 BuildRequires: libstdc++-devel
13 BuildRequires: ncurses-devel
14 BuildRequires: openssl-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 SIPp is a performance testing tool for the SIP protocol. It includes a
19 few basic SipStone user agent scenarios (UAC and UAS) and establishes
20 and releases multiple calls with the INVITE and BYE methods. It can
21 also reads XML scenario files describing any performance testing
22 configuration. It features the dynamic display of statistics about
23 running tests (call rate, round trip delay, and message statistics),
24 periodic CSV statistics dumps, TCP and UDP over multiple sockets or
25 multiplexed with retransmission management, regular expressions and
26 variables in scenario files, and dynamically adjustable call rates.
28 SIPp can be used to test many real SIP equipements like SIP proxies,
29 B2BUAs, SIP media servers, SIP/x gateways, SIP PBX, ... It is also
30 very useful to emulate thousands of user agents calling your SIP
34 %setup -q -n %{name}-%{version}.src
38 %{__make} pcapplay_ossl \
42 EXTRACFLAGS="%{rpmcflags}" \
43 EXTRACPPFLAGS="%{rpmcxxflags}" \
44 EXTRALFLAGS="%{rpmldflags}" \
45 INCDIR="-I. -I/usr/include/ncurses"
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_bindir}
50 install sipp $RPM_BUILD_ROOT%{_bindir}
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
57 %doc LICENSE.txt MEDIA.txt README.txt pcap tools
58 %attr(755,root,root) %{_bindir}/*