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