]> git.pld-linux.org Git - packages/opensips.git/blame - opensips.spec
- rel 1
[packages/opensips.git] / opensips.spec
CommitLineData
5450acf0 1# TODO: oracle, system wolfssl
91565b21
JK
2#
3# Conditional build:
8875fcb7 4%bcond_without mysql # MySQL support
91565b21 5%bcond_without pgsql # PostgreSQL support
1385cae0 6%bcond_without sqlite # Sqlite3 support
91565b21
JK
7%bcond_without odbc # ODBC support
8%bcond_without radius # radius support
39033727 9%bcond_without carrierroute # carrierroute support
e12422e8 10%bcond_without ldap # LDAP support
91565b21 11%bcond_with osp # ETSI OSP VoIP Peering support
d186c54b 12%bcond_without geoip # GeoIP
bb55e231
MM
13%bcond_without json # json support
14%bcond_without memcached # memcached support
b229b45a 15%bcond_without microhttpd # httpd support
7900173f 16%bcond_without kafka # Apache Kafka support
b229b45a 17%bcond_without redis # Redis support
8ef526a2 18%bcond_with couchbase # couchbase support
e9d1362e 19%bcond_with mongodb # mongodb support
5a482e4a 20%bcond_with sngtc # Sangoma transcoding module support
1385cae0 21%bcond_without rabbitmq # Rabbit MQ support
7900173f 22%bcond_with wolfssl # WolfSSL support (builds internal WolfSSL :( )
b3ea057a 23
91565b21 24Summary: SIP proxy, redirect and registrar server
8533d516 25Summary(pl.UTF-8): Serwer SIP przekazujący (proxy), przekierowujący i rejestrujący
91565b21 26Name: opensips
7900173f 27Version: 3.4.1
69699f2f 28Release: 1
91565b21
JK
29License: GPL v2
30Group: Networking/Daemons
8875fcb7 31Source0: https://opensips.org/pub/opensips/%{version}/%{name}-%{version}.tar.gz
7900173f 32# Source0-md5: e889ffaddf770e945e77ebeca5f30fa4
91565b21
JK
33Source1: %{name}.init
34Source2: %{name}.sysconfig
3a565fc3 35Source3: %{name}.service
f274b6d5 36Patch0: x32.patch
7900173f 37Patch1: make-4.4.patch
8875fcb7 38URL: https://opensips.org/
91565b21 39%{?with_osp:BuildRequires: OSPToolkit}
1385cae0 40%{?with_sngtc:BuildRequires: TODO-SNGTC-BRs}
91565b21 41BuildRequires: bison
b3ea057a 42BuildRequires: curl-devel
8875fcb7 43BuildRequires: db-devel
91565b21
JK
44BuildRequires: expat-devel
45BuildRequires: flex
b229b45a 46%{?with_redis:BuildRequires: hiredis-devel}
bb55e231 47%{?with_json:BuildRequires: json-c-devel}
39033727 48%{?with_carrierroute:BuildRequires: libconfuse-devel}
1385cae0 49%{?with_couchbase:BuildRequires: libcouchbase-devel}
8875fcb7 50%{?with_geoip:BuildRequires: libmaxminddb-devel}
bb55e231 51%{?with_memcached:BuildRequires: libmemcached-devel}
395b4eda 52%{?with_microhttpd:BuildRequires: libmicrohttpd-devel}
91565b21 53%{?with_pgsql:BuildRequires: libpqxx-devel}
f124c287 54BuildRequires: libsctp-devel
8875fcb7 55%{?with_osp:BuildRequires: libutf8proc-devel}
d410466d 56BuildRequires: libuuid-devel
8875fcb7 57BuildRequires: libxml2-devel >= 2.0
7a62a277 58BuildRequires: libxslt-progs
5450acf0 59BuildRequires: lua54-devel
7a62a277 60#BuildRequires: lynx
8875fcb7 61%{?with_mongodb:BuildRequires: mongo-c-driver-devel >= 1.0}
91565b21
JK
62%{?with_mysql:BuildRequires: mysql-devel}
63BuildRequires: net-snmp-devel
e12422e8 64%{?with_ldap:BuildRequires: openldap-devel}
91565b21 65BuildRequires: openssl-devel
7a62a277 66BuildRequires: pcre-devel
91565b21 67BuildRequires: perl-devel
7a62a277 68BuildRequires: perl-tools-devel
8875fcb7
JB
69BuildRequires: pkgconfig
70BuildRequires: python-devel >= 1:2.5
1385cae0 71%{?with_rabbitmq:BuildRequires: rabbitmq-c-devel}
91565b21 72%{?with_radius:BuildRequires: radiusclient-ng-devel}
7900173f 73%{?with_kafka:BuildRequires: librdkafka-devel}
7a62a277 74BuildRequires: rpm-pythonprov
3a565fc3 75BuildRequires: rpmbuild(macros) >= 1.671
8875fcb7 76%{?with_sqlite:BuildRequires: sqlite3-devel >= 3}
7a62a277 77#BuildRequires: subversion
91565b21 78%{?with_odbc:BuildRequires: unixODBC-devel}
7a62a277 79BuildRequires: which
7900173f 80BuildRequires: xmlrpc-c-devel >= 1.10.0
91565b21
JK
81BuildRequires: zlib-devel
82Requires(post,preun): /sbin/chkconfig
83Requires: rc-scripts
3a565fc3 84Requires: systemd-units >= 38
cee7c8ca 85Suggests: python-modules
91565b21
JK
86BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
87
7900173f 88# aaa_diameter requires 'freeDiameter/extension.h'
b229b45a 89# cachedb_cassandra requires 'protocol/TBinaryProtocol.h'
5450acf0 90%define exclude_modules aaa_diameter auth_jwt db_oracle cachedb_cassandra
91565b21
JK
91
92%description
93OpenSIPS (Open SIP Server) is a mature Open Source implementation of a
94SIP server. OpenSIPS is more than a SIP proxy/router as it includes
95application-level functionalities. OpenSIPS, as a SIP server, is the
96core component of any SIP-based VoIP solution. With a very flexible
97and customizable routing engine, OpenSIPS 'unifies voice, video, IM
98and presence services in a highly efficient way, thanks to its
99scalable (modular) design.
100
8533d516
JB
101%description -l pl.UTF-8
102OpenSIPS (Open SIP Server) to dojrzała, mająca otwarte źródła
103implementacja serwera SIP. OpenSIPS to więcej niż proxy/router SIP,
104jako że zawiera funkcje na poziomie aplikacji. OpenSIPS, jako serwer
105SIP, jest głównym składnikiem dowolnego rozwiązania VoIP opartego na
106SIP. Z bardzo elastycznym i konfigurowalnym silnikiem trasującym,
107łączy usługi głosowe, wideo, komunikatorów oraz obecności w bardzo
108wydajny sposób, dzięki skalowalnej, modularnej budowie.
109
91565b21
JK
110%package mysql
111Summary: openSIPS MySQL module
112Summary(pl.UTF-8): Moduł MySQL do openSIPS
113Group: Networking/Daemons
114Requires: %{name} = %{version}-%{release}
115
116%description mysql
117MySQL module for openSIPS.
118
119%description mysql -l pl.UTF-8
120Moduł MySQL do openSIPS.
121
122%package postgres
123Summary: openSIPS PostgreSQL module
124Summary(pl.UTF-8): Moduł PostgreSQL do openSIPS
125Group: Networking/Daemons
126Requires: %{name} = %{version}-%{release}
127
128%description postgres
129PostgreSQL module for openSIPS.
130
131%description postgres -l pl.UTF-8
132Moduł PostgreSQL do openSIPS.
133
1385cae0
JR
134%package sqlite3
135Summary: openSIPS Sqlite3 module
136Summary(pl.UTF-8): Moduł Sqlite3 do openSIPS
137Group: Networking/Daemons
138Requires: %{name} = %{version}-%{release}
139
140%description sqlite3
141Sqlite3 module for openSIPS.
142
143%description sqlite3 -l pl.UTF-8
144Moduł Sqlite3 do openSIPS.
145
bb55e231
MM
146%package json
147Summary: openSIPS JSON module
148Summary(pl.UTF-8): Moduł JSON do openSIPS
149Group: Networking/Daemons
150Requires: %{name} = %{version}-%{release}
151
152%description json
153JSON module for openSIPS.
154
155%description json -l pl.UTF-8
156Moduł JSON do openSIPS.
157
1385cae0
JR
158%package cgrates
159Summary: openSIPS CGRateS module
160Summary(pl.UTF-8): Moduł CGRateS do openSIPS
161Group: Networking/Daemons
162Requires: %{name} = %{version}-%{release}
163
164%description cgrates
165CGRateS module for openSIPS.
166
167%description cgrates -l pl.UTF-8
168Moduł CGRateS do openSIPS.
169
bb55e231
MM
170%package memcached
171Summary: openSIPS memcached module
172Summary(pl.UTF-8): Moduł memcached do openSIPS
173Group: Networking/Daemons
174Requires: %{name} = %{version}-%{release}
175
176%description memcached
177Memcached module for openSIPS.
178
179%description memcached -l pl.UTF-8
180Moduł memcached do openSIPS.
181
91565b21
JK
182%package radius
183Summary: openSIPS Radius module
184Summary(pl.UTF-8): Moduł Radius do openSIPS
185Group: Networking/Daemons
186Requires: %{name} = %{version}-%{release}
187
188%description radius
189Radius module for openSIPS.
190
191%description radius -l pl.UTF-8
192Moduł Radius do openSIPS.
193
194%package odbc
195Summary: openSIPS ODBC module
196Summary(pl.UTF-8): Moduł ODBC do openSIPS
197Group: Networking/Daemons
198Requires: %{name} = %{version}-%{release}
199
200%description odbc
201ODBC module for openSIPS.
202
203%description odbc -l pl.UTF-8
204Moduł ODBC do openSIPS.
205
206%package perl
207Summary: openSIPS perl and perlvdb modules
208Summary(pl.UTF-8): Moduły perl i perlvdb do openSIPS
209Group: Networking/Daemons
210Requires: %{name} = %{version}-%{release}
211
212%description perl
213Perl modules (perl & perlvdb) for openSIPS.
214
215%description perl -l pl.UTF-8
216Moduły perl i perlvdb do openSIPS.
217
218%package xmpp
219Summary: openSIPS XMPP/Jabber modules
220Summary(pl.UTF-8): Moduły XMPP/Jabber do openSIPS
221Group: Networking/Daemons
222Requires: %{name} = %{version}-%{release}
223Obsoletes: opensips-jabber
224
225%description xmpp
226XMPP/Jabber modules for openSIPS.
227
228%description xmpp -l pl.UTF-8
229Moduły XMPP/Jabber do openSIPS.
230
d186c54b
JK
231%package ldap
232Summary: openSIPS LDAP and H350 modules
233Summary(pl.UTF-8): Moduły LDAP i H350 do openSIPS
234Group: Networking/Daemons
235Requires: %{name} = %{version}-%{release}
236
237%description ldap
b3ea057a 238LDAP and H350 modules for openSIPS.
d186c54b
JK
239
240%description ldap -l pl.UTF-8
241Moduły LDAP i H350 do openSIPS.
242
243%package carrierroute
244Summary: openSIPS Carrierroute module
245Summary(pl.UTF-8): Moduł Carrierroute do openSIPS
246Group: Networking/Daemons
247Requires: %{name} = %{version}-%{release}
248
249%description carrierroute
250Carrierroute module for openSIPS.
251
252%description carrierroute -l pl.UTF-8
253Moduł Carrierroute do openSIPS.
254
255%package osp
256Summary: openSIPS OSP module
257Summary(pl.UTF-8): Moduł OSP do openSIPS
258Group: Networking/Daemons
259Requires: %{name} = %{version}-%{release}
260
261%description osp
262OSP module for openSIPS.
263
264%description osp -l pl.UTF-8
265Moduł OSP do openSIPS.
266
267%package mmgeoip
268Summary: openSIPS MaxMind GeoIP module
269Summary(pl.UTF-8): Moduł MaxMind GeoIP do openSIPS
270Group: Networking/Daemons
271Requires: %{name} = %{version}-%{release}
272
273%description mmgeoip
274MaxMind GeoIP module for openSIPS.
275
276%description mmgeoip -l pl.UTF-8
277Moduł MaxMind GeoIP do openSIPS.
278
91565b21
JK
279%package snmpstats
280Summary: openSIPS SNMP statistics module
281Summary(pl.UTF-8): Moduł do statystyk SNMP do openSIPS
282Group: Networking/Daemons
283Requires: %{name} = %{version}-%{release}
284
285%description snmpstats
286openSIPS SNMP statistics module.
287
288%description snmpstats -l pl.UTF-8
289Moduł do statystyk SNMP do openSIPS.
290
b3ea057a 291%package -n mibs-%{name}
91565b21
JK
292Summary: MIBs for openSIPS
293Summary(pl.UTF-8): MIB-y dla openSIPS
294Group: Applications/System
b3ea057a 295Requires: mibs-dirs
96b7d304 296Requires: mibs-net-snmp
b3ea057a 297Obsoletes: opensips-mibs
91565b21 298
b3ea057a 299%description -n mibs-%{name}
91565b21
JK
300MIBs for openSIPS.
301
b3ea057a 302%description -n mibs-%{name} -l pl.UTF-8
91565b21
JK
303MIB-y dla openSIPS.
304
b229b45a
JK
305%package redis
306Summary: Redis interface for openSIPS
307Summary(pl.UTF-8): Moduł Redis do openSIPS
308Group: Networking/Daemons
309Requires: %{name} = %{version}-%{release}
310
311%description redis
312Redis interface for openSIPS.
313
314%description redis -l pl.UTF-8
315Moduł Redis do openSIPS.
316
317%package httpd
318Summary: HTTP interface to openSIPS
319Summary(pl.UTF-8): Interfejs HTTP do openSIPS
320Group: Networking/Daemons
321Requires: %{name} = %{version}-%{release}
322
323%description httpd
324HTTP interface to openSIPS.
325
326%description httpd -l pl.UTF-8
327Interfejs HTTP do openSIPS.
328
1385cae0
JR
329%package rabbitmq
330Summary: RabbitMQ interface to openSIPS
331Summary(pl.UTF-8): Interfejs RabbitMQ do openSIPS
332Group: Networking/Daemons
333Requires: %{name} = %{version}-%{release}
334
335%description rabbitmq
336RabbitMQ interface to openSIPS.
337
338%description rabbitmq -l pl.UTF-8
339Interfejs RabbitMQ do openSIPS.
340
7900173f
JR
341%package kafka
342Summary: Apache Kafka interface to openSIPS
343Summary(pl.UTF-8): Interfejs Apache Kafka do openSIPS
344Group: Networking/Daemons
345Requires: %{name} = %{version}-%{release}
346
347%description kafka
348Apache Kafka interface to openSIPS.
349
350%description kafka -l pl.UTF-8
351Interfejs Apache Kafka do openSIPS.
352
91565b21 353%prep
5a482e4a 354%setup -q
f274b6d5
JR
355%patch0 -p1
356%patch1 -p1
91565b21 357
7900173f 358%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python3}\1,' \
3463c3dc
JR
359 scripts/dbtextdb/dbtextdb.py
360
91565b21
JK
361%build
362exclude_modules="%{exclude_modules}"
b229b45a
JK
363%if %{without redis}
364exclude_modules="$exclude_modules cachedb_redis"
365%endif
e12422e8
JK
366%if %{without ldap}
367exclude_modules="$exclude_modules h350 ldap"
368%endif
39033727
JK
369%if %{without carrierroute}
370exclude_modules="$exclude_modules carrierroute"
371%endif
91565b21
JK
372%if %{without osp}
373exclude_modules="$exclude_modules osp"
374%endif
b229b45a
JK
375%if %{without microhttpd}
376exclude_modules="$exclude_modules httpd"
377%endif
91565b21 378%if %{without mysql}
e151e7fa 379exclude_modules="$exclude_modules db_mysql"
91565b21
JK
380%endif
381%if %{without pgsql}
e151e7fa 382exclude_modules="$exclude_modules db_postgres"
91565b21 383%endif
1385cae0
JR
384%if %{without sqlite}
385exclude_modules="$exclude_modules db_sqlite"
386%endif
91565b21 387%if %{without odbc}
e151e7fa 388exclude_modules="$exclude_modules db_unixodbc"
91565b21 389%endif
d186c54b
JK
390%if %{without geoip}
391exclude_modules="$exclude_modules mmgeoip"
392%endif
91565b21 393%if %{without radius}
bb55e231
MM
394exclude_modules="$exclude_modules aaa_radius"
395%endif
396%if %{without json}
397exclude_modules="$exclude_modules json"
1385cae0 398exclude_modules="$exclude_modules cgrates"
bb55e231
MM
399%endif
400%if %{without memcached}
57aba727 401exclude_modules="$exclude_modules cachedb_memcached"
91565b21 402%endif
5a482e4a
MM
403%if %{without couchbase}
404exclude_modules="$exclude_modules cachedb_couchbase"
405%endif
406%if %{without mongodb}
407exclude_modules="$exclude_modules cachedb_mongodb"
408%endif
409%if %{without sngtc}
410exclude_modules="$exclude_modules sngtc"
411%endif
1385cae0
JR
412%if %{without rabbitmq}
413exclude_modules="$exclude_modules rabbitmq"
414%endif
7900173f
JR
415%if %{without wolfssl}
416exclude_modules="$exclude_modules tls_wolfssl"
417%endif
418%if %{without kafka}
419exclude_modules="$exclude_modules event_kafka"
420%endif
91565b21 421echo "$exclude_modules" > exclude_modules
7900173f 422DFLAGS="%{rpmldflags}" \
5450acf0 423LIB_LUA_NAME=lua5.4 \
91565b21 424%{__make} all \
7900173f 425 PYTHON=%{__python3} \
a2934690 426 Q= \
91565b21 427 exclude_modules="$exclude_modules" \
f274b6d5
JR
428 prefix=%{_prefix} \
429 PREFIX=%{_prefix} \
430 LIBDIR=%{_lib} \
d410466d 431 cfg_prefix=$RPM_BUILD_ROOT \
d9974d19
JR
432 cfg_target=%{_sysconfdir}/opensips/ \
433 RADIUSCLIENT=RADIUSCLIENT \
91565b21 434 CC="%{__cc}" \
a2934690 435 CC_EXTRA_OPTS="-I/usr/include/ncurses" \
e10550a7 436 CFLAGS="%{rpmcflags} -Wcast-align"
91565b21
JK
437
438%install
439rm -rf $RPM_BUILD_ROOT
3a565fc3
JK
440install -d $RPM_BUILD_ROOT%{_sysconfdir}/{ser,sysconfig,rc.d/init.d} \
441 -d $RPM_BUILD_ROOT%{systemdunitdir}
91565b21
JK
442
443exclude_modules="$(cat exclude_modules)"
b713461a 444%{__make} install -j1 \
a2934690 445 Q= \
91565b21 446 exclude_modules="$exclude_modules" \
f274b6d5
JR
447 prefix=%{_prefix} \
448 PREFIX=%{_prefix} \
449 LIBDIR=%{_lib} \
450 BASEDIR=$RPM_BUILD_ROOT \
d410466d
JR
451 cfg_prefix=$RPM_BUILD_ROOT \
452cfg_target=%{_sysconfdir}/opensips/ \
b3ea057a 453 INSTALLMIBDIR=$RPM_BUILD_ROOT%{_datadir}/mibs
91565b21
JK
454
455for i in modules/*; do \
456 i=$(basename $i)
457 [ -f modules/$i/README ] && cp -f modules/$i/README README.$i; \
458done
459
e257f07a 460# contains the same files we install in %doc
551f7076 461%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
91565b21
JK
462
463#cd doc/serdev
464#docbook2html serdev.sgml
465#rm -f serdev.sgml
466#cd ../seruser
467#docbook2html seruser.sgml
468#rm -f seruser.sgml
469#cd ../..
470
1385cae0
JR
471cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/opensips
472cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/opensips
473cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/opensips.service
91565b21
JK
474
475%clean
476rm -rf $RPM_BUILD_ROOT
477
478%post
479/sbin/chkconfig --add opensips
b3ea057a 480%service opensips restart "SIP Daemon"
3a565fc3 481%systemd_post opensips.service
91565b21
JK
482
483%preun
3a565fc3 484%systemd_preun opensips.service
91565b21
JK
485if [ "$1" = "0" ]; then
486 %service opensips stop
487 /sbin/chkconfig --del opensips
488fi
489
3a565fc3
JK
490%postun
491%systemd_reload
492
493%triggerpostun -- %{name} < 2.1.0-0.2
494%systemd_trigger opensips.service
495
91565b21
JK
496%files
497%defattr(644,root,root,755)
e257f07a 498%doc README* AUTHORS CREDITS ChangeLog INSTALL NEWS scripts examples
8875fcb7
JB
499%attr(755,root,root) %{_sbindir}/bdb_recover
500%attr(755,root,root) %{_sbindir}/opensips
8875fcb7 501%attr(755,root,root) %{_sbindir}/osipsconfig
91565b21
JK
502%dir %{_sysconfdir}/opensips
503%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/opensips.cfg
8875fcb7 504%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/scenario_callcenter.xml
f274b6d5
JR
505%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls
506%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/README
507%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/ca.conf
508%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/request.conf
509%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user.conf
510%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/rootCA
511%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/cacert.pem
512%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/index.txt
513%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/serial
514%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/rootCA/certs
515%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/certs/01.pem
516%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/rootCA/private
517%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/private/cakey.pem
518%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/user
519%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-calist.pem
520%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-cert.pem
521%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-cert_req.pem
522%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-privkey.pem
91565b21
JK
523%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/opensips
524%attr(754,root,root) /etc/rc.d/init.d/opensips
3a565fc3 525%{systemdunitdir}/opensips.service
91565b21 526%dir %{_libdir}/opensips
91565b21
JK
527%dir %{_libdir}/opensips/modules
528# explict list here, no globs please (to avoid mistakes)
529%attr(755,root,root) %{_libdir}/opensips/modules/acc.so
530%attr(755,root,root) %{_libdir}/opensips/modules/alias_db.so
bb55e231 531%attr(755,root,root) %{_libdir}/opensips/modules/auth_aaa.so
91565b21 532%attr(755,root,root) %{_libdir}/opensips/modules/auth_db.so
1385cae0 533%attr(755,root,root) %{_libdir}/opensips/modules/auth.so
91565b21 534%attr(755,root,root) %{_libdir}/opensips/modules/avpops.so
bb55e231
MM
535%attr(755,root,root) %{_libdir}/opensips/modules/b2b_entities.so
536%attr(755,root,root) %{_libdir}/opensips/modules/b2b_logic.so
5a482e4a 537%attr(755,root,root) %{_libdir}/opensips/modules/b2b_sca.so
7900173f 538%attr(755,root,root) %{_libdir}/opensips/modules/b2b_sdp_demux.so
91565b21 539%attr(755,root,root) %{_libdir}/opensips/modules/benchmark.so
b229b45a 540%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_local.so
5a482e4a
MM
541%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_sql.so
542%attr(755,root,root) %{_libdir}/opensips/modules/call_center.so
d186c54b 543%attr(755,root,root) %{_libdir}/opensips/modules/call_control.so
7900173f 544%attr(755,root,root) %{_libdir}/opensips/modules/callops.so
91565b21 545%attr(755,root,root) %{_libdir}/opensips/modules/cfgutils.so
1385cae0
JR
546%attr(755,root,root) %{_libdir}/opensips/modules/clusterer.so
547%attr(755,root,root) %{_libdir}/opensips/modules/compression.so
548%attr(755,root,root) %{_libdir}/opensips/modules/cpl_c.so
91565b21 549%attr(755,root,root) %{_libdir}/opensips/modules/db_berkeley.so
5a482e4a 550%attr(755,root,root) %{_libdir}/opensips/modules/db_cachedb.so
91565b21 551%attr(755,root,root) %{_libdir}/opensips/modules/db_flatstore.so
bb55e231 552%attr(755,root,root) %{_libdir}/opensips/modules/db_http.so
91565b21 553%attr(755,root,root) %{_libdir}/opensips/modules/db_text.so
bb55e231 554%attr(755,root,root) %{_libdir}/opensips/modules/db_virtual.so
91565b21
JK
555%attr(755,root,root) %{_libdir}/opensips/modules/dialog.so
556%attr(755,root,root) %{_libdir}/opensips/modules/dialplan.so
557%attr(755,root,root) %{_libdir}/opensips/modules/dispatcher.so
558%attr(755,root,root) %{_libdir}/opensips/modules/diversion.so
b229b45a 559%attr(755,root,root) %{_libdir}/opensips/modules/dns_cache.so
91565b21 560%attr(755,root,root) %{_libdir}/opensips/modules/domainpolicy.so
1385cae0 561%attr(755,root,root) %{_libdir}/opensips/modules/domain.so
d186c54b 562%attr(755,root,root) %{_libdir}/opensips/modules/drouting.so
5a482e4a 563%attr(755,root,root) %{_libdir}/opensips/modules/emergency.so
91565b21 564%attr(755,root,root) %{_libdir}/opensips/modules/enum.so
210f5757 565%attr(755,root,root) %{_libdir}/opensips/modules/event_datagram.so
1385cae0 566%attr(755,root,root) %{_libdir}/opensips/modules/event_flatstore.so
5a482e4a 567%attr(755,root,root) %{_libdir}/opensips/modules/event_route.so
1385cae0 568%attr(755,root,root) %{_libdir}/opensips/modules/event_routing.so
7900173f 569%attr(755,root,root) %{_libdir}/opensips/modules/event_stream.so
1385cae0 570%attr(755,root,root) %{_libdir}/opensips/modules/event_virtual.so
5a482e4a 571%attr(755,root,root) %{_libdir}/opensips/modules/event_xmlrpc.so
91565b21 572%attr(755,root,root) %{_libdir}/opensips/modules/exec.so
1385cae0
JR
573%attr(755,root,root) %{_libdir}/opensips/modules/fraud_detection.so
574%attr(755,root,root) %{_libdir}/opensips/modules/freeswitch_scripting.so
575%attr(755,root,root) %{_libdir}/opensips/modules/freeswitch.so
91565b21
JK
576%attr(755,root,root) %{_libdir}/opensips/modules/gflags.so
577%attr(755,root,root) %{_libdir}/opensips/modules/group.so
d186c54b 578%attr(755,root,root) %{_libdir}/opensips/modules/identity.so
91565b21 579%attr(755,root,root) %{_libdir}/opensips/modules/imc.so
1385cae0 580%attr(755,root,root) %{_libdir}/opensips/modules/jsonrpc.so
d186c54b 581%attr(755,root,root) %{_libdir}/opensips/modules/load_balancer.so
5450acf0 582%attr(755,root,root) %{_libdir}/opensips/modules/lua.so
91565b21 583%attr(755,root,root) %{_libdir}/opensips/modules/mangler.so
5a482e4a 584%attr(755,root,root) %{_libdir}/opensips/modules/mathops.so
91565b21 585%attr(755,root,root) %{_libdir}/opensips/modules/maxfwd.so
7900173f 586%attr(755,root,root) %{_libdir}/opensips/modules/media_exchange.so
91565b21
JK
587%attr(755,root,root) %{_libdir}/opensips/modules/mediaproxy.so
588%attr(755,root,root) %{_libdir}/opensips/modules/mi_datagram.so
1385cae0 589%attr(755,root,root) %{_libdir}/opensips/modules/mid_registrar.so
91565b21 590%attr(755,root,root) %{_libdir}/opensips/modules/mi_fifo.so
7900173f
JR
591%attr(755,root,root) %{_libdir}/opensips/modules/mi_html.so
592%attr(755,root,root) %{_libdir}/opensips/modules/mi_script.so
5a482e4a 593%attr(755,root,root) %{_libdir}/opensips/modules/mi_xmlrpc_ng.so
91565b21 594%attr(755,root,root) %{_libdir}/opensips/modules/msilo.so
7900173f
JR
595%attr(755,root,root) %{_libdir}/opensips/modules/msrp_gateway.so
596%attr(755,root,root) %{_libdir}/opensips/modules/msrp_relay.so
597%attr(755,root,root) %{_libdir}/opensips/modules/msrp_ua.so
91565b21 598%attr(755,root,root) %{_libdir}/opensips/modules/nathelper.so
1385cae0 599%attr(755,root,root) %{_libdir}/opensips/modules/nat_traversal.so
91565b21 600%attr(755,root,root) %{_libdir}/opensips/modules/options.so
91565b21 601%attr(755,root,root) %{_libdir}/opensips/modules/path.so
bb55e231 602%attr(755,root,root) %{_libdir}/opensips/modules/peering.so
91565b21 603%attr(755,root,root) %{_libdir}/opensips/modules/permissions.so
5a482e4a 604%attr(755,root,root) %{_libdir}/opensips/modules/pi_http.so
1385cae0 605%attr(755,root,root) %{_libdir}/opensips/modules/pike.so
bb55e231 606%attr(755,root,root) %{_libdir}/opensips/modules/presence_callinfo.so
d186c54b 607%attr(755,root,root) %{_libdir}/opensips/modules/presence_dialoginfo.so
91565b21 608%attr(755,root,root) %{_libdir}/opensips/modules/presence_mwi.so
1385cae0 609%attr(755,root,root) %{_libdir}/opensips/modules/presence.so
7900173f 610%attr(755,root,root) %{_libdir}/opensips/modules/presence_dfks.so
d186c54b 611%attr(755,root,root) %{_libdir}/opensips/modules/presence_xcapdiff.so
91565b21 612%attr(755,root,root) %{_libdir}/opensips/modules/presence_xml.so
7900173f 613%attr(755,root,root) %{_libdir}/opensips/modules/prometheus.so
1385cae0 614%attr(755,root,root) %{_libdir}/opensips/modules/proto_bin.so
7900173f 615%attr(755,root,root) %{_libdir}/opensips/modules/proto_bins.so
1385cae0 616%attr(755,root,root) %{_libdir}/opensips/modules/proto_hep.so
7900173f 617%attr(755,root,root) %{_libdir}/opensips/modules/proto_msrp.so
5a482e4a 618%attr(755,root,root) %{_libdir}/opensips/modules/proto_sctp.so
7900173f 619%attr(755,root,root) %{_libdir}/opensips/modules/proto_smpp.so
5a482e4a
MM
620%attr(755,root,root) %{_libdir}/opensips/modules/proto_tls.so
621%attr(755,root,root) %{_libdir}/opensips/modules/proto_ws.so
1385cae0 622%attr(755,root,root) %{_libdir}/opensips/modules/proto_wss.so
91565b21 623%attr(755,root,root) %{_libdir}/opensips/modules/pua_bla.so
d186c54b 624%attr(755,root,root) %{_libdir}/opensips/modules/pua_dialoginfo.so
91565b21 625%attr(755,root,root) %{_libdir}/opensips/modules/pua_mi.so
1385cae0 626%attr(755,root,root) %{_libdir}/opensips/modules/pua.so
91565b21 627%attr(755,root,root) %{_libdir}/opensips/modules/pua_usrloc.so
210f5757 628%attr(755,root,root) %{_libdir}/opensips/modules/python.so
d186c54b 629%attr(755,root,root) %{_libdir}/opensips/modules/qos.so
7900173f
JR
630%attr(755,root,root) %{_libdir}/opensips/modules/qrouting.so
631%attr(755,root,root) %{_libdir}/opensips/modules/rate_cacher.so
91565b21 632%attr(755,root,root) %{_libdir}/opensips/modules/ratelimit.so
d186c54b 633%attr(755,root,root) %{_libdir}/opensips/modules/regex.so
91565b21 634%attr(755,root,root) %{_libdir}/opensips/modules/registrar.so
5a482e4a 635%attr(755,root,root) %{_libdir}/opensips/modules/rest_client.so
91565b21
JK
636%attr(755,root,root) %{_libdir}/opensips/modules/rls.so
637%attr(755,root,root) %{_libdir}/opensips/modules/rr.so
7900173f 638%attr(755,root,root) %{_libdir}/opensips/modules/rtp_relay.so
5a482e4a 639%attr(755,root,root) %{_libdir}/opensips/modules/rtpengine.so
210f5757 640%attr(755,root,root) %{_libdir}/opensips/modules/rtpproxy.so
5a482e4a 641%attr(755,root,root) %{_libdir}/opensips/modules/script_helper.so
d186c54b 642%attr(755,root,root) %{_libdir}/opensips/modules/signaling.so
b229b45a 643%attr(755,root,root) %{_libdir}/opensips/modules/sipcapture.so
1385cae0 644%attr(755,root,root) %{_libdir}/opensips/modules/sip_i.so
b229b45a 645%attr(755,root,root) %{_libdir}/opensips/modules/sipmsgops.so
1385cae0 646%attr(755,root,root) %{_libdir}/opensips/modules/siprec.so
91565b21 647%attr(755,root,root) %{_libdir}/opensips/modules/sl.so
91565b21 648%attr(755,root,root) %{_libdir}/opensips/modules/speeddial.so
1385cae0 649%attr(755,root,root) %{_libdir}/opensips/modules/sql_cacher.so
91565b21
JK
650%attr(755,root,root) %{_libdir}/opensips/modules/sst.so
651%attr(755,root,root) %{_libdir}/opensips/modules/statistics.so
7900173f
JR
652%attr(755,root,root) %{_libdir}/opensips/modules/status_report.so
653%attr(755,root,root) %{_libdir}/opensips/modules/stir_shaken.so
bb55e231 654%attr(755,root,root) %{_libdir}/opensips/modules/stun.so
7900173f 655%attr(755,root,root) %{_libdir}/opensips/modules/tcp_mgm.so
91565b21 656%attr(755,root,root) %{_libdir}/opensips/modules/textops.so
1385cae0 657%attr(755,root,root) %{_libdir}/opensips/modules/tls_mgm.so
7900173f 658%attr(755,root,root) %{_libdir}/opensips/modules/tls_openssl.so
91565b21 659%attr(755,root,root) %{_libdir}/opensips/modules/tm.so
5a482e4a 660%attr(755,root,root) %{_libdir}/opensips/modules/topology_hiding.so
7900173f 661%attr(755,root,root) %{_libdir}/opensips/modules/tracer.so
210f5757 662%attr(755,root,root) %{_libdir}/opensips/modules/uac_auth.so
91565b21 663%attr(755,root,root) %{_libdir}/opensips/modules/uac_redirect.so
210f5757 664%attr(755,root,root) %{_libdir}/opensips/modules/uac_registrant.so
1385cae0 665%attr(755,root,root) %{_libdir}/opensips/modules/uac.so
91565b21
JK
666%attr(755,root,root) %{_libdir}/opensips/modules/userblacklist.so
667%attr(755,root,root) %{_libdir}/opensips/modules/usrloc.so
7900173f 668%attr(755,root,root) %{_libdir}/opensips/modules/uuid.so
91565b21 669%attr(755,root,root) %{_libdir}/opensips/modules/xcap_client.so
1385cae0
JR
670%attr(755,root,root) %{_libdir}/opensips/modules/xcap.so
671%attr(755,root,root) %{_libdir}/opensips/modules/xml.so
91565b21
JK
672%dir %{_datadir}/%{name}
673%{_datadir}/%{name}/db_berkeley
674%{_datadir}/%{name}/dbtext
b229b45a 675%{_datadir}/%{name}/menuconfig_templates
f274b6d5 676%{_datadir}/%{name}/pi_http
8875fcb7
JB
677%{_mandir}/man5/opensips.cfg.5*
678%{_mandir}/man8/opensips.8*
91565b21
JK
679
680%files xmpp
681%defattr(644,root,root,755)
682%attr(755,root,root) %{_libdir}/opensips/modules/jabber.so
683%attr(755,root,root) %{_libdir}/opensips/modules/xmpp.so
684%attr(755,root,root) %{_libdir}/opensips/modules/pua_xmpp.so
685
686%if %{with mysql}
687%files mysql
688%defattr(644,root,root,755)
689%attr(755,root,root) %{_libdir}/opensips/modules/db_mysql.so
690%{_datadir}/%{name}/mysql
691%endif
692
693%if %{with pgsql}
694%files postgres
695%defattr(644,root,root,755)
696%attr(755,root,root) %{_libdir}/opensips/modules/db_postgres.so
697%{_datadir}/%{name}/postgres
698%endif
699
1385cae0
JR
700%if %{with sqlite}
701%files sqlite3
702%defattr(644,root,root,755)
703%attr(755,root,root) %{_libdir}/opensips/modules/db_sqlite.so
704%{_datadir}/opensips/sqlite
705%endif
706
bb55e231
MM
707%if %{with json}
708%files json
709%defattr(644,root,root,755)
710%attr(755,root,root) %{_libdir}/opensips/modules/json.so
711%endif
712
1385cae0
JR
713%if %{with json}
714%files cgrates
715%defattr(644,root,root,755)
716%attr(755,root,root) %{_libdir}/opensips/modules/cgrates.so
717%endif
718
bb55e231
MM
719%if %{with memcached}
720%files memcached
721%defattr(644,root,root,755)
b229b45a 722%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_memcached.so
bb55e231
MM
723%endif
724
91565b21
JK
725%if %{with radius}
726%files radius
727%defattr(644,root,root,755)
d186c54b 728%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/dictionary.opensips
bb55e231 729%attr(755,root,root) %{_libdir}/opensips/modules/aaa_radius.so
91565b21
JK
730%endif
731
732%if %{with odbc}
733%files odbc
734%defattr(644,root,root,755)
735%attr(755,root,root) %{_libdir}/opensips/modules/db_unixodbc.so
736%endif
737
d186c54b
JK
738%if %{with geoip}
739%files mmgeoip
740%defattr(644,root,root,755)
741%attr(755,root,root) %{_libdir}/opensips/modules/mmgeoip.so
742%endif
743
744%if %{with ldap}
745%files ldap
746%defattr(644,root,root,755)
747%attr(755,root,root) %{_libdir}/opensips/modules/h350.so
748%attr(755,root,root) %{_libdir}/opensips/modules/ldap.so
749%endif
750
751%if %{with carrierroute}
752%files carrierroute
753%defattr(644,root,root,755)
754%attr(755,root,root) %{_libdir}/opensips/modules/carrierroute.so
755%endif
756
757%if %{with osp}
758%files osp
759%defattr(644,root,root,755)
760%attr(755,root,root) %{_libdir}/opensips/modules/osp.so
761%endif
762
91565b21
JK
763%files snmpstats
764%defattr(644,root,root,755)
765%attr(755,root,root) %{_libdir}/opensips/modules/snmpstats.so
766
767%files perl
768%defattr(644,root,root,755)
5a482e4a 769%attr(755,root,root) %{_libdir}/opensips/modules/db_perlvdb.so
91565b21 770%attr(755,root,root) %{_libdir}/opensips/modules/perl.so
6f967f50 771%{_libdir}/opensips/perl
91565b21 772
b3ea057a 773%files -n mibs-%{name}
91565b21 774%defattr(644,root,root,755)
b3ea057a 775%{_datadir}/mibs/*
b229b45a
JK
776
777%if %{with redis}
778%files redis
779%defattr(644,root,root,755)
780%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_redis.so
781%endif
782
783%if %{with microhttpd}
784%files httpd
785%defattr(644,root,root,755)
786%attr(755,root,root) %{_libdir}/opensips/modules/httpd.so
787%attr(755,root,root) %{_libdir}/opensips/modules/mi_http.so
788%endif
1385cae0
JR
789
790%if %{with rabbitmq}
791%files rabbitmq
792%defattr(644,root,root,755)
d410466d 793%attr(755,root,root) %{_libdir}/opensips/modules/event_rabbitmq.so
1385cae0 794%attr(755,root,root) %{_libdir}/opensips/modules/rabbitmq.so
7900173f
JR
795%attr(755,root,root) %{_libdir}/opensips/modules/rabbitmq_consumer.so
796%endif
797
798%if %{with kafka}
799%files kafka
800%defattr(644,root,root,755)
801%attr(755,root,root) %{_libdir}/opensips/modules/event_kafka.so
1385cae0 802%endif
This page took 0.314286 seconds and 5 git commands to generate.