-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython3-opensips.spec
More file actions
76 lines (62 loc) · 2.28 KB
/
Copy pathpython3-opensips.spec
File metadata and controls
76 lines (62 loc) · 2.28 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: A collection of Python packages for OpenSIPS.
Name: python3-opensips
Version: 0.1.9.20260522.6f194cf
Release: 1%{?dist}
License: GPL-3+
Group: System Environment/Daemons
Source0: http://download.opensips.org/python/%{name}-%{version}.tar.gz
URL: https://github.com/OpenSIPS/python-opensips
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
AutoReqProv: no
Requires: python3 >= 3.6
%description
A collection of Python packages for OpenSIPS.
These modules are designed to be as lightweight as possible and provide a
simple interface for interacting with OpenSIPS.
.
OpenSIPS is a very fast and flexible SIP (RFC3261)
server. Written entirely in C, OpenSIPS can handle thousands of 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
install -d %{buildroot}%{bash_completions_dir}/
install -Dpm 0644 utils/completion/python-opensips -t %{buildroot}%{bash_completions_dir}/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_bindir}/opensips-event
%{_bindir}/opensips-mi
%{python3_sitelib}/opensips/*
%{python3_sitelib}/opensips-*.egg-info
%{bash_completions_dir}/python-opensips
%doc README.md
%doc docs/*
%license LICENSE
%changelog
* Thu Feb 19 2026 Razvan Crainea <razvan@opensips.org> - 0.1.8-1
- Use setuptools-based RPM build macros for EL compatibility
* Tue Feb 11 2025 Darius Stefan <darius.stefan@opensips.org> - 0.1.5-1
- Set default communication type to fifo
- Set correct default values for fifo communication
* Mon Dec 09 2024 Razvan Crainea <razvan@opensips.org> - 0.1.4-1
- Fix logging of mi script
- Add completion
* Tue Nov 19 2024 Razvan Crainea <razvan@opensips.org> - 0.1.3-3
- Initial spec.