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