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