]> git.pld-linux.org Git - packages/opensips.git/blame - opensips.spec
- updated to 2.1.2 (bugfix release)
[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 19Summary: SIP proxy, redirect and registrar server
8533d516 20Summary(pl.UTF-8): Serwer SIP przekazujący (proxy), przekierowujący i rejestrujący
91565b21 21Name: opensips
8533d516 22Version: 2.1.2
f274b6d5 23Release: 1
91565b21
JK
24License: GPL v2
25Group: Networking/Daemons
8533d516
JB
26Source0: http://opensips.org/pub/opensips/%{version}/%{name}-%{version}.tar.gz
27# Source0-md5: f7590fde5d99fffe05659442073d750c
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
8533d516
JB
89%description -l pl.UTF-8
90OpenSIPS (Open SIP Server) to dojrzała, mająca otwarte źródła
91implementacja serwera SIP. OpenSIPS to więcej niż proxy/router SIP,
92jako że zawiera funkcje na poziomie aplikacji. OpenSIPS, jako serwer
93SIP, jest głównym składnikiem dowolnego rozwiązania VoIP opartego na
94SIP. Z bardzo elastycznym i konfigurowalnym silnikiem trasującym,
95łączy usługi głosowe, wideo, komunikatorów oraz obecności w bardzo
96wydajny sposób, dzięki skalowalnej, modularnej budowie.
97
91565b21
JK
98%package mysql
99Summary: openSIPS MySQL module
100Summary(pl.UTF-8): Moduł MySQL do openSIPS
101Group: Networking/Daemons
102Requires: %{name} = %{version}-%{release}
103
104%description mysql
105MySQL module for openSIPS.
106
107%description mysql -l pl.UTF-8
108Moduł MySQL do openSIPS.
109
110%package postgres
111Summary: openSIPS PostgreSQL module
112Summary(pl.UTF-8): Moduł PostgreSQL do openSIPS
113Group: Networking/Daemons
114Requires: %{name} = %{version}-%{release}
115
116%description postgres
117PostgreSQL module for openSIPS.
118
119%description postgres -l pl.UTF-8
120Moduł PostgreSQL do openSIPS.
121
bb55e231
MM
122%package json
123Summary: openSIPS JSON module
124Summary(pl.UTF-8): Moduł JSON do openSIPS
125Group: Networking/Daemons
126Requires: %{name} = %{version}-%{release}
127
128%description json
129JSON module for openSIPS.
130
131%description json -l pl.UTF-8
132Moduł JSON do openSIPS.
133
134%package memcached
135Summary: openSIPS memcached module
136Summary(pl.UTF-8): Moduł memcached do openSIPS
137Group: Networking/Daemons
138Requires: %{name} = %{version}-%{release}
139
140%description memcached
141Memcached module for openSIPS.
142
143%description memcached -l pl.UTF-8
144Moduł memcached do openSIPS.
145
91565b21
JK
146%package radius
147Summary: openSIPS Radius module
148Summary(pl.UTF-8): Moduł Radius do openSIPS
149Group: Networking/Daemons
150Requires: %{name} = %{version}-%{release}
151
152%description radius
153Radius module for openSIPS.
154
155%description radius -l pl.UTF-8
156Moduł Radius do openSIPS.
157
158%package odbc
159Summary: openSIPS ODBC module
160Summary(pl.UTF-8): Moduł ODBC do openSIPS
161Group: Networking/Daemons
162Requires: %{name} = %{version}-%{release}
163
164%description odbc
165ODBC module for openSIPS.
166
167%description odbc -l pl.UTF-8
168Moduł ODBC do openSIPS.
169
170%package perl
171Summary: openSIPS perl and perlvdb modules
172Summary(pl.UTF-8): Moduły perl i perlvdb do openSIPS
173Group: Networking/Daemons
174Requires: %{name} = %{version}-%{release}
175
176%description perl
177Perl modules (perl & perlvdb) for openSIPS.
178
179%description perl -l pl.UTF-8
180Moduły perl i perlvdb do openSIPS.
181
182%package xmpp
183Summary: openSIPS XMPP/Jabber modules
184Summary(pl.UTF-8): Moduły XMPP/Jabber do openSIPS
185Group: Networking/Daemons
186Requires: %{name} = %{version}-%{release}
187Obsoletes: opensips-jabber
188
189%description xmpp
190XMPP/Jabber modules for openSIPS.
191
192%description xmpp -l pl.UTF-8
193Moduły XMPP/Jabber do openSIPS.
194
d186c54b
JK
195%package ldap
196Summary: openSIPS LDAP and H350 modules
197Summary(pl.UTF-8): Moduły LDAP i H350 do openSIPS
198Group: Networking/Daemons
199Requires: %{name} = %{version}-%{release}
200
201%description ldap
b3ea057a 202LDAP and H350 modules for openSIPS.
d186c54b
JK
203
204%description ldap -l pl.UTF-8
205Moduły LDAP i H350 do openSIPS.
206
207%package carrierroute
208Summary: openSIPS Carrierroute module
209Summary(pl.UTF-8): Moduł Carrierroute do openSIPS
210Group: Networking/Daemons
211Requires: %{name} = %{version}-%{release}
212
213%description carrierroute
214Carrierroute module for openSIPS.
215
216%description carrierroute -l pl.UTF-8
217Moduł Carrierroute do openSIPS.
218
219%package osp
220Summary: openSIPS OSP module
221Summary(pl.UTF-8): Moduł OSP do openSIPS
222Group: Networking/Daemons
223Requires: %{name} = %{version}-%{release}
224
225%description osp
226OSP module for openSIPS.
227
228%description osp -l pl.UTF-8
229Moduł OSP do openSIPS.
230
231%package mmgeoip
232Summary: openSIPS MaxMind GeoIP module
233Summary(pl.UTF-8): Moduł MaxMind GeoIP do openSIPS
234Group: Networking/Daemons
235Requires: %{name} = %{version}-%{release}
236
237%description mmgeoip
238MaxMind GeoIP module for openSIPS.
239
240%description mmgeoip -l pl.UTF-8
241Moduł MaxMind GeoIP do openSIPS.
242
91565b21
JK
243%package snmpstats
244Summary: openSIPS SNMP statistics module
245Summary(pl.UTF-8): Moduł do statystyk SNMP do openSIPS
246Group: Networking/Daemons
247Requires: %{name} = %{version}-%{release}
248
249%description snmpstats
250openSIPS SNMP statistics module.
251
252%description snmpstats -l pl.UTF-8
253Moduł do statystyk SNMP do openSIPS.
254
b3ea057a 255%package -n mibs-%{name}
91565b21
JK
256Summary: MIBs for openSIPS
257Summary(pl.UTF-8): MIB-y dla openSIPS
258Group: Applications/System
b3ea057a 259Requires: mibs-dirs
96b7d304 260Requires: mibs-net-snmp
b3ea057a 261Obsoletes: opensips-mibs
91565b21 262
b3ea057a 263%description -n mibs-%{name}
91565b21
JK
264MIBs for openSIPS.
265
b3ea057a 266%description -n mibs-%{name} -l pl.UTF-8
91565b21
JK
267MIB-y dla openSIPS.
268
b229b45a
JK
269%package redis
270Summary: Redis interface for openSIPS
271Summary(pl.UTF-8): Moduł Redis do openSIPS
272Group: Networking/Daemons
273Requires: %{name} = %{version}-%{release}
274
275%description redis
276Redis interface for openSIPS.
277
278%description redis -l pl.UTF-8
279Moduł Redis do openSIPS.
280
281%package httpd
282Summary: HTTP interface to openSIPS
283Summary(pl.UTF-8): Interfejs HTTP do openSIPS
284Group: Networking/Daemons
285Requires: %{name} = %{version}-%{release}
286
287%description httpd
288HTTP interface to openSIPS.
289
290%description httpd -l pl.UTF-8
291Interfejs HTTP do openSIPS.
292
91565b21 293%prep
5a482e4a 294%setup -q
f274b6d5
JR
295%patch0 -p1
296%patch1 -p1
91565b21 297
91565b21
JK
298%build
299exclude_modules="%{exclude_modules}"
b229b45a
JK
300%if %{without redis}
301exclude_modules="$exclude_modules cachedb_redis"
302%endif
e12422e8
JK
303%if %{without ldap}
304exclude_modules="$exclude_modules h350 ldap"
305%endif
39033727
JK
306%if %{without carrierroute}
307exclude_modules="$exclude_modules carrierroute"
308%endif
91565b21
JK
309%if %{without osp}
310exclude_modules="$exclude_modules osp"
311%endif
b229b45a
JK
312%if %{without microhttpd}
313exclude_modules="$exclude_modules httpd"
314%endif
91565b21 315%if %{without mysql}
e151e7fa 316exclude_modules="$exclude_modules db_mysql"
91565b21
JK
317%endif
318%if %{without pgsql}
e151e7fa 319exclude_modules="$exclude_modules db_postgres"
91565b21
JK
320%endif
321%if %{without odbc}
e151e7fa 322exclude_modules="$exclude_modules db_unixodbc"
91565b21 323%endif
d186c54b
JK
324%if %{without geoip}
325exclude_modules="$exclude_modules mmgeoip"
326%endif
91565b21 327%if %{without radius}
bb55e231
MM
328exclude_modules="$exclude_modules aaa_radius"
329%endif
330%if %{without json}
331exclude_modules="$exclude_modules json"
332%endif
333%if %{without memcached}
57aba727 334exclude_modules="$exclude_modules cachedb_memcached"
91565b21 335%endif
5a482e4a
MM
336%if %{without couchbase}
337exclude_modules="$exclude_modules cachedb_couchbase"
338%endif
339%if %{without mongodb}
340exclude_modules="$exclude_modules cachedb_mongodb"
341%endif
342%if %{without sngtc}
343exclude_modules="$exclude_modules sngtc"
344%endif
91565b21 345echo "$exclude_modules" > exclude_modules
8533d516 346LDFLAGS="%{rpmldflags}" \
91565b21 347%{__make} all \
a2934690 348 Q= \
91565b21 349 exclude_modules="$exclude_modules" \
f274b6d5
JR
350 prefix=%{_prefix} \
351 PREFIX=%{_prefix} \
352 LIBDIR=%{_lib} \
91565b21
JK
353 cfg-prefix=$RPM_BUILD_ROOT \
354 cfg-target=/etc/opensips/ \
355 CC="%{__cc}" \
a2934690 356 CC_EXTRA_OPTS="-I/usr/include/ncurses" \
e10550a7 357 CFLAGS="%{rpmcflags} -Wcast-align"
91565b21
JK
358
359%install
360rm -rf $RPM_BUILD_ROOT
3a565fc3
JK
361install -d $RPM_BUILD_ROOT%{_sysconfdir}/{ser,sysconfig,rc.d/init.d} \
362 -d $RPM_BUILD_ROOT%{systemdunitdir}
91565b21
JK
363
364exclude_modules="$(cat exclude_modules)"
b713461a 365%{__make} install -j1 \
a2934690 366 Q= \
91565b21 367 exclude_modules="$exclude_modules" \
f274b6d5
JR
368 prefix=%{_prefix} \
369 PREFIX=%{_prefix} \
370 LIBDIR=%{_lib} \
371 BASEDIR=$RPM_BUILD_ROOT \
91565b21 372 cfg-prefix=$RPM_BUILD_ROOT \
b3ea057a
ER
373 cfg-target=/etc/opensips/ \
374 INSTALLMIBDIR=$RPM_BUILD_ROOT%{_datadir}/mibs
91565b21
JK
375
376for i in modules/*; do \
377 i=$(basename $i)
378 [ -f modules/$i/README ] && cp -f modules/$i/README README.$i; \
379done
380
e257f07a 381# contains the same files we install in %doc
551f7076 382%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
91565b21
JK
383
384#cd doc/serdev
385#docbook2html serdev.sgml
386#rm -f serdev.sgml
387#cd ../seruser
388#docbook2html seruser.sgml
389#rm -f seruser.sgml
390#cd ../..
391
392install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/opensips
393install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/opensips
3a565fc3 394install %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/opensips.service
91565b21
JK
395
396%clean
397rm -rf $RPM_BUILD_ROOT
398
399%post
400/sbin/chkconfig --add opensips
b3ea057a 401%service opensips restart "SIP Daemon"
3a565fc3 402%systemd_post opensips.service
91565b21
JK
403
404%preun
3a565fc3 405%systemd_preun opensips.service
91565b21
JK
406if [ "$1" = "0" ]; then
407 %service opensips stop
408 /sbin/chkconfig --del opensips
409fi
410
3a565fc3
JK
411%postun
412%systemd_reload
413
414%triggerpostun -- %{name} < 2.1.0-0.2
415%systemd_trigger opensips.service
416
91565b21
JK
417%files
418%defattr(644,root,root,755)
e257f07a 419%doc README* AUTHORS CREDITS ChangeLog INSTALL NEWS scripts examples
91565b21
JK
420%attr(755,root,root) %{_sbindir}/*
421%dir %{_sysconfdir}/opensips
422%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/opensips.cfg
423%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/opensipsctlrc
d186c54b 424%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/osipsconsolerc
f274b6d5
JR
425%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls
426%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/README
427%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/ca.conf
428%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/request.conf
429%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user.conf
430%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/rootCA
431%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/cacert.pem
432%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/index.txt
433%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/serial
434%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/rootCA/certs
435%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/certs/01.pem
436%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/rootCA/private
437%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/rootCA/private/cakey.pem
438%dir %attr(700,root,root) %{_sysconfdir}/opensips/tls/user
439%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-calist.pem
440%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-cert.pem
441%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-cert_req.pem
442%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/tls/user/user-privkey.pem
91565b21
JK
443%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/opensips
444%attr(754,root,root) /etc/rc.d/init.d/opensips
3a565fc3 445%{systemdunitdir}/opensips.service
91565b21 446%dir %{_libdir}/opensips
cee7c8ca
JK
447%dir %{_libdir}/opensips/opensipsctl
448%{_libdir}/opensips/opensipsctl/*.*
449%dir %{_libdir}/opensips/opensipsctl/dbtextdb
450%attr(755,root,root) %{_libdir}/opensips/opensipsctl/dbtextdb/dbtextdb.py
91565b21
JK
451%dir %{_libdir}/opensips/modules
452# explict list here, no globs please (to avoid mistakes)
453%attr(755,root,root) %{_libdir}/opensips/modules/acc.so
454%attr(755,root,root) %{_libdir}/opensips/modules/alias_db.so
455%attr(755,root,root) %{_libdir}/opensips/modules/auth.so
bb55e231 456%attr(755,root,root) %{_libdir}/opensips/modules/auth_aaa.so
91565b21 457%attr(755,root,root) %{_libdir}/opensips/modules/auth_db.so
91565b21 458%attr(755,root,root) %{_libdir}/opensips/modules/avpops.so
bb55e231
MM
459%attr(755,root,root) %{_libdir}/opensips/modules/b2b_entities.so
460%attr(755,root,root) %{_libdir}/opensips/modules/b2b_logic.so
5a482e4a 461%attr(755,root,root) %{_libdir}/opensips/modules/b2b_sca.so
91565b21 462%attr(755,root,root) %{_libdir}/opensips/modules/benchmark.so
b229b45a 463%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_local.so
5a482e4a
MM
464%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_sql.so
465%attr(755,root,root) %{_libdir}/opensips/modules/call_center.so
d186c54b 466%attr(755,root,root) %{_libdir}/opensips/modules/call_control.so
5a482e4a 467%attr(755,root,root) %{_libdir}/opensips/modules/compression.so
91565b21
JK
468%attr(755,root,root) %{_libdir}/opensips/modules/cfgutils.so
469%attr(755,root,root) %{_libdir}/opensips/modules/cpl-c.so
470%attr(755,root,root) %{_libdir}/opensips/modules/db_berkeley.so
5a482e4a 471%attr(755,root,root) %{_libdir}/opensips/modules/db_cachedb.so
91565b21 472%attr(755,root,root) %{_libdir}/opensips/modules/db_flatstore.so
bb55e231 473%attr(755,root,root) %{_libdir}/opensips/modules/db_http.so
91565b21 474%attr(755,root,root) %{_libdir}/opensips/modules/db_text.so
bb55e231 475%attr(755,root,root) %{_libdir}/opensips/modules/db_virtual.so
91565b21
JK
476%attr(755,root,root) %{_libdir}/opensips/modules/dialog.so
477%attr(755,root,root) %{_libdir}/opensips/modules/dialplan.so
478%attr(755,root,root) %{_libdir}/opensips/modules/dispatcher.so
479%attr(755,root,root) %{_libdir}/opensips/modules/diversion.so
b229b45a 480%attr(755,root,root) %{_libdir}/opensips/modules/dns_cache.so
91565b21
JK
481%attr(755,root,root) %{_libdir}/opensips/modules/domain.so
482%attr(755,root,root) %{_libdir}/opensips/modules/domainpolicy.so
d186c54b 483%attr(755,root,root) %{_libdir}/opensips/modules/drouting.so
5a482e4a 484%attr(755,root,root) %{_libdir}/opensips/modules/emergency.so
91565b21 485%attr(755,root,root) %{_libdir}/opensips/modules/enum.so
210f5757 486%attr(755,root,root) %{_libdir}/opensips/modules/event_datagram.so
5a482e4a
MM
487%attr(755,root,root) %{_libdir}/opensips/modules/event_route.so
488%attr(755,root,root) %{_libdir}/opensips/modules/event_xmlrpc.so
91565b21
JK
489%attr(755,root,root) %{_libdir}/opensips/modules/exec.so
490%attr(755,root,root) %{_libdir}/opensips/modules/gflags.so
491%attr(755,root,root) %{_libdir}/opensips/modules/group.so
5a482e4a 492%attr(755,root,root) %{_libdir}/opensips/modules/fraud_detection.so
d186c54b 493%attr(755,root,root) %{_libdir}/opensips/modules/identity.so
91565b21 494%attr(755,root,root) %{_libdir}/opensips/modules/imc.so
d186c54b 495%attr(755,root,root) %{_libdir}/opensips/modules/load_balancer.so
91565b21 496%attr(755,root,root) %{_libdir}/opensips/modules/mangler.so
5a482e4a 497%attr(755,root,root) %{_libdir}/opensips/modules/mathops.so
91565b21
JK
498%attr(755,root,root) %{_libdir}/opensips/modules/maxfwd.so
499%attr(755,root,root) %{_libdir}/opensips/modules/mediaproxy.so
500%attr(755,root,root) %{_libdir}/opensips/modules/mi_datagram.so
501%attr(755,root,root) %{_libdir}/opensips/modules/mi_fifo.so
5a482e4a
MM
502%attr(755,root,root) %{_libdir}/opensips/modules/mi_json.so
503%attr(755,root,root) %{_libdir}/opensips/modules/mi_xmlrpc_ng.so
91565b21
JK
504%attr(755,root,root) %{_libdir}/opensips/modules/msilo.so
505%attr(755,root,root) %{_libdir}/opensips/modules/nat_traversal.so
506%attr(755,root,root) %{_libdir}/opensips/modules/nathelper.so
507%attr(755,root,root) %{_libdir}/opensips/modules/options.so
91565b21
JK
508%attr(755,root,root) %{_libdir}/opensips/modules/path.so
509%attr(755,root,root) %{_libdir}/opensips/modules/pdt.so
bb55e231 510%attr(755,root,root) %{_libdir}/opensips/modules/peering.so
91565b21
JK
511%attr(755,root,root) %{_libdir}/opensips/modules/permissions.so
512%attr(755,root,root) %{_libdir}/opensips/modules/pike.so
5a482e4a 513%attr(755,root,root) %{_libdir}/opensips/modules/pi_http.so
91565b21 514%attr(755,root,root) %{_libdir}/opensips/modules/presence.so
bb55e231 515%attr(755,root,root) %{_libdir}/opensips/modules/presence_callinfo.so
d186c54b 516%attr(755,root,root) %{_libdir}/opensips/modules/presence_dialoginfo.so
91565b21 517%attr(755,root,root) %{_libdir}/opensips/modules/presence_mwi.so
d186c54b 518%attr(755,root,root) %{_libdir}/opensips/modules/presence_xcapdiff.so
91565b21 519%attr(755,root,root) %{_libdir}/opensips/modules/presence_xml.so
5a482e4a
MM
520%attr(755,root,root) %{_libdir}/opensips/modules/proto_sctp.so
521%attr(755,root,root) %{_libdir}/opensips/modules/proto_tls.so
522%attr(755,root,root) %{_libdir}/opensips/modules/proto_ws.so
91565b21
JK
523%attr(755,root,root) %{_libdir}/opensips/modules/pua.so
524%attr(755,root,root) %{_libdir}/opensips/modules/pua_bla.so
d186c54b 525%attr(755,root,root) %{_libdir}/opensips/modules/pua_dialoginfo.so
91565b21
JK
526%attr(755,root,root) %{_libdir}/opensips/modules/pua_mi.so
527%attr(755,root,root) %{_libdir}/opensips/modules/pua_usrloc.so
210f5757 528%attr(755,root,root) %{_libdir}/opensips/modules/python.so
d186c54b 529%attr(755,root,root) %{_libdir}/opensips/modules/qos.so
91565b21 530%attr(755,root,root) %{_libdir}/opensips/modules/ratelimit.so
d186c54b 531%attr(755,root,root) %{_libdir}/opensips/modules/regex.so
91565b21 532%attr(755,root,root) %{_libdir}/opensips/modules/registrar.so
5a482e4a 533%attr(755,root,root) %{_libdir}/opensips/modules/rest_client.so
91565b21
JK
534%attr(755,root,root) %{_libdir}/opensips/modules/rls.so
535%attr(755,root,root) %{_libdir}/opensips/modules/rr.so
5a482e4a 536%attr(755,root,root) %{_libdir}/opensips/modules/rtpengine.so
210f5757 537%attr(755,root,root) %{_libdir}/opensips/modules/rtpproxy.so
91565b21 538%attr(755,root,root) %{_libdir}/opensips/modules/seas.so
5a482e4a 539%attr(755,root,root) %{_libdir}/opensips/modules/script_helper.so
d186c54b 540%attr(755,root,root) %{_libdir}/opensips/modules/signaling.so
b229b45a
JK
541%attr(755,root,root) %{_libdir}/opensips/modules/sipcapture.so
542%attr(755,root,root) %{_libdir}/opensips/modules/sipmsgops.so
91565b21
JK
543%attr(755,root,root) %{_libdir}/opensips/modules/siptrace.so
544%attr(755,root,root) %{_libdir}/opensips/modules/sl.so
545%attr(755,root,root) %{_libdir}/opensips/modules/sms.so
546%attr(755,root,root) %{_libdir}/opensips/modules/speeddial.so
547%attr(755,root,root) %{_libdir}/opensips/modules/sst.so
548%attr(755,root,root) %{_libdir}/opensips/modules/statistics.so
bb55e231 549%attr(755,root,root) %{_libdir}/opensips/modules/stun.so
91565b21 550%attr(755,root,root) %{_libdir}/opensips/modules/textops.so
91565b21 551%attr(755,root,root) %{_libdir}/opensips/modules/tm.so
5a482e4a 552%attr(755,root,root) %{_libdir}/opensips/modules/topology_hiding.so
91565b21 553%attr(755,root,root) %{_libdir}/opensips/modules/uac.so
210f5757 554%attr(755,root,root) %{_libdir}/opensips/modules/uac_auth.so
91565b21 555%attr(755,root,root) %{_libdir}/opensips/modules/uac_redirect.so
210f5757 556%attr(755,root,root) %{_libdir}/opensips/modules/uac_registrant.so
91565b21 557%attr(755,root,root) %{_libdir}/opensips/modules/uri.so
91565b21
JK
558%attr(755,root,root) %{_libdir}/opensips/modules/userblacklist.so
559%attr(755,root,root) %{_libdir}/opensips/modules/usrloc.so
5a482e4a 560%attr(755,root,root) %{_libdir}/opensips/modules/xcap.so
91565b21 561%attr(755,root,root) %{_libdir}/opensips/modules/xcap_client.so
91565b21
JK
562%dir %{_datadir}/%{name}
563%{_datadir}/%{name}/db_berkeley
564%{_datadir}/%{name}/dbtext
b229b45a 565%{_datadir}/%{name}/menuconfig_templates
f274b6d5 566%{_datadir}/%{name}/pi_http
91565b21
JK
567%{_mandir}/man*/*
568
569%files xmpp
570%defattr(644,root,root,755)
571%attr(755,root,root) %{_libdir}/opensips/modules/jabber.so
572%attr(755,root,root) %{_libdir}/opensips/modules/xmpp.so
573%attr(755,root,root) %{_libdir}/opensips/modules/pua_xmpp.so
574
575%if %{with mysql}
576%files mysql
577%defattr(644,root,root,755)
578%attr(755,root,root) %{_libdir}/opensips/modules/db_mysql.so
579%{_datadir}/%{name}/mysql
580%endif
581
582%if %{with pgsql}
583%files postgres
584%defattr(644,root,root,755)
585%attr(755,root,root) %{_libdir}/opensips/modules/db_postgres.so
586%{_datadir}/%{name}/postgres
587%endif
588
bb55e231
MM
589%if %{with json}
590%files json
591%defattr(644,root,root,755)
592%attr(755,root,root) %{_libdir}/opensips/modules/json.so
593%endif
594
595%if %{with memcached}
596%files memcached
597%defattr(644,root,root,755)
b229b45a 598%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_memcached.so
bb55e231
MM
599%endif
600
91565b21
JK
601%if %{with radius}
602%files radius
603%defattr(644,root,root,755)
d186c54b 604%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/dictionary.opensips
bb55e231 605%attr(755,root,root) %{_libdir}/opensips/modules/aaa_radius.so
91565b21
JK
606%endif
607
608%if %{with odbc}
609%files odbc
610%defattr(644,root,root,755)
611%attr(755,root,root) %{_libdir}/opensips/modules/db_unixodbc.so
612%endif
613
d186c54b
JK
614%if %{with geoip}
615%files mmgeoip
616%defattr(644,root,root,755)
617%attr(755,root,root) %{_libdir}/opensips/modules/mmgeoip.so
618%endif
619
620%if %{with ldap}
621%files ldap
622%defattr(644,root,root,755)
623%attr(755,root,root) %{_libdir}/opensips/modules/h350.so
624%attr(755,root,root) %{_libdir}/opensips/modules/ldap.so
625%endif
626
627%if %{with carrierroute}
628%files carrierroute
629%defattr(644,root,root,755)
630%attr(755,root,root) %{_libdir}/opensips/modules/carrierroute.so
631%endif
632
633%if %{with osp}
634%files osp
635%defattr(644,root,root,755)
636%attr(755,root,root) %{_libdir}/opensips/modules/osp.so
637%endif
638
91565b21
JK
639%files snmpstats
640%defattr(644,root,root,755)
641%attr(755,root,root) %{_libdir}/opensips/modules/snmpstats.so
642
643%files perl
644%defattr(644,root,root,755)
5a482e4a 645%attr(755,root,root) %{_libdir}/opensips/modules/db_perlvdb.so
91565b21 646%attr(755,root,root) %{_libdir}/opensips/modules/perl.so
6f967f50 647%{_libdir}/opensips/perl
91565b21 648
b3ea057a 649%files -n mibs-%{name}
91565b21 650%defattr(644,root,root,755)
b3ea057a 651%{_datadir}/mibs/*
b229b45a
JK
652
653%if %{with redis}
654%files redis
655%defattr(644,root,root,755)
656%attr(755,root,root) %{_libdir}/opensips/modules/cachedb_redis.so
657%endif
658
659%if %{with microhttpd}
660%files httpd
661%defattr(644,root,root,755)
662%attr(755,root,root) %{_libdir}/opensips/modules/httpd.so
663%attr(755,root,root) %{_libdir}/opensips/modules/mi_http.so
664%endif
This page took 0.252397 seconds and 4 git commands to generate.