]> git.pld-linux.org Git - packages/sipp.git/blob - sipp.spec
c8634c6000c419d350d5f27712086fa65190aff3
[packages/sipp.git] / sipp.spec
1 Summary:        SIPp - a performance testing tool for the SIP protocol
2 Name:           sipp
3 Version:        3.3
4 Release:        1
5 License:        GPL v2+ except two files under BSD
6 Group:          Applications
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)
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
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39 %patch2 -p1
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}/*
This page took 0.051227 seconds and 3 git commands to generate.