]> git.pld-linux.org Git - packages/sipp.git/blame - sipp.spec
- md5
[packages/sipp.git] / sipp.spec
CommitLineData
3807eea2
JK
1
2%bcond_with options_is_ping # make sipp treat OPTIONS same as PING
3 # changes sipp behaviour, but that is
4 # what everybody use for 'pinging'
5
babbdfd4
JK
6Summary: SIPp - a performance testing tool for the SIP protocol
7Name: sipp
a334bcdf 8Version: 3.5.1
aaa207f1 9Release: 1
babbdfd4
JK
10License: GPL v2+ except two files under BSD
11Group: Applications
a334bcdf 12Source0: https://github.com/SIPp/sipp/releases/download/v%{version}/%{name}-%{version}.tar.gz
31a170fc 13# Source0-md5: c14e4c84975337ce952f03a38ddba7ec
a334bcdf 14Patch0: %{name}-OPTIONS_is_ping.patch
babbdfd4 15URL: http://sipp.sourceforge.net/
a334bcdf 16BuildRequires: gsl-devel
babbdfd4
JK
17BuildRequires: libpcap-devel
18BuildRequires: libstdc++-devel
19BuildRequires: ncurses-devel
20BuildRequires: openssl-devel
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24SIPp is a performance testing tool for the SIP protocol. It includes a
25few basic SipStone user agent scenarios (UAC and UAS) and establishes
26and releases multiple calls with the INVITE and BYE methods. It can
27also reads XML scenario files describing any performance testing
28configuration. It features the dynamic display of statistics about
29running tests (call rate, round trip delay, and message statistics),
30periodic CSV statistics dumps, TCP and UDP over multiple sockets or
31multiplexed with retransmission management, regular expressions and
32variables in scenario files, and dynamically adjustable call rates.
33
34SIPp can be used to test many real SIP equipements like SIP proxies,
35B2BUAs, SIP media servers, SIP/x gateways, SIP PBX, ... It is also
36very useful to emulate thousands of user agents calling your SIP
37system.
38
39%prep
aaa207f1 40%setup -q
a334bcdf 41%{?with_options_is_ping:%patch0 -p1}
babbdfd4
JK
42
43%build
a334bcdf
AM
44%configure \
45 --disable-silent-rules \
46 --enable-epoll \
47 --with-openssl \
48 --with-pcap \
49 --with-sctp \
50 --with-gsl
51%{__make}
babbdfd4
JK
52
53%install
54rm -rf $RPM_BUILD_ROOT
a334bcdf
AM
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
babbdfd4
JK
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
a334bcdf
AM
64%doc CHANGES.md FAQ.md README.md THANKS
65%attr(755,root,root) %{_bindir}/sipp
66%{_mandir}/man1/sipp.1*
This page took 0.081706 seconds and 4 git commands to generate.