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