]> git.pld-linux.org Git - packages/opensips.git/blame - opensips.spec
mi_httpd belongs to the httpd subpackage
[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 22Version: 2.1.0
3a565fc3 23Release: 0.2
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 \
334 exclude_modules="$exclude_modules" \
335 prefix="%{_prefix}" \
336 cfg-prefix=$RPM_BUILD_ROOT \
337 cfg-target=/etc/opensips/ \
338 CC="%{__cc}" \
5a482e4a 339 CC_EXTRA_OPTS="-I/usr/include/ncurses"
91565b21 340 PREFIX="%{_prefix}" \
5a482e4a 341 CFLAGS="%{rpmcflags} -Wcast-align -fPIC"
91565b21
JK
342
343%install
344rm -rf $RPM_BUILD_ROOT
3a565fc3
JK
345install -d $RPM_BUILD_ROOT%{_sysconfdir}/{ser,sysconfig,rc.d/init.d} \
346 -d $RPM_BUILD_ROOT%{systemdunitdir}
91565b21
JK
347
348exclude_modules="$(cat exclude_modules)"
b713461a 349%{__make} install -j1 \
91565b21
JK
350 exclude_modules="$exclude_modules" \
351 prefix="%{_prefix}" \
352 basedir=$RPM_BUILD_ROOT \
353 cfg-prefix=$RPM_BUILD_ROOT \
b3ea057a
ER
354 cfg-target=/etc/opensips/ \
355 INSTALLMIBDIR=$RPM_BUILD_ROOT%{_datadir}/mibs
91565b21
JK
356
357for i in modules/*; do \
358 i=$(basename $i)
359 [ -f modules/$i/README ] && cp -f modules/$i/README README.$i; \
360done
361
e257f07a 362# contains the same files we install in %doc
551f7076 363%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
91565b21
JK
364
365#cd doc/serdev
366#docbook2html serdev.sgml
367#rm -f serdev.sgml
368#cd ../seruser
369#docbook2html seruser.sgml
370#rm -f seruser.sgml
371#cd ../..
372
373install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/opensips
374install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/opensips
3a565fc3 375install %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/opensips.service
91565b21
JK
376
377%clean
378rm -rf $RPM_BUILD_ROOT
379
380%post
381/sbin/chkconfig --add opensips
b3ea057a 382%service opensips restart "SIP Daemon"
3a565fc3 383%systemd_post opensips.service
91565b21
JK
384
385%preun
3a565fc3 386%systemd_preun opensips.service
91565b21
JK
387if [ "$1" = "0" ]; then
388 %service opensips stop
389 /sbin/chkconfig --del opensips
390fi
391
3a565fc3
JK
392%postun
393%systemd_reload
394
395%triggerpostun -- %{name} < 2.1.0-0.2
396%systemd_trigger opensips.service
397
91565b21
JK
398%files
399%defattr(644,root,root,755)
e257f07a 400%doc README* AUTHORS CREDITS ChangeLog INSTALL NEWS scripts examples
91565b21
JK
401%attr(755,root,root) %{_sbindir}/*
402%dir %{_sysconfdir}/opensips
403%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/opensips.cfg
404%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/opensipsctlrc
d186c54b 405%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/osipsconsolerc
91565b21
JK
406%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/opensips
407%attr(754,root,root) /etc/rc.d/init.d/opensips
3a565fc3 408%{systemdunitdir}/opensips.service
91565b21 409%dir %{_libdir}/opensips
cee7c8ca
JK
410%dir %{_libdir}/opensips/opensipsctl
411%{_libdir}/opensips/opensipsctl/*.*
412%dir %{_libdir}/opensips/opensipsctl/dbtextdb
413%attr(755,root,root) %{_libdir}/opensips/opensipsctl/dbtextdb/dbtextdb.py
91565b21
JK
414%dir %{_libdir}/opensips/modules
415# explict list here, no globs please (to avoid mistakes)
416%attr(755,root,root) %{_libdir}/opensips/modules/acc.so
417%attr(755,root,root) %{_libdir}/opensips/modules/alias_db.so
418%attr(755,root,root) %{_libdir}/opensips/modules/auth.so
bb55e231 419%attr(755,root,root) %{_libdir}/opensips/modules/auth_aaa.so
91565b21 420%attr(755,root,root) %{_libdir}/opensips/modules/auth_db.so
91565b21 421%attr(755,root,root) %{_libdir}/opensips/modules/avpops.so
bb55e231
MM
422%attr(755,root,root) %{_libdir}/opensips/modules/b2b_entities.so
423%attr(755,root,root) %{_libdir}/opensips/modules/b2b_logic.so
5a482e4a 424%attr(755,root,root) %{_libdir}/opensips/modules/b2b_sca.so
91565b21 425%attr(755,root,root) %{_libdir}/opensips/modules/benchmark.so
b229b45a 426%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_local.so
5a482e4a
MM
427%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_sql.so
428%attr(755,root,root) %{_libdir}/opensips/modules/call_center.so
d186c54b 429%attr(755,root,root) %{_libdir}/opensips/modules/call_control.so
5a482e4a 430%attr(755,root,root) %{_libdir}/opensips/modules/compression.so
91565b21
JK
431%attr(755,root,root) %{_libdir}/opensips/modules/cfgutils.so
432%attr(755,root,root) %{_libdir}/opensips/modules/cpl-c.so
433%attr(755,root,root) %{_libdir}/opensips/modules/db_berkeley.so
5a482e4a 434%attr(755,root,root) %{_libdir}/opensips/modules/db_cachedb.so
91565b21 435%attr(755,root,root) %{_libdir}/opensips/modules/db_flatstore.so
bb55e231 436%attr(755,root,root) %{_libdir}/opensips/modules/db_http.so
91565b21 437%attr(755,root,root) %{_libdir}/opensips/modules/db_text.so
bb55e231 438%attr(755,root,root) %{_libdir}/opensips/modules/db_virtual.so
91565b21
JK
439%attr(755,root,root) %{_libdir}/opensips/modules/dialog.so
440%attr(755,root,root) %{_libdir}/opensips/modules/dialplan.so
441%attr(755,root,root) %{_libdir}/opensips/modules/dispatcher.so
442%attr(755,root,root) %{_libdir}/opensips/modules/diversion.so
b229b45a 443%attr(755,root,root) %{_libdir}/opensips/modules/dns_cache.so
91565b21
JK
444%attr(755,root,root) %{_libdir}/opensips/modules/domain.so
445%attr(755,root,root) %{_libdir}/opensips/modules/domainpolicy.so
d186c54b 446%attr(755,root,root) %{_libdir}/opensips/modules/drouting.so
5a482e4a 447%attr(755,root,root) %{_libdir}/opensips/modules/emergency.so
91565b21 448%attr(755,root,root) %{_libdir}/opensips/modules/enum.so
210f5757 449%attr(755,root,root) %{_libdir}/opensips/modules/event_datagram.so
5a482e4a
MM
450%attr(755,root,root) %{_libdir}/opensips/modules/event_route.so
451%attr(755,root,root) %{_libdir}/opensips/modules/event_xmlrpc.so
91565b21
JK
452%attr(755,root,root) %{_libdir}/opensips/modules/exec.so
453%attr(755,root,root) %{_libdir}/opensips/modules/gflags.so
454%attr(755,root,root) %{_libdir}/opensips/modules/group.so
5a482e4a 455%attr(755,root,root) %{_libdir}/opensips/modules/fraud_detection.so
d186c54b 456%attr(755,root,root) %{_libdir}/opensips/modules/identity.so
91565b21 457%attr(755,root,root) %{_libdir}/opensips/modules/imc.so
d186c54b 458%attr(755,root,root) %{_libdir}/opensips/modules/load_balancer.so
91565b21 459%attr(755,root,root) %{_libdir}/opensips/modules/mangler.so
5a482e4a 460%attr(755,root,root) %{_libdir}/opensips/modules/mathops.so
91565b21
JK
461%attr(755,root,root) %{_libdir}/opensips/modules/maxfwd.so
462%attr(755,root,root) %{_libdir}/opensips/modules/mediaproxy.so
463%attr(755,root,root) %{_libdir}/opensips/modules/mi_datagram.so
464%attr(755,root,root) %{_libdir}/opensips/modules/mi_fifo.so
5a482e4a
MM
465%attr(755,root,root) %{_libdir}/opensips/modules/mi_json.so
466%attr(755,root,root) %{_libdir}/opensips/modules/mi_xmlrpc_ng.so
91565b21
JK
467%attr(755,root,root) %{_libdir}/opensips/modules/msilo.so
468%attr(755,root,root) %{_libdir}/opensips/modules/nat_traversal.so
469%attr(755,root,root) %{_libdir}/opensips/modules/nathelper.so
470%attr(755,root,root) %{_libdir}/opensips/modules/options.so
91565b21
JK
471%attr(755,root,root) %{_libdir}/opensips/modules/path.so
472%attr(755,root,root) %{_libdir}/opensips/modules/pdt.so
bb55e231 473%attr(755,root,root) %{_libdir}/opensips/modules/peering.so
91565b21
JK
474%attr(755,root,root) %{_libdir}/opensips/modules/permissions.so
475%attr(755,root,root) %{_libdir}/opensips/modules/pike.so
5a482e4a 476%attr(755,root,root) %{_libdir}/opensips/modules/pi_http.so
91565b21 477%attr(755,root,root) %{_libdir}/opensips/modules/presence.so
bb55e231 478%attr(755,root,root) %{_libdir}/opensips/modules/presence_callinfo.so
d186c54b 479%attr(755,root,root) %{_libdir}/opensips/modules/presence_dialoginfo.so
91565b21 480%attr(755,root,root) %{_libdir}/opensips/modules/presence_mwi.so
d186c54b 481%attr(755,root,root) %{_libdir}/opensips/modules/presence_xcapdiff.so
91565b21 482%attr(755,root,root) %{_libdir}/opensips/modules/presence_xml.so
5a482e4a
MM
483%attr(755,root,root) %{_libdir}/opensips/modules/proto_sctp.so
484%attr(755,root,root) %{_libdir}/opensips/modules/proto_tls.so
485%attr(755,root,root) %{_libdir}/opensips/modules/proto_ws.so
91565b21
JK
486%attr(755,root,root) %{_libdir}/opensips/modules/pua.so
487%attr(755,root,root) %{_libdir}/opensips/modules/pua_bla.so
d186c54b 488%attr(755,root,root) %{_libdir}/opensips/modules/pua_dialoginfo.so
91565b21
JK
489%attr(755,root,root) %{_libdir}/opensips/modules/pua_mi.so
490%attr(755,root,root) %{_libdir}/opensips/modules/pua_usrloc.so
210f5757 491%attr(755,root,root) %{_libdir}/opensips/modules/python.so
d186c54b 492%attr(755,root,root) %{_libdir}/opensips/modules/qos.so
91565b21 493%attr(755,root,root) %{_libdir}/opensips/modules/ratelimit.so
d186c54b 494%attr(755,root,root) %{_libdir}/opensips/modules/regex.so
91565b21 495%attr(755,root,root) %{_libdir}/opensips/modules/registrar.so
5a482e4a 496%attr(755,root,root) %{_libdir}/opensips/modules/rest_client.so
91565b21
JK
497%attr(755,root,root) %{_libdir}/opensips/modules/rls.so
498%attr(755,root,root) %{_libdir}/opensips/modules/rr.so
5a482e4a 499%attr(755,root,root) %{_libdir}/opensips/modules/rtpengine.so
210f5757 500%attr(755,root,root) %{_libdir}/opensips/modules/rtpproxy.so
91565b21 501%attr(755,root,root) %{_libdir}/opensips/modules/seas.so
5a482e4a 502%attr(755,root,root) %{_libdir}/opensips/modules/script_helper.so
d186c54b 503%attr(755,root,root) %{_libdir}/opensips/modules/signaling.so
b229b45a
JK
504%attr(755,root,root) %{_libdir}/opensips/modules/sipcapture.so
505%attr(755,root,root) %{_libdir}/opensips/modules/sipmsgops.so
91565b21
JK
506%attr(755,root,root) %{_libdir}/opensips/modules/siptrace.so
507%attr(755,root,root) %{_libdir}/opensips/modules/sl.so
508%attr(755,root,root) %{_libdir}/opensips/modules/sms.so
509%attr(755,root,root) %{_libdir}/opensips/modules/speeddial.so
510%attr(755,root,root) %{_libdir}/opensips/modules/sst.so
511%attr(755,root,root) %{_libdir}/opensips/modules/statistics.so
bb55e231 512%attr(755,root,root) %{_libdir}/opensips/modules/stun.so
91565b21 513%attr(755,root,root) %{_libdir}/opensips/modules/textops.so
91565b21 514%attr(755,root,root) %{_libdir}/opensips/modules/tm.so
5a482e4a 515%attr(755,root,root) %{_libdir}/opensips/modules/topology_hiding.so
91565b21 516%attr(755,root,root) %{_libdir}/opensips/modules/uac.so
210f5757 517%attr(755,root,root) %{_libdir}/opensips/modules/uac_auth.so
91565b21 518%attr(755,root,root) %{_libdir}/opensips/modules/uac_redirect.so
210f5757 519%attr(755,root,root) %{_libdir}/opensips/modules/uac_registrant.so
91565b21 520%attr(755,root,root) %{_libdir}/opensips/modules/uri.so
91565b21
JK
521%attr(755,root,root) %{_libdir}/opensips/modules/userblacklist.so
522%attr(755,root,root) %{_libdir}/opensips/modules/usrloc.so
5a482e4a 523%attr(755,root,root) %{_libdir}/opensips/modules/xcap.so
91565b21 524%attr(755,root,root) %{_libdir}/opensips/modules/xcap_client.so
91565b21
JK
525%dir %{_datadir}/%{name}
526%{_datadir}/%{name}/db_berkeley
527%{_datadir}/%{name}/dbtext
b229b45a 528%{_datadir}/%{name}/menuconfig_templates
91565b21
JK
529%{_mandir}/man*/*
530
531%files xmpp
532%defattr(644,root,root,755)
533%attr(755,root,root) %{_libdir}/opensips/modules/jabber.so
534%attr(755,root,root) %{_libdir}/opensips/modules/xmpp.so
535%attr(755,root,root) %{_libdir}/opensips/modules/pua_xmpp.so
536
537%if %{with mysql}
538%files mysql
539%defattr(644,root,root,755)
540%attr(755,root,root) %{_libdir}/opensips/modules/db_mysql.so
541%{_datadir}/%{name}/mysql
542%endif
543
544%if %{with pgsql}
545%files postgres
546%defattr(644,root,root,755)
547%attr(755,root,root) %{_libdir}/opensips/modules/db_postgres.so
548%{_datadir}/%{name}/postgres
549%endif
550
bb55e231
MM
551%if %{with json}
552%files json
553%defattr(644,root,root,755)
554%attr(755,root,root) %{_libdir}/opensips/modules/json.so
555%endif
556
557%if %{with memcached}
558%files memcached
559%defattr(644,root,root,755)
b229b45a 560%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_memcached.so
bb55e231
MM
561%endif
562
91565b21
JK
563%if %{with radius}
564%files radius
565%defattr(644,root,root,755)
d186c54b 566%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/dictionary.opensips
bb55e231 567%attr(755,root,root) %{_libdir}/opensips/modules/aaa_radius.so
91565b21
JK
568%endif
569
570%if %{with odbc}
571%files odbc
572%defattr(644,root,root,755)
573%attr(755,root,root) %{_libdir}/opensips/modules/db_unixodbc.so
574%endif
575
d186c54b
JK
576%if %{with geoip}
577%files mmgeoip
578%defattr(644,root,root,755)
579%attr(755,root,root) %{_libdir}/opensips/modules/mmgeoip.so
580%endif
581
582%if %{with ldap}
583%files ldap
584%defattr(644,root,root,755)
585%attr(755,root,root) %{_libdir}/opensips/modules/h350.so
586%attr(755,root,root) %{_libdir}/opensips/modules/ldap.so
587%endif
588
589%if %{with carrierroute}
590%files carrierroute
591%defattr(644,root,root,755)
592%attr(755,root,root) %{_libdir}/opensips/modules/carrierroute.so
593%endif
594
595%if %{with osp}
596%files osp
597%defattr(644,root,root,755)
598%attr(755,root,root) %{_libdir}/opensips/modules/osp.so
599%endif
600
91565b21
JK
601%files snmpstats
602%defattr(644,root,root,755)
603%attr(755,root,root) %{_libdir}/opensips/modules/snmpstats.so
604
605%files perl
606%defattr(644,root,root,755)
5a482e4a 607%attr(755,root,root) %{_libdir}/opensips/modules/db_perlvdb.so
91565b21 608%attr(755,root,root) %{_libdir}/opensips/modules/perl.so
91565b21 609
b3ea057a 610%files -n mibs-%{name}
91565b21 611%defattr(644,root,root,755)
b3ea057a 612%{_datadir}/mibs/*
b229b45a
JK
613
614%if %{with redis}
615%files redis
616%defattr(644,root,root,755)
617%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_redis.so
618%endif
619
620%if %{with microhttpd}
621%files httpd
622%defattr(644,root,root,755)
623%attr(755,root,root) %{_libdir}/opensips/modules/httpd.so
624%attr(755,root,root) %{_libdir}/opensips/modules/mi_http.so
625%endif
This page took 0.127958 seconds and 4 git commands to generate.