]> git.pld-linux.org Git - packages/sipp.git/blame - sipp.spec
- release 3 (by relup.sh)
[packages/sipp.git] / sipp.spec
CommitLineData
cd6d1c47
JB
1#
2# Conditional build:
3807eea2
JK
3%bcond_with options_is_ping # make sipp treat OPTIONS same as PING
4 # changes sipp behaviour, but that is
5 # what everybody use for 'pinging'
6
babbdfd4 7Summary: SIPp - a performance testing tool for the SIP protocol
cd6d1c47 8Summary(pl.UTF-8): SIPp - narzędzie do testowania wydajności protokołu SIP
babbdfd4 9Name: sipp
a334bcdf 10Version: 3.5.1
f45614ac 11Release: 3
babbdfd4 12License: GPL v2+ except two files under BSD
cd6d1c47
JB
13Group: Applications/Communications
14#Source0Download: https://github.com/SIPp/sipp/releases/
a334bcdf 15Source0: https://github.com/SIPp/sipp/releases/download/v%{version}/%{name}-%{version}.tar.gz
31a170fc 16# Source0-md5: c14e4c84975337ce952f03a38ddba7ec
a334bcdf 17Patch0: %{name}-OPTIONS_is_ping.patch
babbdfd4 18URL: http://sipp.sourceforge.net/
a334bcdf 19BuildRequires: gsl-devel
cd6d1c47 20BuildRequires: help2man
babbdfd4 21BuildRequires: libpcap-devel
cd6d1c47 22BuildRequires: libsctp-devel
babbdfd4
JK
23BuildRequires: libstdc++-devel
24BuildRequires: ncurses-devel
25BuildRequires: openssl-devel
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29SIPp is a performance testing tool for the SIP protocol. It includes a
30few basic SipStone user agent scenarios (UAC and UAS) and establishes
31and releases multiple calls with the INVITE and BYE methods. It can
32also reads XML scenario files describing any performance testing
33configuration. It features the dynamic display of statistics about
34running tests (call rate, round trip delay, and message statistics),
35periodic CSV statistics dumps, TCP and UDP over multiple sockets or
36multiplexed with retransmission management, regular expressions and
37variables in scenario files, and dynamically adjustable call rates.
38
39SIPp can be used to test many real SIP equipements like SIP proxies,
40B2BUAs, SIP media servers, SIP/x gateways, SIP PBX, ... It is also
41very useful to emulate thousands of user agents calling your SIP
42system.
43
cd6d1c47
JB
44%description -l pl.UTF-8
45SIPp to narzędzie do testowania wydajności protokołu SIP. Zawiera
46kilka podstawowych scenrariuszy klienta SipStone (UAC i UAS);
47nawiązuje i zwalnia wiele połączeń przy użyciu metod INVITE i BYE.
48Potrafi czytać także pliki scenariuszy w formacie XML, opisujące
49dowolną konfigurację testowania wydajności. Ma dynamiczne wyświetlanie
50statystyk działających testów (częstość połączeń, opóźnienie pakietów,
51statystyki komunikatów), okresowe zrzuty statystyk w formacie CSV,
52połączenia TCP i UDP na wielu gniazdach lub miltipleksowane z
53zarządzaniem retransmisją, wyrażenia regularne i zmienne w plikach
54scenariuszy oraz dynamicznie modyfikowaną częstość połączeń.
55
56SIPp może być używany do testowania wielu rzeczywistych urządzeń SIP,
57takich jak proxy SIP, B2BUA, serwery mediów SIP, bramki SIP/x, PBX-y
58SIP... Jest także przydatny do emulowania tysięcy klientów dzwoniących
59do systemu SIP.
60
babbdfd4 61%prep
aaa207f1 62%setup -q
a334bcdf 63%{?with_options_is_ping:%patch0 -p1}
babbdfd4
JK
64
65%build
a334bcdf
AM
66%configure \
67 --disable-silent-rules \
68 --enable-epoll \
69 --with-openssl \
70 --with-pcap \
71 --with-sctp \
72 --with-gsl
73%{__make}
babbdfd4
JK
74
75%install
76rm -rf $RPM_BUILD_ROOT
a334bcdf
AM
77
78%{__make} install \
79 DESTDIR=$RPM_BUILD_ROOT
babbdfd4
JK
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files
85%defattr(644,root,root,755)
cd6d1c47 86%doc CHANGES.md FAQ.md LICENSE.txt README.md THANKS
a334bcdf
AM
87%attr(755,root,root) %{_bindir}/sipp
88%{_mandir}/man1/sipp.1*
This page took 0.088038 seconds and 4 git commands to generate.