-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopensips-cli.spec
More file actions
76 lines (65 loc) · 2.07 KB
/
Copy pathopensips-cli.spec
File metadata and controls
76 lines (65 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Summary: Interactive command-line tool for OpenSIPS 3.0+
Name: opensips-cli
Version: 0.4.0.20260522.570a9a9
Release: 1%{?dist}
License: GPL-3+
Group: System Environment/Daemons
Source0: Source0: http://download.opensips.org/cli/%{name}-%{version}.tar.gz
URL: http://opensips.org
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
AutoReqProv: no
Requires: python3
%if 0%{?rhel} == 7
Requires: python36-sqlalchemy >= 1.3.16
Requires: python36-PyMySQL
Requires: python36-pyOpenSSL
%else
Requires: python3-sqlalchemy >= 1.3.16
Requires: python3-PyMySQL
Requires: python3-pyOpenSSL
%endif
Requires: python3-opensips
%description
This package contains the OpenSIPS CLI tool, an interactive command line tool
that can be used to control and monitor OpenSIPS 3.0+ servers.
.
OpenSIPS is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, OpenSIPS can handle thousands calls
per second even on low-budget hardware.
.
C Shell-like scripting language provides full control over the server's
behaviour. Its modular architecture allows only required functionality to be
loaded.
.
Among others, the following modules are available: Digest Authentication, CPL
scripts, Instant Messaging, MySQL support, Presence Agent, Radius
Authentication, Record Routing, SMS Gateway, Jabber/XMPP Gateway, Transaction
Module, Registrar and User Location, Load Balancing/Dispatching/LCR,
XMLRPC Interface.
%prep
%autosetup -n %{name}-%{version}
%build
%py3_build
%install
%py3_install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_bindir}/opensips-cli
%{python3_sitelib}/opensipscli/*
%{python3_sitelib}/opensipscli-*.egg-info
%doc README.md
%doc docs/*
%doc etc/default.cfg
%license LICENSE
%changelog
* Fri May 8 2026 Razvan Crainea <razvan@opensips.org> - 0.4.0-0
- Bump package version to 0.4.0.
* Thu Aug 27 2020 Liviu Chircu <liviu@opensips.org> - 0.1-2
- Update package summary.
* Fri Jan 3 2020 Nick Altmann <nick.altmann@gmail.com> - 0.1-1
- Initial spec.