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