]> git.pld-linux.org Git - packages/sipp.git/blob - sipp.spec
Version: 3.3
[packages/sipp.git] / sipp.spec
1 #
2 Summary:        SIPp - a performance testing tool for the SIP protocol
3 Name:           sipp
4 Version:        3.3
5 Release:        1
6 License:        GPL v2+ except two files under BSD
7 Group:          Applications
8 Source0:        http://dl.sourceforge.net/sipp/%{name}-%{version}.tar.xz
9 # Source0-md5:  f0c4f472fa86de8a528cb91616323617
10 Patch0:         %{name}-headers.patch
11 Patch1:         %{name}-sprintf.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
40 %build
41
42 %{__make} pcapplay_ossl \
43         CC="%{__cc}" \
44         CPP="%{__cxx}" \
45         CCLINK="%{__cxx}" \
46         EXTRACFLAGS="%{rpmcflags}" \
47         EXTRACPPFLAGS="%{rpmcxxflags}" \
48         EXTRALFLAGS="%{rpmldflags}" \
49         INCDIR="-I. -I/usr/include/ncurses"
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_bindir}
54 install sipp $RPM_BUILD_ROOT%{_bindir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc LICENSE.txt MEDIA.txt README.txt pcap tools
62 %attr(755,root,root) %{_bindir}/*
This page took 0.073441 seconds and 3 git commands to generate.