]> git.pld-linux.org Git - packages/opensips.git/blame - opensips.spec
- fix building with json-c 0.14
[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
427b8fed 25Release: 5
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
91565b21
JK
340%build
341exclude_modules="%{exclude_modules}"
b229b45a
JK
342%if %{without redis}
343exclude_modules="$exclude_modules cachedb_redis"
344%endif
e12422e8
JK
345%if %{without ldap}
346exclude_modules="$exclude_modules h350 ldap"
347%endif
39033727
JK
348%if %{without carrierroute}
349exclude_modules="$exclude_modules carrierroute"
350%endif
91565b21
JK
351%if %{without osp}
352exclude_modules="$exclude_modules osp"
353%endif
b229b45a
JK
354%if %{without microhttpd}
355exclude_modules="$exclude_modules httpd"
356%endif
91565b21 357%if %{without mysql}
e151e7fa 358exclude_modules="$exclude_modules db_mysql"
91565b21
JK
359%endif
360%if %{without pgsql}
e151e7fa 361exclude_modules="$exclude_modules db_postgres"
91565b21 362%endif
1385cae0
JR
363%if %{without sqlite}
364exclude_modules="$exclude_modules db_sqlite"
365%endif
91565b21 366%if %{without odbc}
e151e7fa 367exclude_modules="$exclude_modules db_unixodbc"
91565b21 368%endif
d186c54b
JK
369%if %{without geoip}
370exclude_modules="$exclude_modules mmgeoip"
371%endif
91565b21 372%if %{without radius}
bb55e231
MM
373exclude_modules="$exclude_modules aaa_radius"
374%endif
375%if %{without json}
376exclude_modules="$exclude_modules json"
1385cae0 377exclude_modules="$exclude_modules cgrates"
bb55e231
MM
378%endif
379%if %{without memcached}
57aba727 380exclude_modules="$exclude_modules cachedb_memcached"
91565b21 381%endif
5a482e4a
MM
382%if %{without couchbase}
383exclude_modules="$exclude_modules cachedb_couchbase"
384%endif
385%if %{without mongodb}
386exclude_modules="$exclude_modules cachedb_mongodb"
387%endif
388%if %{without sngtc}
389exclude_modules="$exclude_modules sngtc"
390%endif
1385cae0
JR
391%if %{without rabbitmq}
392exclude_modules="$exclude_modules rabbitmq"
393%endif
91565b21 394echo "$exclude_modules" > exclude_modules
8533d516 395LDFLAGS="%{rpmldflags}" \
91565b21 396%{__make} all \
a2934690 397 Q= \
91565b21 398 exclude_modules="$exclude_modules" \
f274b6d5
JR
399 prefix=%{_prefix} \
400 PREFIX=%{_prefix} \
401 LIBDIR=%{_lib} \
d410466d 402 cfg_prefix=$RPM_BUILD_ROOT \
d9974d19
JR
403 cfg_target=%{_sysconfdir}/opensips/ \
404 RADIUSCLIENT=RADIUSCLIENT \
91565b21 405 CC="%{__cc}" \
a2934690 406 CC_EXTRA_OPTS="-I/usr/include/ncurses" \
e10550a7 407 CFLAGS="%{rpmcflags} -Wcast-align"
91565b21
JK
408
409%install
410rm -rf $RPM_BUILD_ROOT
3a565fc3
JK
411install -d $RPM_BUILD_ROOT%{_sysconfdir}/{ser,sysconfig,rc.d/init.d} \
412 -d $RPM_BUILD_ROOT%{systemdunitdir}
91565b21
JK
413
414exclude_modules="$(cat exclude_modules)"
b713461a 415%{__make} install -j1 \
a2934690 416 Q= \
91565b21 417 exclude_modules="$exclude_modules" \
f274b6d5
JR
418 prefix=%{_prefix} \
419 PREFIX=%{_prefix} \
420 LIBDIR=%{_lib} \
421 BASEDIR=$RPM_BUILD_ROOT \
d410466d
JR
422 cfg_prefix=$RPM_BUILD_ROOT \
423cfg_target=%{_sysconfdir}/opensips/ \
b3ea057a 424 INSTALLMIBDIR=$RPM_BUILD_ROOT%{_datadir}/mibs
91565b21
JK
425
426for i in modules/*; do \
427 i=$(basename $i)
428 [ -f modules/$i/README ] && cp -f modules/$i/README README.$i; \
429done
430
e257f07a 431# contains the same files we install in %doc
551f7076 432%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
91565b21
JK
433
434#cd doc/serdev
435#docbook2html serdev.sgml
436#rm -f serdev.sgml
437#cd ../seruser
438#docbook2html seruser.sgml
439#rm -f seruser.sgml
440#cd ../..
441
1385cae0
JR
442cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/opensips
443cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/opensips
444cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/opensips.service
91565b21
JK
445
446%clean
447rm -rf $RPM_BUILD_ROOT
448
449%post
450/sbin/chkconfig --add opensips
b3ea057a 451%service opensips restart "SIP Daemon"
3a565fc3 452%systemd_post opensips.service
91565b21
JK
453
454%preun
3a565fc3 455%systemd_preun opensips.service
91565b21
JK
456if [ "$1" = "0" ]; then
457 %service opensips stop
458 /sbin/chkconfig --del opensips
459fi
460
3a565fc3
JK
461%postun
462%systemd_reload
463
464%triggerpostun -- %{name} < 2.1.0-0.2
465%systemd_trigger opensips.service
466
91565b21
JK
467%files
468%defattr(644,root,root,755)
e257f07a 469%doc README* AUTHORS CREDITS ChangeLog INSTALL NEWS scripts examples
91565b21
JK
470%attr(755,root,root) %{_sbindir}/*
471%dir %{_sysconfdir}/opensips
472%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/opensips.cfg
473%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/opensipsctlrc
d186c54b 474%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/osipsconsolerc
f274b6d5
JR
475%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls
476%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/README
477%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/ca.conf
478%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/request.conf
479%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user.conf
480%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/rootCA
481%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/cacert.pem
482%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/index.txt
483%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/serial
484%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/rootCA/certs
485%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/certs/01.pem
486%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/rootCA/private
487%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/private/cakey.pem
488%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/user
489%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-calist.pem
490%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-cert.pem
491%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-cert_req.pem
492%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-privkey.pem
91565b21
JK
493%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/opensips
494%attr(754,root,root) /etc/rc.d/init.d/opensips
3a565fc3 495%{systemdunitdir}/opensips.service
91565b21 496%dir %{_libdir}/opensips
cee7c8ca
JK
497%dir %{_libdir}/opensips/opensipsctl
498%{_libdir}/opensips/opensipsctl/*.*
499%dir %{_libdir}/opensips/opensipsctl/dbtextdb
500%attr(755,root,root) %{_libdir}/opensips/opensipsctl/dbtextdb/dbtextdb.py
91565b21
JK
501%dir %{_libdir}/opensips/modules
502# explict list here, no globs please (to avoid mistakes)
503%attr(755,root,root) %{_libdir}/opensips/modules/acc.so
504%attr(755,root,root) %{_libdir}/opensips/modules/alias_db.so
bb55e231 505%attr(755,root,root) %{_libdir}/opensips/modules/auth_aaa.so
91565b21 506%attr(755,root,root) %{_libdir}/opensips/modules/auth_db.so
1385cae0 507%attr(755,root,root) %{_libdir}/opensips/modules/auth.so
91565b21 508%attr(755,root,root) %{_libdir}/opensips/modules/avpops.so
bb55e231
MM
509%attr(755,root,root) %{_libdir}/opensips/modules/b2b_entities.so
510%attr(755,root,root) %{_libdir}/opensips/modules/b2b_logic.so
5a482e4a 511%attr(755,root,root) %{_libdir}/opensips/modules/b2b_sca.so
91565b21 512%attr(755,root,root) %{_libdir}/opensips/modules/benchmark.so
b229b45a 513%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_local.so
5a482e4a
MM
514%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_sql.so
515%attr(755,root,root) %{_libdir}/opensips/modules/call_center.so
d186c54b 516%attr(755,root,root) %{_libdir}/opensips/modules/call_control.so
91565b21 517%attr(755,root,root) %{_libdir}/opensips/modules/cfgutils.so
1385cae0
JR
518%attr(755,root,root) %{_libdir}/opensips/modules/clusterer.so
519%attr(755,root,root) %{_libdir}/opensips/modules/compression.so
520%attr(755,root,root) %{_libdir}/opensips/modules/cpl_c.so
91565b21 521%attr(755,root,root) %{_libdir}/opensips/modules/db_berkeley.so
5a482e4a 522%attr(755,root,root) %{_libdir}/opensips/modules/db_cachedb.so
91565b21 523%attr(755,root,root) %{_libdir}/opensips/modules/db_flatstore.so
bb55e231 524%attr(755,root,root) %{_libdir}/opensips/modules/db_http.so
91565b21 525%attr(755,root,root) %{_libdir}/opensips/modules/db_text.so
bb55e231 526%attr(755,root,root) %{_libdir}/opensips/modules/db_virtual.so
91565b21
JK
527%attr(755,root,root) %{_libdir}/opensips/modules/dialog.so
528%attr(755,root,root) %{_libdir}/opensips/modules/dialplan.so
529%attr(755,root,root) %{_libdir}/opensips/modules/dispatcher.so
530%attr(755,root,root) %{_libdir}/opensips/modules/diversion.so
b229b45a 531%attr(755,root,root) %{_libdir}/opensips/modules/dns_cache.so
91565b21 532%attr(755,root,root) %{_libdir}/opensips/modules/domainpolicy.so
1385cae0 533%attr(755,root,root) %{_libdir}/opensips/modules/domain.so
d186c54b 534%attr(755,root,root) %{_libdir}/opensips/modules/drouting.so
5a482e4a 535%attr(755,root,root) %{_libdir}/opensips/modules/emergency.so
91565b21 536%attr(755,root,root) %{_libdir}/opensips/modules/enum.so
210f5757 537%attr(755,root,root) %{_libdir}/opensips/modules/event_datagram.so
1385cae0
JR
538%attr(755,root,root) %{_libdir}/opensips/modules/event_flatstore.so
539%attr(755,root,root) %{_libdir}/opensips/modules/event_jsonrpc.so
5a482e4a 540%attr(755,root,root) %{_libdir}/opensips/modules/event_route.so
1385cae0
JR
541%attr(755,root,root) %{_libdir}/opensips/modules/event_routing.so
542%attr(755,root,root) %{_libdir}/opensips/modules/event_virtual.so
5a482e4a 543%attr(755,root,root) %{_libdir}/opensips/modules/event_xmlrpc.so
91565b21 544%attr(755,root,root) %{_libdir}/opensips/modules/exec.so
1385cae0
JR
545%attr(755,root,root) %{_libdir}/opensips/modules/fraud_detection.so
546%attr(755,root,root) %{_libdir}/opensips/modules/freeswitch_scripting.so
547%attr(755,root,root) %{_libdir}/opensips/modules/freeswitch.so
91565b21
JK
548%attr(755,root,root) %{_libdir}/opensips/modules/gflags.so
549%attr(755,root,root) %{_libdir}/opensips/modules/group.so
d186c54b 550%attr(755,root,root) %{_libdir}/opensips/modules/identity.so
91565b21 551%attr(755,root,root) %{_libdir}/opensips/modules/imc.so
1385cae0 552%attr(755,root,root) %{_libdir}/opensips/modules/jsonrpc.so
d186c54b 553%attr(755,root,root) %{_libdir}/opensips/modules/load_balancer.so
91565b21 554%attr(755,root,root) %{_libdir}/opensips/modules/mangler.so
5a482e4a 555%attr(755,root,root) %{_libdir}/opensips/modules/mathops.so
91565b21
JK
556%attr(755,root,root) %{_libdir}/opensips/modules/maxfwd.so
557%attr(755,root,root) %{_libdir}/opensips/modules/mediaproxy.so
558%attr(755,root,root) %{_libdir}/opensips/modules/mi_datagram.so
1385cae0 559%attr(755,root,root) %{_libdir}/opensips/modules/mid_registrar.so
91565b21 560%attr(755,root,root) %{_libdir}/opensips/modules/mi_fifo.so
5a482e4a
MM
561%attr(755,root,root) %{_libdir}/opensips/modules/mi_json.so
562%attr(755,root,root) %{_libdir}/opensips/modules/mi_xmlrpc_ng.so
91565b21 563%attr(755,root,root) %{_libdir}/opensips/modules/msilo.so
91565b21 564%attr(755,root,root) %{_libdir}/opensips/modules/nathelper.so
1385cae0 565%attr(755,root,root) %{_libdir}/opensips/modules/nat_traversal.so
91565b21 566%attr(755,root,root) %{_libdir}/opensips/modules/options.so
91565b21 567%attr(755,root,root) %{_libdir}/opensips/modules/path.so
bb55e231 568%attr(755,root,root) %{_libdir}/opensips/modules/peering.so
91565b21 569%attr(755,root,root) %{_libdir}/opensips/modules/permissions.so
5a482e4a 570%attr(755,root,root) %{_libdir}/opensips/modules/pi_http.so
1385cae0 571%attr(755,root,root) %{_libdir}/opensips/modules/pike.so
bb55e231 572%attr(755,root,root) %{_libdir}/opensips/modules/presence_callinfo.so
d186c54b 573%attr(755,root,root) %{_libdir}/opensips/modules/presence_dialoginfo.so
91565b21 574%attr(755,root,root) %{_libdir}/opensips/modules/presence_mwi.so
1385cae0 575%attr(755,root,root) %{_libdir}/opensips/modules/presence.so
d186c54b 576%attr(755,root,root) %{_libdir}/opensips/modules/presence_xcapdiff.so
91565b21 577%attr(755,root,root) %{_libdir}/opensips/modules/presence_xml.so
1385cae0
JR
578%attr(755,root,root) %{_libdir}/opensips/modules/proto_bin.so
579%attr(755,root,root) %{_libdir}/opensips/modules/proto_hep.so
5a482e4a
MM
580%attr(755,root,root) %{_libdir}/opensips/modules/proto_sctp.so
581%attr(755,root,root) %{_libdir}/opensips/modules/proto_tls.so
582%attr(755,root,root) %{_libdir}/opensips/modules/proto_ws.so
1385cae0 583%attr(755,root,root) %{_libdir}/opensips/modules/proto_wss.so
91565b21 584%attr(755,root,root) %{_libdir}/opensips/modules/pua_bla.so
d186c54b 585%attr(755,root,root) %{_libdir}/opensips/modules/pua_dialoginfo.so
91565b21 586%attr(755,root,root) %{_libdir}/opensips/modules/pua_mi.so
1385cae0 587%attr(755,root,root) %{_libdir}/opensips/modules/pua.so
91565b21 588%attr(755,root,root) %{_libdir}/opensips/modules/pua_usrloc.so
210f5757 589%attr(755,root,root) %{_libdir}/opensips/modules/python.so
d186c54b 590%attr(755,root,root) %{_libdir}/opensips/modules/qos.so
91565b21 591%attr(755,root,root) %{_libdir}/opensips/modules/ratelimit.so
d186c54b 592%attr(755,root,root) %{_libdir}/opensips/modules/regex.so
91565b21 593%attr(755,root,root) %{_libdir}/opensips/modules/registrar.so
5a482e4a 594%attr(755,root,root) %{_libdir}/opensips/modules/rest_client.so
91565b21
JK
595%attr(755,root,root) %{_libdir}/opensips/modules/rls.so
596%attr(755,root,root) %{_libdir}/opensips/modules/rr.so
5a482e4a 597%attr(755,root,root) %{_libdir}/opensips/modules/rtpengine.so
210f5757 598%attr(755,root,root) %{_libdir}/opensips/modules/rtpproxy.so
5a482e4a 599%attr(755,root,root) %{_libdir}/opensips/modules/script_helper.so
1385cae0 600%attr(755,root,root) %{_libdir}/opensips/modules/seas.so
d186c54b 601%attr(755,root,root) %{_libdir}/opensips/modules/signaling.so
b229b45a 602%attr(755,root,root) %{_libdir}/opensips/modules/sipcapture.so
1385cae0 603%attr(755,root,root) %{_libdir}/opensips/modules/sip_i.so
b229b45a 604%attr(755,root,root) %{_libdir}/opensips/modules/sipmsgops.so
1385cae0 605%attr(755,root,root) %{_libdir}/opensips/modules/siprec.so
91565b21
JK
606%attr(755,root,root) %{_libdir}/opensips/modules/siptrace.so
607%attr(755,root,root) %{_libdir}/opensips/modules/sl.so
608%attr(755,root,root) %{_libdir}/opensips/modules/sms.so
609%attr(755,root,root) %{_libdir}/opensips/modules/speeddial.so
1385cae0 610%attr(755,root,root) %{_libdir}/opensips/modules/sql_cacher.so
91565b21
JK
611%attr(755,root,root) %{_libdir}/opensips/modules/sst.so
612%attr(755,root,root) %{_libdir}/opensips/modules/statistics.so
bb55e231 613%attr(755,root,root) %{_libdir}/opensips/modules/stun.so
91565b21 614%attr(755,root,root) %{_libdir}/opensips/modules/textops.so
1385cae0 615%attr(755,root,root) %{_libdir}/opensips/modules/tls_mgm.so
91565b21 616%attr(755,root,root) %{_libdir}/opensips/modules/tm.so
5a482e4a 617%attr(755,root,root) %{_libdir}/opensips/modules/topology_hiding.so
210f5757 618%attr(755,root,root) %{_libdir}/opensips/modules/uac_auth.so
91565b21 619%attr(755,root,root) %{_libdir}/opensips/modules/uac_redirect.so
210f5757 620%attr(755,root,root) %{_libdir}/opensips/modules/uac_registrant.so
1385cae0 621%attr(755,root,root) %{_libdir}/opensips/modules/uac.so
91565b21 622%attr(755,root,root) %{_libdir}/opensips/modules/uri.so
91565b21
JK
623%attr(755,root,root) %{_libdir}/opensips/modules/userblacklist.so
624%attr(755,root,root) %{_libdir}/opensips/modules/usrloc.so
625%attr(755,root,root) %{_libdir}/opensips/modules/xcap_client.so
1385cae0
JR
626%attr(755,root,root) %{_libdir}/opensips/modules/xcap.so
627%attr(755,root,root) %{_libdir}/opensips/modules/xml.so
91565b21
JK
628%dir %{_datadir}/%{name}
629%{_datadir}/%{name}/db_berkeley
630%{_datadir}/%{name}/dbtext
b229b45a 631%{_datadir}/%{name}/menuconfig_templates
f274b6d5 632%{_datadir}/%{name}/pi_http
91565b21
JK
633%{_mandir}/man*/*
634
635%files xmpp
636%defattr(644,root,root,755)
637%attr(755,root,root) %{_libdir}/opensips/modules/jabber.so
638%attr(755,root,root) %{_libdir}/opensips/modules/xmpp.so
639%attr(755,root,root) %{_libdir}/opensips/modules/pua_xmpp.so
640
641%if %{with mysql}
642%files mysql
643%defattr(644,root,root,755)
644%attr(755,root,root) %{_libdir}/opensips/modules/db_mysql.so
645%{_datadir}/%{name}/mysql
646%endif
647
648%if %{with pgsql}
649%files postgres
650%defattr(644,root,root,755)
651%attr(755,root,root) %{_libdir}/opensips/modules/db_postgres.so
652%{_datadir}/%{name}/postgres
653%endif
654
1385cae0
JR
655%if %{with sqlite}
656%files sqlite3
657%defattr(644,root,root,755)
658%attr(755,root,root) %{_libdir}/opensips/modules/db_sqlite.so
659%{_datadir}/opensips/sqlite
660%endif
661
bb55e231
MM
662%if %{with json}
663%files json
664%defattr(644,root,root,755)
665%attr(755,root,root) %{_libdir}/opensips/modules/json.so
666%endif
667
1385cae0
JR
668%if %{with json}
669%files cgrates
670%defattr(644,root,root,755)
671%attr(755,root,root) %{_libdir}/opensips/modules/cgrates.so
672%endif
673
bb55e231
MM
674%if %{with memcached}
675%files memcached
676%defattr(644,root,root,755)
b229b45a 677%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_memcached.so
bb55e231
MM
678%endif
679
91565b21
JK
680%if %{with radius}
681%files radius
682%defattr(644,root,root,755)
d186c54b 683%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/dictionary.opensips
bb55e231 684%attr(755,root,root) %{_libdir}/opensips/modules/aaa_radius.so
91565b21
JK
685%endif
686
687%if %{with odbc}
688%files odbc
689%defattr(644,root,root,755)
690%attr(755,root,root) %{_libdir}/opensips/modules/db_unixodbc.so
691%endif
692
d186c54b
JK
693%if %{with geoip}
694%files mmgeoip
695%defattr(644,root,root,755)
696%attr(755,root,root) %{_libdir}/opensips/modules/mmgeoip.so
697%endif
698
699%if %{with ldap}
700%files ldap
701%defattr(644,root,root,755)
702%attr(755,root,root) %{_libdir}/opensips/modules/h350.so
703%attr(755,root,root) %{_libdir}/opensips/modules/ldap.so
704%endif
705
706%if %{with carrierroute}
707%files carrierroute
708%defattr(644,root,root,755)
709%attr(755,root,root) %{_libdir}/opensips/modules/carrierroute.so
710%endif
711
712%if %{with osp}
713%files osp
714%defattr(644,root,root,755)
715%attr(755,root,root) %{_libdir}/opensips/modules/osp.so
716%endif
717
91565b21
JK
718%files snmpstats
719%defattr(644,root,root,755)
720%attr(755,root,root) %{_libdir}/opensips/modules/snmpstats.so
721
722%files perl
723%defattr(644,root,root,755)
5a482e4a 724%attr(755,root,root) %{_libdir}/opensips/modules/db_perlvdb.so
91565b21 725%attr(755,root,root) %{_libdir}/opensips/modules/perl.so
6f967f50 726%{_libdir}/opensips/perl
91565b21 727
b3ea057a 728%files -n mibs-%{name}
91565b21 729%defattr(644,root,root,755)
b3ea057a 730%{_datadir}/mibs/*
b229b45a
JK
731
732%if %{with redis}
733%files redis
734%defattr(644,root,root,755)
735%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_redis.so
736%endif
737
738%if %{with microhttpd}
739%files httpd
740%defattr(644,root,root,755)
741%attr(755,root,root) %{_libdir}/opensips/modules/httpd.so
742%attr(755,root,root) %{_libdir}/opensips/modules/mi_http.so
743%endif
1385cae0
JR
744
745%if %{with rabbitmq}
746%files rabbitmq
747%defattr(644,root,root,755)
d410466d 748%attr(755,root,root) %{_libdir}/opensips/modules/event_rabbitmq.so
1385cae0
JR
749%attr(755,root,root) %{_libdir}/opensips/modules/rabbitmq.so
750%endif
This page took 0.224413 seconds and 4 git commands to generate.