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