]> git.pld-linux.org Git - packages/sipp.git/blob - sipp.spec
- new spec
[packages/sipp.git] / sipp.spec
1 #
2 Summary:        SIPp - a performance testing tool for the SIP protocol
3 Name:           sipp
4 Version:        3.0
5 Release:        1
6 License:        GPL v2+ except two files under BSD
7 Group:          Applications
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)
16
17 %description
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.
27
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
31 system.
32
33 %prep
34 %setup -q -n %{name}-%{version}.src
35
36 %build
37
38 %{__make} pcapplay_ossl \
39         CC="%{__cc}" \
40         CPP="%{__cxx}" \
41         CCLINK="%{__cxx}" \
42         EXTRACFLAGS="%{rpmcflags}" \
43         EXTRACPPFLAGS="%{rpmcxxflags}" \
44         EXTRALFLAGS="%{rpmldflags}" \
45         INCDIR="-I. -I/usr/include/ncurses"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_bindir}
50 install sipp $RPM_BUILD_ROOT%{_bindir}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc LICENSE.txt MEDIA.txt README.txt pcap tools
58 %attr(755,root,root) %{_bindir}/*
This page took 0.07446 seconds and 3 git commands to generate.