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