]> git.pld-linux.org Git - packages/sipp.git/blame - sipp.spec
Fixed crash in CSV statistics writer
[packages/sipp.git] / sipp.spec
CommitLineData
babbdfd4
JK
1Summary: SIPp - a performance testing tool for the SIP protocol
2Name: sipp
aaa207f1
JK
3Version: 3.3
4Release: 1
babbdfd4
JK
5License: GPL v2+ except two files under BSD
6Group: Applications
aaa207f1
JK
7Source0: http://dl.sourceforge.net/sipp/%{name}-%{version}.tar.xz
8# Source0-md5: f0c4f472fa86de8a528cb91616323617
13e500a6 9Patch0: %{name}-headers.patch
aaa207f1 10Patch1: %{name}-sprintf.patch
e6825a19 11Patch2: %{name}-stats_crash.patch
babbdfd4
JK
12URL: http://sipp.sourceforge.net/
13BuildRequires: libpcap-devel
14BuildRequires: libstdc++-devel
15BuildRequires: ncurses-devel
16BuildRequires: openssl-devel
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20SIPp is a performance testing tool for the SIP protocol. It includes a
21few basic SipStone user agent scenarios (UAC and UAS) and establishes
22and releases multiple calls with the INVITE and BYE methods. It can
23also reads XML scenario files describing any performance testing
24configuration. It features the dynamic display of statistics about
25running tests (call rate, round trip delay, and message statistics),
26periodic CSV statistics dumps, TCP and UDP over multiple sockets or
27multiplexed with retransmission management, regular expressions and
28variables in scenario files, and dynamically adjustable call rates.
29
30SIPp can be used to test many real SIP equipements like SIP proxies,
31B2BUAs, SIP media servers, SIP/x gateways, SIP PBX, ... It is also
32very useful to emulate thousands of user agents calling your SIP
33system.
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
53rm -rf $RPM_BUILD_ROOT
54install -d $RPM_BUILD_ROOT%{_bindir}
55install sipp $RPM_BUILD_ROOT%{_bindir}
56
57%clean
58rm -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.079958 seconds and 4 git commands to generate.