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