]>
Commit | Line | Data |
---|---|---|
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 | 7 | Summary: SIPp - a performance testing tool for the SIP protocol |
cd6d1c47 | 8 | Summary(pl.UTF-8): SIPp - narzędzie do testowania wydajności protokołu SIP |
babbdfd4 | 9 | Name: sipp |
a334bcdf | 10 | Version: 3.5.1 |
0109d39a | 11 | Release: 2 |
babbdfd4 | 12 | License: GPL v2+ except two files under BSD |
cd6d1c47 JB |
13 | Group: Applications/Communications |
14 | #Source0Download: https://github.com/SIPp/sipp/releases/ | |
a334bcdf | 15 | Source0: https://github.com/SIPp/sipp/releases/download/v%{version}/%{name}-%{version}.tar.gz |
31a170fc | 16 | # Source0-md5: c14e4c84975337ce952f03a38ddba7ec |
a334bcdf | 17 | Patch0: %{name}-OPTIONS_is_ping.patch |
babbdfd4 | 18 | URL: http://sipp.sourceforge.net/ |
a334bcdf | 19 | BuildRequires: gsl-devel |
cd6d1c47 | 20 | BuildRequires: help2man |
babbdfd4 | 21 | BuildRequires: libpcap-devel |
cd6d1c47 | 22 | BuildRequires: libsctp-devel |
babbdfd4 JK |
23 | BuildRequires: libstdc++-devel |
24 | BuildRequires: ncurses-devel | |
25 | BuildRequires: openssl-devel | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | SIPp is a performance testing tool for the SIP protocol. It includes a | |
30 | few basic SipStone user agent scenarios (UAC and UAS) and establishes | |
31 | and releases multiple calls with the INVITE and BYE methods. It can | |
32 | also reads XML scenario files describing any performance testing | |
33 | configuration. It features the dynamic display of statistics about | |
34 | running tests (call rate, round trip delay, and message statistics), | |
35 | periodic CSV statistics dumps, TCP and UDP over multiple sockets or | |
36 | multiplexed with retransmission management, regular expressions and | |
37 | variables in scenario files, and dynamically adjustable call rates. | |
38 | ||
39 | SIPp can be used to test many real SIP equipements like SIP proxies, | |
40 | B2BUAs, SIP media servers, SIP/x gateways, SIP PBX, ... It is also | |
41 | very useful to emulate thousands of user agents calling your SIP | |
42 | system. | |
43 | ||
cd6d1c47 JB |
44 | %description -l pl.UTF-8 |
45 | SIPp to narzędzie do testowania wydajności protokołu SIP. Zawiera | |
46 | kilka podstawowych scenrariuszy klienta SipStone (UAC i UAS); | |
47 | nawiązuje i zwalnia wiele połączeń przy użyciu metod INVITE i BYE. | |
48 | Potrafi czytać także pliki scenariuszy w formacie XML, opisujące | |
49 | dowolną konfigurację testowania wydajności. Ma dynamiczne wyświetlanie | |
50 | statystyk działających testów (częstość połączeń, opóźnienie pakietów, | |
51 | statystyki komunikatów), okresowe zrzuty statystyk w formacie CSV, | |
52 | połączenia TCP i UDP na wielu gniazdach lub miltipleksowane z | |
53 | zarządzaniem retransmisją, wyrażenia regularne i zmienne w plikach | |
54 | scenariuszy oraz dynamicznie modyfikowaną częstość połączeń. | |
55 | ||
56 | SIPp może być używany do testowania wielu rzeczywistych urządzeń SIP, | |
57 | takich jak proxy SIP, B2BUA, serwery mediów SIP, bramki SIP/x, PBX-y | |
58 | SIP... Jest także przydatny do emulowania tysięcy klientów dzwoniących | |
59 | do 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 | |
76 | rm -rf $RPM_BUILD_ROOT | |
a334bcdf AM |
77 | |
78 | %{__make} install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT | |
babbdfd4 JK |
80 | |
81 | %clean | |
82 | rm -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* |