]> git.pld-linux.org Git - packages/sipp.git/blob - sipp.spec
- pl, more BRs
[packages/sipp.git] / sipp.spec
1 #
2 # Conditional build:
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
7 Summary:        SIPp - a performance testing tool for the SIP protocol
8 Summary(pl.UTF-8):      SIPp - narzędzie do testowania wydajności protokołu SIP
9 Name:           sipp
10 Version:        3.5.1
11 Release:        2
12 License:        GPL v2+ except two files under BSD
13 Group:          Applications/Communications
14 #Source0Download: https://github.com/SIPp/sipp/releases/
15 Source0:        https://github.com/SIPp/sipp/releases/download/v%{version}/%{name}-%{version}.tar.gz
16 # Source0-md5:  c14e4c84975337ce952f03a38ddba7ec
17 Patch0:         %{name}-OPTIONS_is_ping.patch
18 URL:            http://sipp.sourceforge.net/
19 BuildRequires:  gsl-devel
20 BuildRequires:  help2man
21 BuildRequires:  libpcap-devel
22 BuildRequires:  libsctp-devel
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
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
61 %prep
62 %setup -q
63 %{?with_options_is_ping:%patch0 -p1}
64
65 %build
66 %configure \
67         --disable-silent-rules \
68         --enable-epoll \
69         --with-openssl \
70         --with-pcap \
71         --with-sctp \
72         --with-gsl
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %files
85 %defattr(644,root,root,755)
86 %doc CHANGES.md FAQ.md LICENSE.txt README.md THANKS
87 %attr(755,root,root) %{_bindir}/sipp
88 %{_mandir}/man1/sipp.1*
This page took 0.103013 seconds and 3 git commands to generate.