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