]>
Commit | Line | Data |
---|---|---|
8ac733fc | 1 | # TODO: |
3847216c | 2 | # - chan_misdn (BR: mISDNuser-devel 1.x, needs update for 2.0) |
cfe50eff JB |
3 | # - ffmpeg: sws_getContext now in libswscale, not avcodec |
4 | # - gmime: reverse version check order, use gmime-2.6 by default | |
5 | # - nbs (libnbs, nbs.h) | |
6 | # - ss7 >= 2.0 (libss7, libssh.h) | |
7 | # - openr2 (libopenr2, libopenr2.h) | |
8 | # - pwlib+openh323 | |
9 | # - vpb (libvpb, vpbapi.h) | |
1a59be60 | 10 | # - make package for moh sound files |
77fea154 | 11 | # - build res_ari_mailboxes as an alternative for voicemail subpackages |
f6ca62a9 ER |
12 | # - +x missing: |
13 | # ldd: warning: you do not have execution permission for `/usr/lib/libasteriskssl.so.1' | |
fb0589cb JB |
14 | # |
15 | # Conditional build: | |
9912ed93 | 16 | %bcond_with corosync # res_corosync module (broken in 12.0.0) |
b267d965 | 17 | %bcond_without sqlite2 # build without old sqlite support |
d0d7a116 JK |
18 | %bcond_without oss # build without OSS audio support (SDL dependency) |
19 | %bcond_without tds # build without TDS support | |
20 | %bcond_without ilbc # build without iLBC codec support | |
21 | %bcond_without ldap # build without LDAP support | |
22 | %bcond_without portaudio # build without PortAudio support | |
23 | %bcond_without bluetooth # build without PortAudio support | |
24 | %bcond_without jack # build without JACK support | |
25 | %bcond_without mysql # build without MySQL support | |
26 | %bcond_without pgsql # build without PostgreSQL support | |
27 | %bcond_without odbc # build without ODBC support | |
28 | %bcond_without radius # build without Radius support | |
29 | %bcond_without pjsip # build without PJSIP stack | |
4dd6f92b | 30 | %bcond_without opus_vp8 # build without Opus codec and VP8 passthrough |
503bf64f | 31 | %bcond_with malloc_debug # build with MALLOC_DEBUG |
b267d965 | 32 | |
750e5644 ER |
33 | %bcond_without apidocs # disable apidocs building |
34 | %bcond_without verbose # verbose build | |
0adeb087 | 35 | |
d57ea64b | 36 | %define opus_commit a6b9521f10817c1f39f21f90fecd3f00bbb164d0 |
4dd6f92b | 37 | |
8ac733fc | 38 | Summary: Asterisk PBX |
3dd43888 | 39 | Summary(pl.UTF-8): Centralka (PBX) Asterisk |
8ac733fc | 40 | Name: asterisk |
c4db724a | 41 | Version: 13.15.0 |
8e8fa77e | 42 | Release: 2 |
8ac733fc PG |
43 | License: GPL v2 |
44 | Group: Applications/System | |
685d1c98 | 45 | Source0: http://downloads.digium.com/pub/asterisk/releases/%{name}-%{version}.tar.gz |
c4db724a | 46 | # Source0-md5: 9f72e200b01e7ccc7e8d44bb5d9ff3c7 |
48b81789 PG |
47 | Source1: %{name}.init |
48 | Source2: %{name}.sysconfig | |
27944e5a | 49 | Source3: %{name}.tmpfiles |
30fc321d JK |
50 | Source4: %{name}.logrotate |
51 | Source5: %{name}.service | |
3116fec3 | 52 | # menuselect.* -> make menuconfig; choose options; copy resulting files here |
30fc321d JK |
53 | Source6: menuselect.makedeps |
54 | Source7: menuselect.makeopts | |
d57ea64b | 55 | # https://github.com/traud/asterisk-opus |
4dd6f92b | 56 | Source8: https://github.com/seanbright/asterisk-opus/archive/%{opus_commit}/asterisk-opus-%{opus_commit}.tar.gz |
d57ea64b | 57 | # Source8-md5: d2deae1095b6b42331d3060700c25493 |
00222a62 JK |
58 | Patch0: lua51-path.patch |
59 | Patch1: %{name}-ppc.patch | |
60 | Patch2: FHS-paths.patch | |
61 | Patch3: pld-banner.patch | |
62 | Patch4: lpc10-system.patch | |
63 | Patch5: %{name}-histedit.patch | |
7eae5355 | 64 | Patch6: x32.patch |
6407875b | 65 | Patch7: %{name}-ilbc.patch |
4dd6f92b | 66 | Patch8: asterisk-opus.patch |
8c7a2ffa | 67 | URL: http://www.asterisk.org/ |
1dac8036 | 68 | BuildRequires: OSPToolkit-devel >= 4.0.0 |
cfe50eff | 69 | %{?with_oss:BuildRequires: SDL-devel} |
d0d7a116 | 70 | %{?with_oss:BuildRequires: SDL_image-devel} |
8c1b5e50 | 71 | BuildRequires: alsa-lib-devel |
cfe50eff | 72 | BuildRequires: autoconf >= 2.60 |
7605fc79 | 73 | BuildRequires: automake |
cfe50eff JB |
74 | # libbfd (used only for debug builds?) |
75 | #BuildRequires: binutils-devel | |
76 | BuildRequires: bison >= 2 | |
d0d7a116 | 77 | %{?with_bluetooth:BuildRequires: bluez-libs-devel} |
839d3bea | 78 | %{?with_corosync:BuildRequires: corosync-devel >= 2.0.0} |
cfe50eff | 79 | BuildRequires: curl-devel >= 7.10.1 |
8e72a4f9 | 80 | BuildRequires: dahdi-linux-devel |
a149dc9c | 81 | BuildRequires: dahdi-tools-devel >= 2.0.0 |
1b7ef3a2 | 82 | BuildRequires: doxygen |
cfe50eff | 83 | BuildRequires: flex |
d0d7a116 | 84 | %{?with_tds:BuildRequires: freetds-devel >= 0.63} |
7346b8fc | 85 | BuildRequires: gawk |
19b2566c | 86 | BuildRequires: gcc >= 5:3.4 |
cfe50eff | 87 | # TODO: switch to 2.6 |
8e72a4f9 | 88 | BuildRequires: gmime22-devel |
7605fc79 | 89 | BuildRequires: iksemel-devel |
6889aefb | 90 | BuildRequires: imap-devel |
d0d7a116 | 91 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel} |
1dac8036 | 92 | BuildRequires: jansson-devel |
8e72a4f9 | 93 | BuildRequires: libcap-devel |
5d89ea99 | 94 | BuildRequires: libedit-devel |
1b6f7009 | 95 | BuildRequires: libgsm-devel |
d579563d | 96 | BuildRequires: libical-devel |
8c1b5e50 | 97 | BuildRequires: libogg-devel |
cfe50eff | 98 | BuildRequires: libpri-devel >= 1.4.6 |
4fa818dd | 99 | BuildRequires: libresample-devel |
cfe50eff | 100 | BuildRequires: libtiff-devel |
1dac8036 | 101 | BuildRequires: libuuid-devel |
7e588411 | 102 | BuildRequires: libvorbis-devel |
cfe50eff | 103 | BuildRequires: libxml2-devel >= 2.0 |
1dac8036 | 104 | BuildRequires: libxslt-devel |
1b6f7009 | 105 | BuildRequires: lpc10-devel |
cfe50eff | 106 | BuildRequires: lua51-devel >= 5.1 |
3847216c | 107 | #BuildRequires: mISDNuser-devel < 2 |
d0d7a116 | 108 | %{?with_mysql:BuildRequires: mysql-devel} |
82475f50 | 109 | BuildRequires: ncurses-devel |
f6b38539 | 110 | BuildRequires: neon-devel |
8c1b5e50 AM |
111 | BuildRequires: net-snmp-devel |
112 | BuildRequires: newt-devel | |
d0d7a116 | 113 | %{?with_ldap:BuildRequires: openldap-devel} |
12ec33bf | 114 | BuildRequires: openssl-devel >= 0.9.7d |
cfe50eff | 115 | BuildRequires: opus-devel |
ef8652b2 | 116 | %{?with_opus_vp8:BuildRequires: opusfile-devel} |
8e72a4f9 | 117 | BuildRequires: pam-devel |
ab850b30 | 118 | %{?with_pjsip:BuildRequires: pjproject-devel >= 2.3} |
8e72a4f9 | 119 | BuildRequires: pkgconfig |
8c1b5e50 | 120 | BuildRequires: popt-devel |
d0d7a116 JK |
121 | %{?with_portaudio:BuildRequires: portaudio-devel >= 19} |
122 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
d0d7a116 | 123 | %{?with_radius:BuildRequires: radiusclient-ng-devel} |
4aac1f31 | 124 | BuildRequires: rpmbuild(macros) >= 1.671 |
591f7fb9 | 125 | BuildRequires: sed >= 4.0 |
1b6f7009 | 126 | BuildRequires: spandsp-devel >= 0.0.5 |
fa4054d8 | 127 | BuildRequires: speex-devel |
be8fdf6a | 128 | BuildRequires: speexdsp-devel |
cfe50eff | 129 | %{?with_sqlite2:BuildRequires: sqlite-devel >= 2} |
8c1b5e50 | 130 | BuildRequires: sqlite3-devel |
b89d2618 | 131 | BuildRequires: srtp-devel |
4aac1f31 JK |
132 | Requires(post,preun,postun): systemd-units >= 38 |
133 | Requires: systemd-units >= 0.38 | |
d0d7a116 | 134 | %{?with_odbc:BuildRequires: unixODBC-devel} |
1dac8036 | 135 | BuildRequires: uriparser-devel |
6407875b | 136 | %{?with_ilbc:BuildRequires: webrtc-libilbc-devel >= 2} |
7e588411 | 137 | BuildRequires: xorg-lib-libX11-devel |
8e72a4f9 | 138 | BuildRequires: zlib-devel |
db3e4bef JR |
139 | Requires(post,preun): /sbin/chkconfig |
140 | Requires(postun): /usr/sbin/groupdel | |
141 | Requires(postun): /usr/sbin/userdel | |
142 | Requires(pre): /bin/id | |
143 | Requires(pre): /usr/bin/getgid | |
144 | Requires(pre): /usr/sbin/groupadd | |
145 | Requires(pre): /usr/sbin/useradd | |
fa4054d8 | 146 | Requires: rc-scripts |
db3e4bef JR |
147 | Provides: group(asterisk) |
148 | Provides: user(asterisk) | |
149 | Conflicts: logrotate < 3.8.0 | |
8ac733fc PG |
150 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
151 | ||
216f94ae JK |
152 | # references symbols in the asterisk binary |
153 | %define skip_post_check_so libasteriskssl.so.* | |
154 | ||
69b76b30 JK |
155 | %define _noautoprovfiles %{_libdir}/asterisk/modules/.* |
156 | ||
8ac733fc PG |
157 | %description |
158 | Asterisk is an Open Source PBX and telephony development platform that | |
159 | can both replace a conventional PBX and act as a platform for | |
160 | developing custom telephony applications for delivering dynamic | |
161 | content over a telephone similarly to how one can deliver dynamic | |
162 | content through a web browser using CGI and a web server. | |
163 | ||
164 | Asterisk talks to a variety of telephony hardware including BRI, PRI, | |
165 | POTS, and IP telephony clients using the Inter-Asterisk eXchange | |
166 | protocol (e.g. gnophone or miniphone). For more information and a | |
8c7a2ffa | 167 | current list of supported hardware, see http://www.asterisk.org/. |
de95e0fb | 168 | |
82de9d0d JR |
169 | %description -l pl.UTF-8 |
170 | Asterisk to wolnodostępna centralka (PBX) i platforma programistyczna | |
171 | dla telefonii, mogąca zastąpić konwencjonalne PBX-y oraz służyć jako | |
172 | platforma do rozwijania własnych aplikacji telefonicznych do | |
173 | przekazywania dynamicznej treści przez telefon, podobnie jak można | |
174 | przekazywać dynamiczną treść przez przeglądarkę WWW przy użyciu CGI i | |
de95e0fb JB |
175 | serwera WWW. |
176 | ||
82de9d0d JR |
177 | Asterisk współpracuje z wielorakim sprzętem telefonicznym, w tym BRI, |
178 | PRI, POTS oraz klienty telefonii IP używające protokołu Inter-Asterisk | |
179 | eXchange (np. gnophone lub miniphone). Więcej informacji i listę | |
180 | obsługiwanego sprzętu można znaleźć pod http://www.asterisk.org/. | |
8ac733fc PG |
181 | |
182 | %package devel | |
de95e0fb | 183 | Summary: Header files for Asterisk platform |
3dd43888 | 184 | Summary(pl.UTF-8): Pliki nagłówkowe platformy Asterisk |
8ac733fc | 185 | Group: Development |
8ac733fc PG |
186 | |
187 | %description devel | |
de95e0fb | 188 | Header files for Asterisk development platform. |
8ac733fc | 189 | |
82de9d0d JR |
190 | %description devel -l pl.UTF-8 |
191 | Pliki nagłówkowe platformy programistycznej Asterisk. | |
8ac733fc | 192 | |
9b9ec488 JB |
193 | %package utils |
194 | Summary: Various utilities for Asterisk | |
195 | Summary(pl.UTF-8): Różne narzędzia dla Asteriska | |
a149dc9c | 196 | Group: Applications/Networking |
a149dc9c | 197 | |
9b9ec488 JB |
198 | %description utils |
199 | Various utilities built with Asterisk. | |
200 | ||
201 | %description utils -l pl.UTF-8 | |
202 | Różne narzędzia budowane z Asteriskiem. | |
a149dc9c | 203 | |
622100af | 204 | %package astman |
9b9ec488 JB |
205 | Summary: Astman - a text mode Manager for Asterisk |
206 | Summary(pl.UTF-8): Astman - tekstowy zarządca Asteriska | |
622100af ER |
207 | Group: Applications/Networking |
208 | ||
209 | %description astman | |
210 | Astman is a text mode Manager for Asterisk. | |
211 | ||
212 | Astman connects to Asterisk by TCP, so you can run Astman on a | |
213 | completely different computer than your Asterisk computer. | |
214 | ||
9b9ec488 JB |
215 | %description astman -l pl.UTF-8 |
216 | Astman to tekstowy zarządca dla Asteriska. | |
217 | ||
218 | Łączy się z Asteriskiem po TCP, dzięki czemu można uruchamiać Astmana | |
219 | na innym komputerze, niż działa Asterisk. | |
220 | ||
221 | %package alsa | |
222 | Summary: Module for Asterisk that uses ALSA sound drivers | |
223 | Summary(pl.UTF-8): Moduł Asteriska wykorzystujący sterowniki dźwięku ALSA | |
00222a62 | 224 | Group: Applications/Networking |
9b9ec488 | 225 | Requires: %{name} = %{version}-%{release} |
00222a62 | 226 | |
9b9ec488 JB |
227 | %description alsa |
228 | Module for Asterisk that uses ALSA sound drivers. | |
229 | ||
230 | %description alsa -l pl.UTF-8 | |
231 | Moduł Asteriska wykorzystujący sterowniki dźwięku ALSA. | |
00222a62 | 232 | |
427194db | 233 | %package bluetooth |
9b9ec488 JB |
234 | Summary: chan_mobile - Bluetooth mobile phone interface for Asterisk |
235 | Summary(pl.UTF-8): chan_mobile - interfejs telefonów komórkowych Bluetooth dla Asteriska | |
427194db JK |
236 | Group: Applications/Networking |
237 | Requires: %{name} = %{version}-%{release} | |
238 | ||
239 | %description bluetooth | |
9b9ec488 JB |
240 | The chan_mobile Asterisk module allows one to pair a mobile phone with |
241 | the Asterisk PBX via Bluetooth. | |
242 | ||
243 | %description bluetooth -l pl.UTF-8 | |
244 | Moduł Asteriska chan_mobile pozwala na sparowanie telefonu komórkowego | |
245 | z centralką Asterisk poprzez Bluetooth. | |
427194db | 246 | |
16b28270 JK |
247 | %package calendar |
248 | Summary: Calendar modules for Asterisk | |
9b9ec488 | 249 | Summary(pl.UTF-8): Moduły kalendarza dla Asteriska |
16b28270 JK |
250 | Group: Applications/Networking |
251 | Requires: %{name} = %{version}-%{release} | |
252 | ||
253 | %description calendar | |
254 | Calendar modules for Asterisk. | |
255 | ||
9b9ec488 JB |
256 | %description calendar -l pl.UTF-8 |
257 | Moduły kalendarza dla Asteriska. | |
258 | ||
a149dc9c | 259 | %package curl |
9b9ec488 JB |
260 | Summary: Modules for Asterisk that use cURL library |
261 | Summary(pl.UTF-8): Moduły Asteriska wykorzystujące bibliotekę cURL | |
a149dc9c ER |
262 | Group: Applications/Networking |
263 | Requires: %{name} = %{version}-%{release} | |
264 | ||
265 | %description curl | |
9b9ec488 JB |
266 | Modules for Asterisk that use cURL library. |
267 | ||
268 | %description curl -l pl.UTF-8 | |
269 | Moduły Asteriska wykorzystujące bibliotekę cURL. | |
a149dc9c ER |
270 | |
271 | %package dahdi | |
272 | Summary: Modules for Asterisk that use DAHDI | |
9b9ec488 | 273 | Summary(pl.UTF-8): Moduły Asteriska wykorzystujące DAHDI |
a149dc9c ER |
274 | Group: Applications/Networking |
275 | Requires(pre): /usr/sbin/usermod | |
276 | Requires: %{name} = %{version}-%{release} | |
277 | Requires: dahdi-tools >= 2.0.0 | |
278 | ||
279 | %description dahdi | |
280 | Modules for Asterisk that use DAHDI. | |
281 | ||
9b9ec488 JB |
282 | %description dahdi -l pl.UTF-8 |
283 | Moduły Asteriska wykorzystujące DAHDI. | |
284 | ||
a149dc9c ER |
285 | %package fax |
286 | Summary: FAX applications for Asterisk | |
9b9ec488 | 287 | Summary(pl.UTF-8): Aplikacje faksowe dla Asteriska |
a149dc9c ER |
288 | Group: Applications/Networking |
289 | Requires: %{name} = %{version}-%{release} | |
290 | ||
291 | %description fax | |
9b9ec488 JB |
292 | FAX applications for Asterisk. |
293 | ||
294 | %description fax -l pl.UTF-8 | |
295 | Aplikacje faksowe dla Asteriska. | |
a149dc9c ER |
296 | |
297 | %package festival | |
298 | Summary: Festival application for Asterisk | |
9b9ec488 | 299 | Summary(pl.UTF-8): Aplikacja Festival dla Asteriska |
a149dc9c ER |
300 | Group: Applications/Networking |
301 | Requires: %{name} = %{version}-%{release} | |
302 | Requires: festival | |
303 | ||
304 | %description festival | |
305 | Application for the Asterisk PBX that uses Festival to convert text to | |
306 | speech. | |
307 | ||
9b9ec488 JB |
308 | %description festival -l pl.UTF-8 |
309 | Aplikacja dla centralki Asterisk wykorzystująca bibliotekę Festival do | |
310 | przekształcenia tekstu na mowę. | |
311 | ||
622100af ER |
312 | %package gsm |
313 | Summary: Support GSM audio encoding/decoding | |
9b9ec488 | 314 | Summary(pl.UTF-8): Obsługa kodowania/dekodowania dźwięku GSM |
622100af ER |
315 | Group: Applications/Networking |
316 | Requires: %{name} = %{version}-%{release} | |
317 | ||
318 | %description gsm | |
319 | Support GSM audio encoding/decoding. | |
320 | ||
9b9ec488 JB |
321 | %description gsm -l pl.UTF-8 |
322 | Obsługa kodowania/dekodowania dźwięku GSM. | |
323 | ||
622100af ER |
324 | %package http |
325 | Summary: HTTP Server Support | |
9b9ec488 | 326 | Summary(pl.UTF-8): Obsługa serwera HTTP |
622100af ER |
327 | Group: Applications/Networking |
328 | Requires: %{name} = %{version}-%{release} | |
329 | ||
330 | %description http | |
331 | HTTP Server Support. | |
332 | ||
9b9ec488 JB |
333 | %description http -l pl.UTF-8 |
334 | Obsługa serwera HTTP. | |
335 | ||
a149dc9c ER |
336 | %package ices |
337 | Summary: Stream audio from Asterisk to an IceCast server | |
9b9ec488 | 338 | Summary(pl.UTF-8): Przesyłanie strumienia dźwięku z Asteriska do serwera IceCast |
a149dc9c ER |
339 | Group: Applications/Networking |
340 | Requires: %{name} = %{version}-%{release} | |
341 | Requires: ices | |
342 | Obsoletes: asterisk < 1.4.18-1 | |
343 | Conflicts: asterisk < 1.4.18-1 | |
344 | ||
345 | %description ices | |
346 | Stream audio from Asterisk to an IceCast server. | |
347 | ||
9b9ec488 JB |
348 | %description ices -l pl.UTF-8 |
349 | Przesyłanie strumienia dźwięku z Asteriska do serwera IceCast. | |
350 | ||
7960382f JK |
351 | %package ilbc |
352 | Summary: iLBC codec for Asterisk | |
9b9ec488 | 353 | Summary(pl.UTF-8): Kodek iLBC dla Asteriska |
7960382f JK |
354 | Group: Applications/Networking |
355 | Requires: %{name} = %{version}-%{release} | |
356 | ||
357 | %description ilbc | |
358 | Support iLBC audio encoding/decoding. | |
359 | ||
9b9ec488 JB |
360 | %description ilbc -l pl.UTF-8 |
361 | Obsługa kodowania/dekodowania dźwięku iLBC. | |
362 | ||
a149dc9c ER |
363 | %package jabber |
364 | Summary: Jabber/XMPP resources for Asterisk | |
9b9ec488 | 365 | Summary(pl.UTF-8): Zasoby Jabbera/XMPP dla Asteriska |
a149dc9c ER |
366 | Group: Applications/Networking |
367 | Requires: %{name} = %{version}-%{release} | |
368 | ||
369 | %description jabber | |
370 | Jabber/XMPP resources for Asterisk. | |
371 | ||
9b9ec488 JB |
372 | %description jabber -l pl.UTF-8 |
373 | Zasoby Jabbera/XMPP dla Asteriska. | |
374 | ||
a149dc9c ER |
375 | %package jack |
376 | Summary: JACK resources for Asterisk | |
9b9ec488 | 377 | Summary(pl.UTF-8): Zasoby JACK dla Asteriska |
a149dc9c ER |
378 | Group: Applications/Networking |
379 | Requires: %{name} = %{version}-%{release} | |
380 | ||
381 | %description jack | |
382 | JACK resources for Asterisk. | |
383 | ||
9b9ec488 JB |
384 | %description jack -l pl.UTF-8 |
385 | Zasoby JACK dla Asteriska. | |
386 | ||
a149dc9c ER |
387 | %package lua |
388 | Summary: Lua resources for Asterisk | |
9b9ec488 | 389 | Summary(pl.UTF-8): Zasoby Lua dla Asteriska |
a149dc9c ER |
390 | Group: Applications/Networking |
391 | Requires: %{name} = %{version}-%{release} | |
392 | ||
393 | %description lua | |
394 | Lua resources for Asterisk. | |
395 | ||
9b9ec488 JB |
396 | %description lua -l pl.UTF-8 |
397 | Zasoby Lua dla Asteriska. | |
398 | ||
a149dc9c ER |
399 | %package ldap |
400 | Summary: LDAP resources for Asterisk | |
9b9ec488 | 401 | Summary(pl.UTF-8): Zasoby LDAP dla Asteriska |
a149dc9c ER |
402 | Group: Applications/Networking |
403 | Requires: %{name} = %{version}-%{release} | |
404 | ||
405 | %description ldap | |
406 | LDAP resources for Asterisk. | |
407 | ||
9b9ec488 JB |
408 | %description ldap -l pl.UTF-8 |
409 | Zasoby LDAP dla Asteriska. | |
410 | ||
a149dc9c ER |
411 | %package ldap-fds |
412 | Summary: LDAP resources for Asterisk and the Fedora Directory Server | |
9b9ec488 | 413 | Summary(pl.UTF-8): Zasoby LDAP dla Asteriska oraz serwera usług katalogowych Fedora Directory Server |
a149dc9c ER |
414 | Group: Applications/Networking |
415 | Requires: %{name} = %{version}-%{release} | |
416 | Requires: %{name}-ldap = %{version}-%{release} | |
417 | Requires: fedora-ds-base | |
418 | ||
419 | %description ldap-fds | |
420 | LDAP resources for Asterisk and the Fedora Directory Server. | |
421 | ||
9b9ec488 JB |
422 | %description ldap-fds -l pl.UTF-8 |
423 | Zasoby LDAP dla Asteriska oraz serwera usług katalogowych Fedora | |
424 | Directory Server. | |
425 | ||
622100af ER |
426 | %package lpc10 |
427 | Summary: LPC-10 2400 bps Voice Codec support | |
9b9ec488 | 428 | Summary(pl.UTF-8): Obsługa kodeka głosu LPC-10 2400 bps |
622100af ER |
429 | Group: Applications/Networking |
430 | Requires: %{name} = %{version}-%{release} | |
431 | ||
432 | %description lpc10 | |
433 | LPC-10 2400 bps Voice Codec support | |
434 | ||
9b9ec488 JB |
435 | %description lpc10 -l pl.UTF-8 |
436 | Obsługa kodeka głosu LPC-10 2400 bps. | |
437 | ||
a149dc9c | 438 | %package minivm |
9b9ec488 JB |
439 | Summary: MiniVM application for Asterisk |
440 | Summary(pl.UTF-8): Aplikacja MiniVM dla Asteriska | |
a149dc9c ER |
441 | Group: Applications/Networking |
442 | Requires: %{name} = %{version}-%{release} | |
443 | ||
444 | %description minivm | |
445 | MiniVM application for Asterisk. | |
446 | ||
9b9ec488 JB |
447 | %description minivm -l pl.UTF-8 |
448 | Aplikacja MiniVM dla Asteriska. | |
449 | ||
4a45c9f9 JK |
450 | %package mysql |
451 | Summary: Asterisk modules that use MySQL | |
9b9ec488 | 452 | Summary(pl.UTF-8): Moduły Asteriska wykorzystujące MySQL |
4a45c9f9 JK |
453 | Group: Applications/Networking |
454 | Requires: %{name} = %{version}-%{release} | |
455 | ||
456 | %description mysql | |
457 | Asterisk modules that use MySQL. | |
458 | ||
9b9ec488 JB |
459 | %description mysql -l pl.UTF-8 |
460 | Moduły Asteriska wykorzystujące MySQL. | |
461 | ||
a149dc9c ER |
462 | %package odbc |
463 | Summary: Applications for Asterisk that use ODBC (except voicemail) | |
9b9ec488 | 464 | Summary(pl.UTF-8): Aplikacje Asteriska wykorzystujące ODBC (z wyjątkiem voicemail) |
a149dc9c ER |
465 | Group: Applications/Networking |
466 | Requires: %{name} = %{version}-%{release} | |
467 | ||
468 | %description odbc | |
9b9ec488 JB |
469 | Applications for Asterisk that use ODBC (except voicemail). |
470 | ||
471 | %description odbc -l pl.UTF-8 | |
472 | Aplikacje Asteriska wykorzystujące ODBC (z wyjątkiem voicemail). | |
a149dc9c | 473 | |
385eff93 | 474 | %package osp |
9b9ec488 JB |
475 | Summary: Module for Asterisk that uses Open Settlement Protocol (OSP) Applications |
476 | Summary(pl.UTF-8): Moduł Asteriska wykorzystujący aplikacje OSP (Open Settlement Protocol) | |
385eff93 ER |
477 | Group: Applications/Networking |
478 | Requires: %{name} = %{version}-%{release} | |
479 | ||
480 | %description osp | |
481 | Open Settlement Protocol (OSP) Applications. | |
482 | ||
9b9ec488 JB |
483 | %description osp -l pl.UTF-8 |
484 | Aplikacje protokołu OSP (Open Settlement Protocol). | |
485 | ||
a149dc9c | 486 | %package oss |
9b9ec488 JB |
487 | Summary: Module for Asterisk that uses OSS sound drivers |
488 | Summary(pl.UTF-8): Moduł Asteriska wykorzystujący sterowniki dźwięku OSS | |
a149dc9c ER |
489 | Group: Applications/Networking |
490 | Requires: %{name} = %{version}-%{release} | |
491 | ||
492 | %description oss | |
9b9ec488 JB |
493 | Module for Asterisk that uses OSS sound drivers. |
494 | ||
495 | %description oss -l pl.UTF-8 | |
496 | Moduł Asteriska wykorzystujący sterowniki dźwięku OSS. | |
a149dc9c | 497 | |
7bb98ca7 JK |
498 | %package pjsip |
499 | Summary: PJSIP Asterisk modules | |
9b9ec488 | 500 | Summary(pl.UTF-8): Moduły Asteriska PJSIP |
7bb98ca7 JK |
501 | Group: Applications/Networking |
502 | Requires: %{name} = %{version}-%{release} | |
503 | ||
504 | %description pjsip | |
9b9ec488 JB |
505 | The chan_pjsip and res_pjsip* modules provided by this package provide |
506 | the new SIP driver for Asterisk, based on the PJSIP stack, to replace | |
507 | the old, badly designed and quite buggy chan_sip module. | |
508 | ||
509 | %description pjsip -l pl.UTF-8 | |
510 | Moduły chan_pjsip oraz res_pjsip* zawarte w tym pakiecie dostarczają | |
511 | nowy sterownik SIP dla Asteriska, oparty na stosie PJSIP, który ma | |
512 | zastąpić stary, źle zaprojektowany i zawierający błędy moduł chan_sip. | |
7bb98ca7 | 513 | |
a149dc9c | 514 | %package portaudio |
9b9ec488 JB |
515 | Summary: Module for Asterisk that uses the PortAudio library |
516 | Summary(pl.UTF-8): Moduł Asteriska wykorzystujący bibliotekę PortAudio | |
a149dc9c ER |
517 | Group: Applications/Networking |
518 | Requires: %{name} = %{version}-%{release} | |
519 | ||
520 | %description portaudio | |
9b9ec488 JB |
521 | Module for Asterisk that uses the PortAudio library. |
522 | ||
523 | %description portaudio -l pl.UTF-8 | |
524 | Moduł Asteriska wykorzystującye bibliotekę PortAudio. | |
a149dc9c ER |
525 | |
526 | %package postgresql | |
527 | Summary: Applications for Asterisk that use PostgreSQL | |
9b9ec488 | 528 | Summary(pl.UTF-8): Aplikacje Asteriska wykorzystujące PostgreSQL |
a149dc9c ER |
529 | Group: Applications/Networking |
530 | Requires: %{name} = %{version}-%{release} | |
531 | ||
532 | %description postgresql | |
533 | Applications for Asterisk that use PostgreSQL. | |
534 | ||
9b9ec488 JB |
535 | %description postgresql -l pl.UTF-8 |
536 | Aplikacje Asteriska wykorzystujące PostgreSQL. | |
537 | ||
a149dc9c ER |
538 | %package radius |
539 | Summary: Applications for Asterisk that use RADIUS | |
9b9ec488 | 540 | Summary(pl.UTF-8): Aplikacje Asteriska wykorzystujące bibliotekę RADIUS |
a149dc9c ER |
541 | Group: Applications/Networking |
542 | Requires: %{name} = %{version}-%{release} | |
543 | ||
544 | %description radius | |
545 | Applications for Asterisk that use RADIUS. | |
546 | ||
9b9ec488 JB |
547 | %description radius -l pl.UTF-8 |
548 | Aplikacje Asteriska wykorzystujące bibliotekę RADIUS. | |
549 | ||
622100af ER |
550 | %package resample |
551 | Summary: resample codec | |
9b9ec488 | 552 | Summary(pl.UTF-8): Kodek resample |
622100af ER |
553 | Group: Applications/Networking |
554 | Requires: %{name} = %{version}-%{release} | |
555 | ||
556 | %description resample | |
557 | resample codec. | |
558 | ||
9b9ec488 JB |
559 | %description resample -l pl.UTF-8 |
560 | Kodek resample. | |
561 | ||
a149dc9c | 562 | %package skinny |
9b9ec488 JB |
563 | Summary: Module for Asterisk that supportsthe SCCP/Skinny protocol |
564 | Summary(pl.UTF-8): Moduł Asteriska obsługujący protokół SCCP/Skinny | |
a149dc9c ER |
565 | Group: Applications/Networking |
566 | Requires: %{name} = %{version}-%{release} | |
567 | ||
568 | %description skinny | |
9b9ec488 JB |
569 | Module for Asterisk that supports the SCCP/Skinny protocol. |
570 | ||
571 | %description skinny -l pl.UTF-8 | |
572 | Moduł Asteriska obsługujący protokół SCCP/Skinny. | |
a149dc9c ER |
573 | |
574 | %package snmp | |
575 | Summary: Module that enables SNMP monitoring of Asterisk | |
9b9ec488 | 576 | Summary(pl.UTF-8): Moduł pozwalający na monitorowanie Asteriska przez SNMP |
a149dc9c ER |
577 | Group: Applications/Networking |
578 | Requires: %{name} = %{version}-%{release} | |
750e5644 | 579 | Requires: mibs-dirs |
a149dc9c ER |
580 | |
581 | %description snmp | |
582 | Module that enables SNMP monitoring of Asterisk. | |
583 | ||
9b9ec488 JB |
584 | %description snmp -l pl.UTF-8 |
585 | Moduł pozwalający na monitorowanie Asteriska przez SNMP. | |
586 | ||
622100af ER |
587 | %package speex |
588 | Summary: Speex codec support | |
9b9ec488 | 589 | Summary(pl.UTF-8): Obsługa kodeka Speex |
622100af ER |
590 | Group: Applications/Networking |
591 | Requires: %{name} = %{version}-%{release} | |
592 | ||
593 | %description speex | |
594 | Speex codec support. | |
595 | ||
9b9ec488 JB |
596 | %description speex -l pl.UTF-8 |
597 | Obsługa kodeka Speex. | |
598 | ||
b267d965 | 599 | %package sqlite2 |
9b9ec488 JB |
600 | Summary: SQLite 2 module for Asterisk |
601 | Summary(pl.UTF-8): Moduł SQLite 2 dla Asteriska | |
a149dc9c ER |
602 | Group: Applications/Networking |
603 | Requires: %{name} = %{version}-%{release} | |
604 | ||
b267d965 | 605 | %description sqlite2 |
9b9ec488 JB |
606 | SQLite 2 module for Asterisk. |
607 | ||
608 | %description sqlite2 -l pl.UTF-8 | |
609 | Moduł SQLite 2 dla Asteriska. | |
a149dc9c | 610 | |
b267d965 | 611 | %package sqlite3 |
9b9ec488 JB |
612 | Summary: SQLite 3 modules for Asterisk |
613 | Summary(pl.UTF-8): Moduły SQLite 3 dla Asteriska | |
b267d965 JK |
614 | Group: Applications/Networking |
615 | Requires: %{name} = %{version}-%{release} | |
616 | Obsoletes: asterisk-sqlite < 12.0.0 | |
617 | ||
618 | %description sqlite3 | |
9b9ec488 JB |
619 | SQLite 3 modules for Asterisk. |
620 | ||
621 | %description sqlite3 -l pl.UTF-8 | |
622 | Moduły SQLite 3 dla Asteriska. | |
b267d965 | 623 | |
a149dc9c ER |
624 | %package tds |
625 | Summary: Modules for Asterisk that use FreeTDS | |
9b9ec488 | 626 | Summary(pl.UTF-8): Moduły Asteriska wykorzystujące FreeTDS |
a149dc9c ER |
627 | Group: Applications/Networking |
628 | Requires: %{name} = %{version}-%{release} | |
629 | ||
630 | %description tds | |
631 | Modules for Asterisk that use FreeTDS. | |
632 | ||
9b9ec488 JB |
633 | %description tds -l pl.UTF-8 |
634 | Moduły Asteriska wykorzystujące FreeTDS. | |
635 | ||
a149dc9c ER |
636 | %package unistim |
637 | Summary: Unistim channel for Asterisk | |
9b9ec488 | 638 | Summary(pl.UTF-8): Kanał Unistim dla Asteriska |
a149dc9c ER |
639 | Group: Applications/Networking |
640 | Requires: %{name} = %{version}-%{release} | |
641 | ||
642 | %description unistim | |
643 | Unistim channel for Asterisk | |
644 | ||
9b9ec488 JB |
645 | %description unistim -l pl.UTF-8 |
646 | Kanał Unistim dla Asteriska. | |
647 | ||
a149dc9c ER |
648 | %package voicemail |
649 | Summary: Common Voicemail Modules for Asterisk | |
9b9ec488 | 650 | Summary(pl.UTF-8): Wspólne moduły Voicemail (poczty głosowej) dla Asteriska |
a149dc9c ER |
651 | Group: Applications/Networking |
652 | Requires: %{name} = %{version}-%{release} | |
653 | Requires: %{name}-voicemail-implementation = %{version}-%{release} | |
654 | Requires: /usr/lib/sendmail | |
655 | Requires: sox | |
656 | ||
657 | %description voicemail | |
658 | Common Voicemail Modules for Asterisk. | |
659 | ||
9b9ec488 JB |
660 | %description voicemail -l pl.UTF-8 |
661 | Wspólne moduły Voicemail (poczty głosowej) dla Asteriska. | |
662 | ||
a149dc9c ER |
663 | %package voicemail-imap |
664 | Summary: Store voicemail on an IMAP server | |
9b9ec488 | 665 | Summary(pl.UTF-8): Przechowywanie poczty głosowej na serwerze IMAP |
a149dc9c ER |
666 | Group: Applications/Networking |
667 | Requires: %{name} = %{version}-%{release} | |
668 | Requires: %{name}-voicemail = %{version}-%{release} | |
669 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
670 | ||
671 | %description voicemail-imap | |
672 | Voicemail implementation for Asterisk that stores voicemail on an IMAP | |
673 | server. | |
674 | ||
9b9ec488 JB |
675 | %description voicemail-imap -l pl.UTF-8 |
676 | Implementacja poczty głosowej (Voicemail) dla Asteriska przechowująca | |
677 | pocztę na serwerze IMAP. | |
678 | ||
a149dc9c ER |
679 | %package voicemail-odbc |
680 | Summary: Store voicemail in a database using ODBC | |
9b9ec488 | 681 | Summary(pl.UTF-8): Przechowywanie poczty głosowej w bazie danych poprzez ODBC |
a149dc9c ER |
682 | Group: Applications/Networking |
683 | Requires: %{name} = %{version}-%{release} | |
684 | Requires: %{name}-voicemail = %{version}-%{release} | |
685 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
686 | ||
687 | %description voicemail-odbc | |
688 | Voicemail implementation for Asterisk that uses ODBC to store | |
689 | voicemail in a database. | |
690 | ||
9b9ec488 JB |
691 | %description voicemail-odbc -l pl.UTF-8 |
692 | Implementacja poczty głosowej (Voicemail) dla Asteriska wykorzystująca | |
693 | ODBC do przechowywania poczty w bazie danych. | |
694 | ||
a149dc9c ER |
695 | %package voicemail-plain |
696 | Summary: Store voicemail on the local filesystem | |
9b9ec488 | 697 | Summary(pl.UTF-8): Przechowywanie poczty głosowej na lokalnym systemie plików |
a149dc9c ER |
698 | Group: Applications/Networking |
699 | Requires: %{name} = %{version}-%{release} | |
700 | Requires: %{name}-voicemail = %{version}-%{release} | |
701 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
702 | ||
703 | %description voicemail-plain | |
704 | Voicemail implementation for Asterisk that stores voicemail on the | |
705 | local filesystem. | |
706 | ||
9b9ec488 JB |
707 | %description voicemail-plain -l pl.UTF-8 |
708 | Implementacja poczty głosowej (Voicemail) dla Asteriska przechowująca | |
709 | pocztę na lokalnym systemie plików. | |
710 | ||
622100af ER |
711 | %package vorbis |
712 | Summary: Ogg Vorbis format support | |
9b9ec488 | 713 | Summary(pl.UTF-8): Obsługa formatu Ogg Vorbis |
622100af ER |
714 | Group: Applications/Networking |
715 | Requires: %{name} = %{version}-%{release} | |
716 | ||
717 | %description vorbis | |
718 | Ogg Vorbis format support. | |
719 | ||
9b9ec488 JB |
720 | %description vorbis -l pl.UTF-8 |
721 | Obsługa formatu Ogg Vorbis. | |
722 | ||
d3c4ccdf JK |
723 | %package opus |
724 | Summary: Opus codec and file format support | |
725 | Summary(pl.UTF-8): Obsługa kodeka i formatu plików Opus | |
726 | Group: Applications/Networking | |
727 | Requires: %{name} = %{version}-%{release} | |
728 | ||
729 | %description opus | |
730 | Opus codec and file format support. | |
731 | ||
732 | %description opus -l pl.UTF-8 | |
733 | Obsługa kodeka i formatu plików Opus. | |
734 | ||
a3afe3be JK |
735 | %package debug-tools |
736 | Summary: Debugging scripts for Asterisk | |
8e8fa77e | 737 | Summary(pl.UTF-8): Skrypty diagnostyczne dla Asteriska |
a3afe3be JK |
738 | Group: Applications/Networking |
739 | Requires: %{name} = %{version}-%{release} | |
740 | ||
741 | %description debug-tools | |
742 | Debugging scripts for Asterisk. | |
743 | ||
8e8fa77e JB |
744 | %description debug-tools -l pl.UTF-8 |
745 | Skrypty diagnostyczne dla Asteriska. | |
746 | ||
a5be3e03 ER |
747 | # define apidocs as last package, as it is the biggest one |
748 | %package apidocs | |
749 | Summary: API documentation for Asterisk | |
9b9ec488 | 750 | Summary(pl.UTF-8): Dokumentacja API Asteriska |
a5be3e03 | 751 | Group: Documentation |
0195c89b ER |
752 | %if "%{_rpmversion}" >= "5" |
753 | BuildArch: noarch | |
754 | %endif | |
a5be3e03 ER |
755 | |
756 | %description apidocs | |
757 | API documentation for Asterisk. | |
758 | ||
9b9ec488 JB |
759 | %description apidocs -l pl.UTF-8 |
760 | Dokumentacja API Asteriska. | |
761 | ||
8ac733fc | 762 | %prep |
4dd6f92b | 763 | %setup -q -a 8 |
ba762f24 | 764 | %patch0 -p1 |
8c44d5b7 | 765 | %patch1 -p1 |
707c94d9 | 766 | %patch2 -p1 |
5d89ea99 | 767 | %patch3 -p1 |
0303e2bb | 768 | %patch4 -p1 |
707c94d9 | 769 | %patch5 -p1 |
7eae5355 | 770 | %patch6 -p1 |
6407875b | 771 | %patch7 -p1 |
36a72b9c | 772 | |
4dd6f92b JK |
773 | %if %{with opus_vp8} |
774 | %patch8 -p1 | |
775 | ||
776 | cp -a asterisk-opus-%{opus_commit}/codecs/* codecs | |
777 | cp -a asterisk-opus-%{opus_commit}/formats/* formats | |
d57ea64b JK |
778 | cp -a asterisk-opus-%{opus_commit}/res/* rest |
779 | cp -a asterisk-opus-%{opus_commit}/include/asterisk/* include/asterisk | |
4dd6f92b JK |
780 | %endif |
781 | ||
a149dc9c ER |
782 | # Fixup makefile so sound archives aren't downloaded/installed |
783 | %{__sed} -i -e 's/^all:.*$/all:/' sounds/Makefile | |
784 | %{__sed} -i -e 's/^install:.*$/install:/' sounds/Makefile | |
785 | ||
1b6f7009 | 786 | # avoid using these |
6407875b | 787 | %{__rm} -r main/editline codecs/gsm codecs/lpc10 |
6db22ae5 | 788 | |
8ac733fc | 789 | %build |
1248434e | 790 | %{__aclocal} -I autoconf $(find third-party/ -maxdepth 1 -type d -printf "-I %p ") |
6cd0c1d6 | 791 | %{__autoheader} |
7605fc79 AM |
792 | %{__autoconf} |
793 | ||
a149dc9c | 794 | export ASTCFLAGS="%{rpmcflags}" |
8c44d5b7 | 795 | export ASTLDFLAGS="%{rpmldflags}" |
8e72a4f9 | 796 | export WGET="/bin/true" |
6889aefb ER |
797 | |
798 | # be sure to invoke ./configure with our flags | |
6889aefb | 799 | cd menuselect |
4fb7c436 | 800 | %{__aclocal} -I ../autoconf |
6889aefb ER |
801 | %{__autoheader} |
802 | %{__autoconf} | |
4fb7c436 ER |
803 | # we need just plain cli for building |
804 | %configure \ | |
9b9ec488 JB |
805 | --without-newt \ |
806 | --without-gtk2 \ | |
807 | --without-curses \ | |
808 | --without-ncurses | |
6889aefb ER |
809 | cd .. |
810 | ||
6db22ae5 | 811 | %configure \ |
cfe50eff JB |
812 | %{__without oss SDL_image} \ |
813 | %{__without bluetooth bluetooth} \ | |
c38af74f | 814 | --without-gtk2 \ |
cfe50eff | 815 | --with-gnu-ld \ |
6889aefb | 816 | --with-gsm=/usr \ |
d0d7a116 | 817 | %{__without ilbc ilbc} \ |
cfe50eff | 818 | --with-imap=system \ |
d0d7a116 | 819 | %{__without jack jack} \ |
cfe50eff JB |
820 | %{__without ldap ldap} \ |
821 | --with-lpc10=/usr \ | |
d0d7a116 | 822 | %{__without mysql mysqlclient} \ |
cfe50eff JB |
823 | %{__without oss oss} \ |
824 | %{__without pjsip pjproject} \ | |
825 | %{__without portaudio portaudio} \ | |
d0d7a116 | 826 | %{__without pgsql postgres} \ |
d0d7a116 | 827 | %{__without radius radius} \ |
cfe50eff JB |
828 | %{__without oss sdl} \ |
829 | %{__without tds tds} \ | |
830 | %{__without odbc unixodbc} | |
7605fc79 AM |
831 | |
832 | cp -f .cleancount .lastclean | |
833 | ||
d0d7a116 JK |
834 | %{__make} menuselect/menuselect |
835 | %{__make} menuselect-tree | |
836 | ||
30fc321d JK |
837 | cp %{SOURCE6} . |
838 | cp %{SOURCE7} . | |
d0d7a116 | 839 | |
d0d7a116 JK |
840 | %if %{without corosync} |
841 | menuselect/menuselect --disable res_corosync menuselect.makeopts | |
842 | %endif | |
843 | %if %{without sqlite2} | |
844 | menuselect/menuselect --disable res_config_sqlite menuselect.makeopts | |
845 | %endif | |
846 | %if %{without oss} | |
847 | menuselect/menuselect --disable chan_oss menuselect.makeopts | |
848 | %endif | |
849 | %if %{without tds} | |
850 | menuselect/menuselect --disable cdr_tds --disable cel_tds menuselect.makeopts | |
851 | %endif | |
852 | %if %{without ilbc} | |
853 | menuselect/menuselect --disable codec_ilbc --disable format_ilbc menuselect.makeopts | |
854 | %endif | |
855 | %if %{without ldap} | |
856 | menuselect/menuselect --disable res_config_ldap menuselect.makeopts | |
857 | %endif | |
858 | %if %{without bluetooth} | |
859 | menuselect/menuselect --disable chan_mobile menuselect.makeopts | |
860 | %endif | |
861 | %if %{without jack} | |
862 | menuselect/menuselect --disable app_jack menuselect.makeopts | |
863 | %endif | |
864 | %if %{without mysql} | |
865 | menuselect/menuselect --disable res_config_mysql --disable app_mysql --disable cdr_mysql menuselect.makeopts | |
866 | %endif | |
867 | %if %{without pgsql} | |
868 | menuselect/menuselect --disable res_config_pgsql --disable cdr_pgsql --disable cel_pgsql menuselect.makeopts | |
869 | %endif | |
870 | %if %{without odbc} | |
871 | menuselect/menuselect --disable res_odbc --disable res_config_odbc --disable cdr_odbc --disable cdr_adaptive_odbc --disable cel_odbc menuselect.makeopts | |
872 | %endif | |
873 | %if %{without radius} | |
874 | menuselect/menuselect --disable cdr_radius --disable cel_radius menuselect.makeopts | |
875 | %endif | |
876 | %if %{without pjsip} | |
877 | menuselect/menuselect --disable res_pjsip --disable chan_pjsip menuselect.makeopts | |
878 | %endif | |
d57ea64b | 879 | %if %{without opus_vp8} |
72f62f93 | 880 | menuselect/menuselect --disable codec_opus_open_source --disable format_ogg_opus_open_source menuselect.makeopts |
d57ea64b | 881 | %endif |
72f62f93 | 882 | |
98431d3e JK |
883 | %if %{with malloc_debug} |
884 | menuselect/menuselect --enable MALLOC_DEBUG menuselect.makeopts | |
885 | %else | |
72f62f93 | 886 | menuselect/menuselect --disable MALLOC_DEBUG menuselect.makeopts |
8fdff7d4 | 887 | %endif |
d0d7a116 | 888 | |
a0ec6f17 | 889 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=FILE_STORAGE/' menuselect.makeopts |
00222a62 JK |
890 | |
891 | menuselect/menuselect --enable app_voicemail menuselect.makeopts | |
892 | ||
98431d3e JK |
893 | menuselect/menuselect --check-deps menuselect.makeopts |
894 | ||
4661bb66 JK |
895 | # workaround for build failing with asterisk-devel not installed |
896 | ln -s libasteriskssl.so.1 ./main/libasteriskssl.so | |
897 | ||
a85df0e2 | 898 | %{__make} DEBUG= \ |
a149dc9c ER |
899 | OPTIMIZE= \ |
900 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
901 | ASTDATADIR=%{_datadir}/asterisk \ | |
902 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
903 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
fd02d532 | 904 | %{?with_verbose:NOISY_BUILD=yes} \ |
e621aa3e | 905 | |
9b9ec488 JB |
906 | %{__rm} apps/app_voicemail.o |
907 | %{__mv} apps/app_voicemail.so apps/app_voicemail_plain.so | |
a149dc9c ER |
908 | |
909 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=IMAP_STORAGE/' menuselect.makeopts | |
910 | %{__make} DEBUG= \ | |
911 | OPTIMIZE= \ | |
912 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
913 | ASTDATADIR=%{_datadir}/asterisk \ | |
914 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
915 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
916 | %{?with_verbose:NOISY_BUILD=yes} \ | |
917 | ||
9b9ec488 JB |
918 | %{__rm} apps/app_voicemail.o |
919 | %{__mv} apps/app_voicemail.so apps/app_voicemail_imap.so | |
a149dc9c | 920 | |
d0d7a116 | 921 | %if %{with odbc} |
a149dc9c ER |
922 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=ODBC_STORAGE/' menuselect.makeopts |
923 | %{__make} DEBUG= \ | |
924 | OPTIMIZE= \ | |
925 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
926 | ASTDATADIR=%{_datadir}/asterisk \ | |
927 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
928 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
929 | %{?with_verbose:NOISY_BUILD=yes} \ | |
930 | ||
9b9ec488 JB |
931 | %{__rm} apps/app_voicemail.o |
932 | %{__mv} apps/app_voicemail.so apps/app_voicemail_odbc.so | |
d0d7a116 | 933 | %endif |
a149dc9c ER |
934 | |
935 | # so that these modules don't get built again during the install phase | |
dc775619 JK |
936 | touch apps/app_voicemail.o |
937 | touch apps/app_voicemail.so | |
a149dc9c | 938 | |
750e5644 | 939 | %if %{with apidocs} |
a149dc9c ER |
940 | %{__make} progdocs \ |
941 | DEBUG= \ | |
942 | OPTIMIZE= \ | |
943 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
944 | ASTDATADIR=%{_datadir}/asterisk \ | |
945 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
946 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
947 | %{?with_verbose:NOISY_BUILD=yes} \ | |
750e5644 | 948 | %endif |
a149dc9c | 949 | |
8ac733fc PG |
950 | %install |
951 | rm -rf $RPM_BUILD_ROOT | |
27944e5a | 952 | install -d $RPM_BUILD_ROOT{/var/{log/asterisk/cdr-csv,spool/asterisk/monitor},/etc/{rc.d/init.d,sysconfig,logrotate.d}} \ |
4aac1f31 | 953 | $RPM_BUILD_ROOT{%{systemdunitdir},%{systemdtmpfilesdir},%{_mandir}/man1} |
8729ab54 | 954 | |
a9098aee | 955 | export ASTCFLAGS="%{rpmcflags}" |
7605fc79 | 956 | |
e5ecac90 | 957 | %{__make} -j1 install \ |
a9098aee ER |
958 | DEBUG= \ |
959 | OPTIMIZE= \ | |
960 | DESTDIR=$RPM_BUILD_ROOT \ | |
961 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
962 | ASTDATADIR=%{_datadir}/asterisk \ | |
963 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
964 | ASTDBDIR=%{_localstatedir}/spool/asterisk | |
48b81789 | 965 | |
e5ecac90 | 966 | %{__make} -j1 samples \ |
a9098aee ER |
967 | DEBUG= \ |
968 | OPTIMIZE= \ | |
969 | DESTDIR=$RPM_BUILD_ROOT \ | |
970 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
971 | ASTDATADIR=%{_datadir}/asterisk \ | |
972 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
973 | ASTDBDIR=%{_localstatedir}/spool/asterisk | |
974 | ||
9b9ec488 | 975 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/asterisk/modules/app_voicemail.so |
a9098aee | 976 | install -D -p apps/app_voicemail_imap.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules |
d0d7a116 | 977 | %if %{with odbc} |
a9098aee | 978 | install -D -p apps/app_voicemail_odbc.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules |
d0d7a116 | 979 | %endif |
a9098aee ER |
980 | install -D -p apps/app_voicemail_plain.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules |
981 | ||
982 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} | |
983 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} | |
30fc321d JK |
984 | cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} |
985 | install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service | |
a9098aee | 986 | |
4aac1f31 | 987 | install %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf |
27944e5a | 988 | |
a9098aee ER |
989 | # create some directories that need to be packaged |
990 | install -d $RPM_BUILD_ROOT%{_datadir}/asterisk/moh | |
991 | install -d $RPM_BUILD_ROOT%{_datadir}/asterisk/sounds | |
4479f94d ER |
992 | ln -s %{_localstatedir}/lib/asterisk/licenses $RPM_BUILD_ROOT%{_datadir}/asterisk/licenses |
993 | ||
994 | install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/asterisk/licenses | |
a9098aee ER |
995 | install -d $RPM_BUILD_ROOT%{_localstatedir}/log/asterisk/cdr-custom |
996 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/festival | |
997 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/monitor | |
998 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/outgoing | |
999 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/uploads | |
1000 | ||
e67a0ea8 JK |
1001 | install utils/astman.1 $RPM_BUILD_ROOT%{_mandir}/man1/astman.1 |
1002 | ||
a9098aee | 1003 | # Don't package the sample voicemail user |
9b9ec488 | 1004 | %{__rm} -r $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/voicemail/default |
a9098aee ER |
1005 | |
1006 | # Don't package example phone provision configs | |
9b9ec488 | 1007 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/asterisk/phoneprov/* |
a9098aee | 1008 | |
622100af | 1009 | # we're not using safe_asterisk |
9b9ec488 JB |
1010 | %{__rm} $RPM_BUILD_ROOT%{_sbindir}/safe_asterisk |
1011 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/safe_asterisk.8* | |
622100af | 1012 | |
750e5644 | 1013 | %if %{with apidocs} |
216f94ae | 1014 | find doc/api -name '*.map' -size 0 -delete |
750e5644 | 1015 | %endif |
0adeb087 | 1016 | |
55dd3a99 | 1017 | # remove configuration files for components never built |
9b9ec488 | 1018 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{app_skel,config_test,misdn,ooh323,test_sorcery}.conf |
55dd3a99 JK |
1019 | |
1020 | # remove configuration files for disabled optional components | |
1021 | %if %{without corosync} | |
9b9ec488 | 1022 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_corosync.conf |
55dd3a99 | 1023 | %endif |
d0d7a116 | 1024 | %if %{without sqlite2} |
9b9ec488 | 1025 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_config_sqlite.conf |
d0d7a116 JK |
1026 | %endif |
1027 | %if %{without oss} | |
9b9ec488 | 1028 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/oss.conf |
d0d7a116 JK |
1029 | %endif |
1030 | %if %{without tds} | |
9b9ec488 | 1031 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{cdr,cel}_tds.conf |
d0d7a116 JK |
1032 | %endif |
1033 | %if %{without ldap} | |
9b9ec488 | 1034 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_ldap.conf |
d0d7a116 JK |
1035 | %endif |
1036 | %if %{without portaudio} | |
9b9ec488 | 1037 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/console.conf |
d0d7a116 JK |
1038 | %endif |
1039 | %if %{without bluetooth} | |
9b9ec488 | 1040 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/chan_mobile.conf |
d0d7a116 JK |
1041 | %endif |
1042 | %if %{without mysql} | |
9b9ec488 | 1043 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_config_mysql.conf |
d0d7a116 JK |
1044 | %endif |
1045 | %if %{without pgsql} | |
9b9ec488 | 1046 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{cdr,cel,res}_pgsql.conf |
d0d7a116 JK |
1047 | %endif |
1048 | %if %{without odbc} | |
9b9ec488 | 1049 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{cdr{,_adaptive},cel,func,res}_odbc.conf |
d0d7a116 JK |
1050 | %endif |
1051 | %if %{without pjsip} | |
9b9ec488 | 1052 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/pjsip{,_notify}.conf |
d0d7a116 | 1053 | %endif |
55dd3a99 | 1054 | |
9b9ec488 | 1055 | %{__rm} -r $RPM_BUILD_ROOT/usr/include/asterisk/doxygen |
858a15d0 | 1056 | |
a3afe3be JK |
1057 | # fix script interpreters |
1058 | %{__sed} -i -e '1s,^#!.*python,#!%{__python},' $RPM_BUILD_ROOT%{_datadir}/asterisk/scripts/* | |
1059 | %{__sed} -i -e '1s,^#!.*bash,#!/bin/bash,' $RPM_BUILD_ROOT%{_datadir}/asterisk/scripts/* | |
1060 | ||
de95e0fb JB |
1061 | %clean |
1062 | rm -rf $RPM_BUILD_ROOT | |
1063 | ||
a149dc9c ER |
1064 | %pre |
1065 | %groupadd -g 188 asterisk | |
1066 | %useradd -u 188 -r -s /sbin/nologin -d /var/lib/asterisk -M -c 'Asterisk User' -g asterisk asterisk | |
1067 | ||
1068 | %postun | |
1069 | if [ "$1" = 0 ]; then | |
a149dc9c | 1070 | %userremove asterisk |
1a59be60 | 1071 | %groupremove asterisk |
a149dc9c | 1072 | fi |
4aac1f31 | 1073 | %systemd_reload |
a149dc9c | 1074 | |
80067fcb | 1075 | %post |
1d77d860 | 1076 | /sbin/ldconfig |
80067fcb | 1077 | /sbin/chkconfig --add asterisk |
a149dc9c ER |
1078 | # use -n (NOOP) as restart would be breaking all current calls. |
1079 | %service -n asterisk restart "Asterisk daemon" | |
4aac1f31 | 1080 | %systemd_post %{name}.service |
80067fcb PG |
1081 | |
1082 | %preun | |
1083 | if [ "$1" = "0" ]; then | |
fa4054d8 | 1084 | %service asterisk stop |
80067fcb PG |
1085 | /sbin/chkconfig --del asterisk |
1086 | fi | |
4aac1f31 | 1087 | %systemd_preun %{name}.service |
80067fcb | 1088 | |
1a59be60 ER |
1089 | %triggerpostun -- %{name} < 1.6.1.12-0.1 |
1090 | # chown to asterisk previously root owned files | |
1091 | # loose one (not one that cames from rpm), as we're not trying to split the | |
1092 | # hair with file permission bits. | |
1093 | chown -R asterisk:asterisk /var/spool/asterisk | |
1094 | chown -R asterisk:asterisk /var/lib/asterisk | |
1095 | ||
4aac1f31 JK |
1096 | %triggerpostun -- %{name} < 12.0.0 |
1097 | %systemd_trigger %{name}.service | |
1098 | ||
8ac733fc PG |
1099 | %files |
1100 | %defattr(644,root,root,755) | |
8639c8ed | 1101 | %doc README *.txt ChangeLog BUGS CREDITS configs |
858a15d0 | 1102 | %doc doc/asterisk.sgml |
80ca5bbe | 1103 | |
80ca5bbe | 1104 | %attr(755,root,root) %{_sbindir}/astcanary |
3116fec3 AM |
1105 | %attr(755,root,root) %{_sbindir}/astdb2bdb |
1106 | %attr(755,root,root) %{_sbindir}/astdb2sqlite3 | |
80ca5bbe ER |
1107 | %attr(755,root,root) %{_sbindir}/asterisk |
1108 | %attr(755,root,root) %{_sbindir}/astgenkey | |
1fcbde87 | 1109 | %attr(755,root,root) %{_sbindir}/astversion |
80ca5bbe | 1110 | %attr(755,root,root) %{_sbindir}/autosupport |
80ca5bbe | 1111 | %attr(755,root,root) %{_sbindir}/rasterisk |
9ba434de JK |
1112 | %{_mandir}/man8/astdb2bdb.8* |
1113 | %{_mandir}/man8/astdb2sqlite3.8* | |
80ca5bbe ER |
1114 | %{_mandir}/man8/asterisk.8* |
1115 | %{_mandir}/man8/astgenkey.8* | |
1116 | %{_mandir}/man8/autosupport.8* | |
80ca5bbe | 1117 | |
87a2b1b8 | 1118 | %attr(754,root,root) /etc/rc.d/init.d/%{name} |
046a2286 | 1119 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name} |
87a2b1b8 | 1120 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} |
4aac1f31 | 1121 | %{systemdunitdir}/%{name}.service |
a149dc9c ER |
1122 | |
1123 | %attr(750,root,asterisk) %dir %{_sysconfdir}/asterisk | |
773473fa | 1124 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/acl.conf |
a149dc9c | 1125 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/adsi.conf |
a149dc9c ER |
1126 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/agents.conf |
1127 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/alarmreceiver.conf | |
1128 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/amd.conf | |
9ba434de | 1129 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ari.conf |
a149dc9c ER |
1130 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/asterisk.adsi |
1131 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/asterisk.conf | |
19aa7a49 | 1132 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ccss.conf |
a149dc9c ER |
1133 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr.conf |
1134 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_custom.conf | |
1135 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_manager.conf | |
19aa7a49 | 1136 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_syslog.conf |
f6b38539 AM |
1137 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel.conf |
1138 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_custom.conf | |
a149dc9c | 1139 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cli.conf |
6bcc6351 ER |
1140 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cli_aliases.conf |
1141 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cli_permissions.conf | |
a149dc9c | 1142 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/codecs.conf |
3116fec3 | 1143 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/confbridge.conf |
a149dc9c ER |
1144 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dnsmgr.conf |
1145 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dsp.conf | |
1146 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dundi.conf | |
1147 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/enum.conf | |
1148 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extconfig.conf | |
1149 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.ael | |
1150 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.conf | |
1151 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/features.conf | |
1152 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/followme.conf | |
a149dc9c ER |
1153 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/iax.conf |
1154 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/iaxprov.conf | |
1155 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/indications.conf | |
1156 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/logger.conf | |
1157 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/manager.conf | |
1158 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/mgcp.conf | |
1159 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/modules.conf | |
1160 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/musiconhold.conf | |
1161 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/muted.conf | |
a149dc9c ER |
1162 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/phone.conf |
1163 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/phoneprov.conf | |
1164 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/queuerules.conf | |
1165 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/queues.conf | |
9ba434de JK |
1166 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_parking.conf |
1167 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_pktccops.conf | |
f6b38539 | 1168 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_stun_monitor.conf |
a149dc9c ER |
1169 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/rtp.conf |
1170 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/say.conf | |
1171 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sip*.conf | |
1172 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sla.conf | |
1173 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/smdi.conf | |
9ba434de | 1174 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sorcery.conf |
00222a62 JK |
1175 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ss7.timers |
1176 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/stasis.conf | |
9ba434de | 1177 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/statsd.conf |
a149dc9c ER |
1178 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/telcordia-1.adsi |
1179 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/udptl.conf | |
1180 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/users.conf | |
1181 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/vpb.conf | |
1182 | ||
9ba434de JK |
1183 | %{_libdir}/libasteriskssl.so.1 |
1184 | ||
8ac733fc PG |
1185 | %dir %{_libdir}/asterisk |
1186 | %dir %{_libdir}/asterisk/modules | |
a149dc9c ER |
1187 | |
1188 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_adsiprog.so | |
9ba434de | 1189 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_agent_pool.so |
a149dc9c ER |
1190 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_alarmreceiver.so |
1191 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_amd.so | |
1192 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_authenticate.so | |
9ba434de | 1193 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_bridgewait.so |
a149dc9c | 1194 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_cdr.so |
f6b38539 | 1195 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_celgenuserevent.so |
a149dc9c ER |
1196 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_chanisavail.so |
1197 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_channelredirect.so | |
1198 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_chanspy.so | |
6bcc6351 | 1199 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_confbridge.so |
a149dc9c ER |
1200 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_controlplayback.so |
1201 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_db.so | |
1202 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dial.so | |
1203 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dictate.so | |
1204 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_directed_pickup.so | |
dc775619 | 1205 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_directory.so |
a149dc9c ER |
1206 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_disa.so |
1207 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dumpchan.so | |
1208 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_echo.so | |
1209 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_exec.so | |
1210 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_externalivr.so | |
1211 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_followme.so | |
1212 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_forkcdr.so | |
1213 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_getcpeid.so | |
1214 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_image.so | |
1215 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_macro.so | |
1216 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_milliwatt.so | |
1217 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_mixmonitor.so | |
1218 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_morsecode.so | |
750e5644 | 1219 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_mp3.so |
a149dc9c | 1220 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_nbscat.so |
6bcc6351 | 1221 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_originate.so |
a149dc9c | 1222 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_playback.so |
6bcc6351 | 1223 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_playtones.so |
a149dc9c ER |
1224 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_privacy.so |
1225 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_queue.so | |
9ae79e90 | 1226 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_read.so |
a149dc9c | 1227 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_readexten.so |
a149dc9c | 1228 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_record.so |
00222a62 | 1229 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_saycounted.so |
a149dc9c ER |
1230 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sayunixtime.so |
1231 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_senddtmf.so | |
1232 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sendtext.so | |
00222a62 | 1233 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_setcallerid.so |
a149dc9c ER |
1234 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sms.so |
1235 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_softhangup.so | |
1236 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_speech_utils.so | |
1237 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_stack.so | |
9ba434de | 1238 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_stasis.so |
a149dc9c ER |
1239 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_system.so |
1240 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_talkdetect.so | |
1241 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_test.so | |
1242 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_transfer.so | |
1243 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_url.so | |
1244 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_userevent.so | |
1245 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_verbose.so | |
1246 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_waitforring.so | |
1247 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_waitforsilence.so | |
1248 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_waituntil.so | |
1249 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_while.so | |
1250 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_zapateller.so | |
6bcc6351 | 1251 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_builtin_features.so |
9ba434de JK |
1252 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_builtin_interval_features.so |
1253 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_holding.so | |
1254 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_native_rtp.so | |
6bcc6351 ER |
1255 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_simple.so |
1256 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_softmix.so | |
a149dc9c ER |
1257 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_csv.so |
1258 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_custom.so | |
1259 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_manager.so | |
f6b38539 AM |
1260 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_syslog.so |
1261 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_custom.so | |
1262 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_manager.so | |
9ba434de | 1263 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_bridge_media.so |
a149dc9c | 1264 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_iax2.so |
a149dc9c | 1265 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_mgcp.so |
f6b38539 | 1266 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_multicast_rtp.so |
a149dc9c | 1267 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_phone.so |
d47b9e53 | 1268 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_rtp.so |
a149dc9c | 1269 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_sip.so |
9ae79e90 | 1270 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_a_mu.so |
a149dc9c ER |
1271 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_adpcm.so |
1272 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_alaw.so | |
a149dc9c ER |
1273 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_g722.so |
1274 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_g726.so | |
a149dc9c | 1275 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_ulaw.so |
f6b38539 | 1276 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g719.so |
a149dc9c ER |
1277 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g723.so |
1278 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g726.so | |
1279 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g729.so | |
a149dc9c ER |
1280 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_h263.so |
1281 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_h264.so | |
1282 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_jpeg.so | |
a149dc9c | 1283 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_pcm.so |
6bcc6351 ER |
1284 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_siren14.so |
1285 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_siren7.so | |
750e5644 | 1286 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_sln.so |
a149dc9c | 1287 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_vox.so |
4dd6f92b JK |
1288 | %if %{with opus_vp8} |
1289 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_vp8.so | |
1290 | %endif | |
a149dc9c | 1291 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_wav.so |
6bcc6351 | 1292 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_aes.so |
a149dc9c ER |
1293 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_audiohookinherit.so |
1294 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_base64.so | |
1295 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_blacklist.so | |
f6b38539 | 1296 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_callcompletion.so |
a149dc9c ER |
1297 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_callerid.so |
1298 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_cdr.so | |
1299 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_channel.so | |
1300 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_config.so | |
1301 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_cut.so | |
1302 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_db.so | |
1303 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_devstate.so | |
1304 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_dialgroup.so | |
1305 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_dialplan.so | |
1306 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_enum.so | |
1307 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_env.so | |
1308 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_extstate.so | |
f6b38539 | 1309 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_frame_trace.so |
a149dc9c ER |
1310 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_global.so |
1311 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_groupcount.so | |
9ba434de | 1312 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_hangupcause.so |
1fcbde87 | 1313 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_holdintercept.so |
a149dc9c | 1314 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_iconv.so |
3116fec3 | 1315 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_jitterbuffer.so |
a149dc9c ER |
1316 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_lock.so |
1317 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_logic.so | |
1318 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_math.so | |
1319 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_md5.so | |
1320 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_module.so | |
00222a62 | 1321 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_periodic_hook.so |
f6b38539 | 1322 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pitchshift.so |
9ba434de | 1323 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_presencestate.so |
a149dc9c ER |
1324 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_rand.so |
1325 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_realtime.so | |
1326 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sha1.so | |
1327 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_shell.so | |
449aabd8 | 1328 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sorcery.so |
6bcc6351 | 1329 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sprintf.so |
f6b38539 | 1330 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_srv.so |
a149dc9c ER |
1331 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_strings.so |
1332 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sysinfo.so | |
adfe2370 | 1333 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_talkdetect.so |
a149dc9c ER |
1334 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_timeout.so |
1335 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_uri.so | |
1336 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_version.so | |
1337 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_volume.so | |
1338 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_ael.so | |
1339 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_config.so | |
1340 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_dundi.so | |
1341 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_loopback.so | |
1342 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_realtime.so | |
1343 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_spool.so | |
1344 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_adsi.so | |
1345 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ael_share.so | |
1346 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_agi.so | |
9ba434de JK |
1347 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari.so |
1348 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_applications.so | |
1349 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_asterisk.so | |
1350 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_bridges.so | |
1351 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_channels.so | |
1352 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_device_states.so | |
1353 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_endpoints.so | |
1354 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_events.so | |
1355 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_model.so | |
1356 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_playbacks.so | |
1357 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_recordings.so | |
1358 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_sounds.so | |
9ba434de | 1359 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_chan_stats.so |
6bcc6351 | 1360 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_clialiases.so |
a149dc9c ER |
1361 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_clioriginate.so |
1362 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_convert.so | |
1363 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_crypto.so | |
1fcbde87 | 1364 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_endpoint_stats.so |
3116fec3 | 1365 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_celt.so |
3af47890 | 1366 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_g729.so |
9ba434de JK |
1367 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_h263.so |
1368 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_h264.so | |
1369 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_opus.so | |
3116fec3 | 1370 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_silk.so |
539eff8e JK |
1371 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_siren14.so |
1372 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_siren7.so | |
4dd6f92b JK |
1373 | %if %{with opus_vp8} |
1374 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_vp8.so | |
1375 | %endif | |
9ba434de | 1376 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_http_websocket.so |
a149dc9c | 1377 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_limit.so |
00222a62 JK |
1378 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_manager_devicestate.so |
1379 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_manager_presencestate.so | |
a149dc9c | 1380 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_monitor.so |
f6b38539 | 1381 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_mutestream.so |
a149dc9c | 1382 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_musiconhold.so |
77fea154 JK |
1383 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_mwi_external.so |
1384 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_mwi_external_ami.so | |
9ba434de | 1385 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_parking.so |
a149dc9c | 1386 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_phoneprov.so |
0f0650bc | 1387 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pktccops.so |
a149dc9c | 1388 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_realtime.so |
7bb98ca7 | 1389 | # res_rtp_asterisk.so pulls some pjproject libs, but it still looks like a core module |
f6b38539 AM |
1390 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_rtp_asterisk.so |
1391 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_rtp_multicast.so | |
1392 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_security_log.so | |
a149dc9c | 1393 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_smdi.so |
9ba434de JK |
1394 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_astdb.so |
1395 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_config.so | |
1396 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_memory.so | |
36a8b721 | 1397 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_memory_cache.so |
9ba434de | 1398 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_realtime.so |
a149dc9c | 1399 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_speech.so |
b89d2618 | 1400 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_srtp.so |
9ba434de JK |
1401 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis.so |
1402 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_answer.so | |
1403 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_device_state.so | |
1404 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_playback.so | |
1405 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_recording.so | |
1406 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_snoop.so | |
f6b38539 | 1407 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stun_monitor.so |
a149dc9c | 1408 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_pthread.so |
6bcc6351 | 1409 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_timerfd.so |
9ba434de | 1410 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_statsd.so |
4aac1f31 | 1411 | %{systemdtmpfilesdir}/%{name}.conf |
46bc3da8 | 1412 | |
80ca5bbe ER |
1413 | %dir %{_datadir}/asterisk |
1414 | %dir %{_datadir}/asterisk/agi-bin | |
1415 | %dir %{_datadir}/asterisk/firmware | |
1416 | %dir %{_datadir}/asterisk/firmware/iax | |
1417 | %dir %{_datadir}/asterisk/images | |
1418 | %dir %{_datadir}/asterisk/moh | |
1419 | %dir %{_datadir}/asterisk/sounds | |
1420 | %dir %attr(750,root,asterisk) %{_datadir}/asterisk/keys | |
1a59be60 | 1421 | # no need to protect publicly downloaded and packaged .pub |
e5ecac90 | 1422 | #%{_datadir}/asterisk/keys/*.pub |
80ca5bbe | 1423 | %{_datadir}/asterisk/images/*.jpg |
80ca5bbe | 1424 | %{_datadir}/asterisk/phoneprov |
4479f94d | 1425 | %{_datadir}/asterisk/licenses |
80ca5bbe | 1426 | |
6b3f4b56 JK |
1427 | %dir %{_datadir}/asterisk/documentation |
1428 | %{_datadir}/asterisk/documentation/appdocsxml.dtd | |
9ba434de | 1429 | %{_datadir}/asterisk/documentation/appdocsxml.xslt |
6b3f4b56 JK |
1430 | %{_datadir}/asterisk/documentation/core-en_US.xml |
1431 | ||
9ba434de JK |
1432 | %dir %{_datadir}/asterisk/rest-api |
1433 | %{_datadir}/asterisk/rest-api/*.json | |
1434 | ||
a3afe3be JK |
1435 | %dir %{_datadir}/asterisk/scripts |
1436 | ||
80ca5bbe | 1437 | %attr(770,root,asterisk) %dir %{_localstatedir}/lib/asterisk |
4479f94d | 1438 | %dir %attr(750,root,asterisk) %{_localstatedir}/lib/asterisk/licenses |
80ca5bbe ER |
1439 | |
1440 | %attr(770,root,asterisk) %dir %{_localstatedir}/log/asterisk | |
1441 | %attr(770,root,asterisk) %dir %{_localstatedir}/log/asterisk/cdr-csv | |
1442 | %attr(770,root,asterisk) %dir %{_localstatedir}/log/asterisk/cdr-custom | |
1443 | ||
1444 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk | |
1445 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/monitor | |
1446 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/outgoing | |
1447 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/tmp | |
1448 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/uploads | |
1449 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/voicemail | |
1450 | ||
1451 | %attr(775,root,asterisk) %dir %{_localstatedir}/run/asterisk | |
8ac733fc | 1452 | |
a149dc9c ER |
1453 | %files devel |
1454 | %defattr(644,root,root,755) | |
9b9ec488 | 1455 | %attr(755,root,root) %{_libdir}/libasteriskssl.so |
a149dc9c ER |
1456 | %dir %{_includedir}/asterisk |
1457 | %{_includedir}/asterisk/*.h | |
1458 | %{_includedir}/asterisk.h | |
1459 | ||
750e5644 | 1460 | %if %{with apidocs} |
a149dc9c ER |
1461 | %files apidocs |
1462 | %defattr(644,root,root,755) | |
216f94ae | 1463 | %doc doc/api/* |
750e5644 | 1464 | %endif |
a149dc9c | 1465 | |
00222a62 JK |
1466 | %files utils |
1467 | %defattr(644,root,root,755) | |
1468 | %attr(755,root,root) %{_sbindir}/aelparse | |
1469 | %attr(755,root,root) %{_sbindir}/conf2ael | |
1470 | %attr(755,root,root) %{_sbindir}/muted | |
1471 | %attr(755,root,root) %{_sbindir}/smsq | |
1472 | %attr(755,root,root) %{_sbindir}/stereorize | |
1473 | %attr(755,root,root) %{_sbindir}/streamplayer | |
1474 | ||
e67a0ea8 JK |
1475 | %files astman |
1476 | %defattr(644,root,root,755) | |
1477 | %attr(755,root,root) %{_sbindir}/astman | |
1478 | %{_mandir}/man1/astman.1* | |
1479 | ||
a149dc9c ER |
1480 | %files alsa |
1481 | %defattr(644,root,root,755) | |
1482 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/alsa.conf | |
1483 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_alsa.so | |
1484 | ||
d0d7a116 | 1485 | %if %{with bluetooth} |
427194db JK |
1486 | %files bluetooth |
1487 | %defattr(644,root,root,755) | |
1488 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/chan_mobile.conf | |
1489 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_mobile.so | |
d0d7a116 | 1490 | %endif |
427194db | 1491 | |
16b28270 JK |
1492 | %files calendar |
1493 | %defattr(644,root,root,755) | |
1494 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/calendar.conf | |
1495 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar.so | |
1496 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_caldav.so | |
1497 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_ews.so | |
1498 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_exchange.so | |
1499 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_icalendar.so | |
1500 | ||
a149dc9c ER |
1501 | %files curl |
1502 | %defattr(644,root,root,755) | |
1503 | %doc contrib/scripts/dbsep.cgi | |
1504 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dbsep.conf | |
19aa7a49 | 1505 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_curl.conf |
a149dc9c ER |
1506 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_curl.so |
1507 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_curl.so | |
1508 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_curl.so | |
1509 | ||
1510 | %files dahdi | |
8ac733fc | 1511 | %defattr(644,root,root,755) |
a149dc9c ER |
1512 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/meetme.conf |
1513 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/chan_dahdi.conf | |
00222a62 | 1514 | %{_datadir}/dahdi/span_config.d/40-asterisk |
a149dc9c | 1515 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dahdiras.so |
9ae79e90 ER |
1516 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_flash.so |
1517 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_meetme.so | |
1518 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_page.so | |
a149dc9c ER |
1519 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_dahdi.so |
1520 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_dahdi.so | |
1521 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_dahdi.so | |
1522 | ||
a149dc9c ER |
1523 | %files fax |
1524 | %defattr(644,root,root,755) | |
e5ecac90 AM |
1525 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_fax.conf |
1526 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_fax.so | |
1527 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_fax_spandsp.so | |
a149dc9c ER |
1528 | |
1529 | %files festival | |
1530 | %defattr(644,root,root,755) | |
1531 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/festival.conf | |
4fa818dd | 1532 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/festival |
a149dc9c | 1533 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_festival.so |
91beb87f | 1534 | |
622100af ER |
1535 | %files gsm |
1536 | %defattr(644,root,root,755) | |
1537 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_gsm.so | |
1538 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_gsm.so | |
1539 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_wav_gsm.so | |
1540 | ||
622100af ER |
1541 | %files http |
1542 | %defattr(644,root,root,755) | |
1543 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/http.conf | |
1544 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_http_post.so | |
1545 | %{_datadir}/asterisk/static-http | |
1546 | ||
a149dc9c ER |
1547 | %files ices |
1548 | %defattr(644,root,root,755) | |
1549 | %doc contrib/asterisk-ices.xml | |
1550 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_ices.so | |
1551 | ||
d0d7a116 | 1552 | %if %{with ilbc} |
7960382f JK |
1553 | %files ilbc |
1554 | %defattr(644,root,root,755) | |
1555 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_ilbc.so | |
1556 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_ilbc.so | |
d0d7a116 | 1557 | %endif |
7960382f | 1558 | |
a149dc9c ER |
1559 | %files jabber |
1560 | %defattr(644,root,root,755) | |
9ba434de JK |
1561 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/motif.conf |
1562 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/xmpp.conf | |
9ba434de | 1563 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_motif.so |
9ba434de | 1564 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_xmpp.so |
a149dc9c | 1565 | |
d0d7a116 | 1566 | %if %{with jack} |
a149dc9c ER |
1567 | %files jack |
1568 | %defattr(644,root,root,755) | |
4fa818dd | 1569 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_jack.so |
d0d7a116 | 1570 | %endif |
a149dc9c ER |
1571 | |
1572 | %files lua | |
1573 | %defattr(644,root,root,755) | |
1574 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.lua | |
8c44d5b7 | 1575 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_lua.so |
a149dc9c | 1576 | |
d0d7a116 | 1577 | %if %{with ldap} |
a149dc9c ER |
1578 | %files ldap |
1579 | %defattr(644,root,root,755) | |
a149dc9c ER |
1580 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_ldap.conf |
1581 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_ldap.so | |
1582 | ||
4fa818dd | 1583 | %if 0 |
a149dc9c ER |
1584 | %files ldap-fds |
1585 | %defattr(644,root,root,755) | |
4fa818dd ER |
1586 | %{_sysconfdir}/dirsrv/schema/99asterisk.ldif |
1587 | %endif | |
d0d7a116 | 1588 | %endif |
a149dc9c | 1589 | |
622100af ER |
1590 | %files lpc10 |
1591 | %defattr(644,root,root,755) | |
1592 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_lpc10.so | |
1593 | ||
a149dc9c ER |
1594 | %files minivm |
1595 | %defattr(644,root,root,755) | |
1596 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions_minivm.conf | |
1597 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/minivm.conf | |
1598 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_minivm.so | |
1599 | ||
d0d7a116 | 1600 | %if %{with mysql} |
4a45c9f9 JK |
1601 | %files mysql |
1602 | %defattr(644,root,root,755) | |
00222a62 JK |
1603 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/app_mysql.conf |
1604 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_mysql.conf | |
4a45c9f9 | 1605 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_mysql.conf |
00222a62 JK |
1606 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_mysql.so |
1607 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_mysql.so | |
4a45c9f9 | 1608 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_mysql.so |
d0d7a116 | 1609 | %endif |
4a45c9f9 | 1610 | |
d0d7a116 | 1611 | %if %{with odbc} |
a149dc9c ER |
1612 | %files odbc |
1613 | %defattr(644,root,root,755) | |
1614 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_adaptive_odbc.conf | |
1615 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_odbc.conf | |
19aa7a49 | 1616 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_odbc.conf |
a149dc9c ER |
1617 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/func_odbc.conf |
1618 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_odbc.conf | |
1619 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_adaptive_odbc.so | |
1620 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_odbc.so | |
19aa7a49 | 1621 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_odbc.so |
a149dc9c ER |
1622 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_odbc.so |
1623 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_odbc.so | |
1624 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_odbc.so | |
77fea154 | 1625 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_odbc_transaction.so |
d0d7a116 | 1626 | %endif |
a149dc9c | 1627 | |
d3c4ccdf JK |
1628 | %if %{with opus_vp8} |
1629 | %files opus | |
1630 | %defattr(644,root,root,755) | |
1631 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_ogg_opus_open_source.so | |
1632 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_opus_open_source.so | |
1633 | %endif | |
1634 | ||
8639c8ed AM |
1635 | %files osp |
1636 | %defattr(644,root,root,755) | |
1637 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/osp.conf | |
1638 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_osplookup.so | |
385eff93 | 1639 | |
d0d7a116 | 1640 | %if %{with oss} |
a149dc9c ER |
1641 | %files oss |
1642 | %defattr(644,root,root,755) | |
1643 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/oss.conf | |
1644 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_oss.so | |
d0d7a116 | 1645 | %endif |
a149dc9c | 1646 | |
d0d7a116 | 1647 | %if %{with pjsip} |
7bb98ca7 JK |
1648 | %files pjsip |
1649 | %defattr(644,root,root,755) | |
77fea154 | 1650 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjproject.conf |
7bb98ca7 JK |
1651 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjsip.conf |
1652 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjsip_notify.conf | |
ab850b30 | 1653 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjsip_wizard.conf |
449aabd8 | 1654 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/hep.conf |
7bb98ca7 | 1655 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_pjsip.so |
ab850b30 JK |
1656 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pjsip_aor.so |
1657 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pjsip_contact.so | |
7bb98ca7 | 1658 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pjsip_endpoint.so |
449aabd8 GP |
1659 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_hep.so |
1660 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_hep_pjsip.so | |
7c2a5293 | 1661 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_hep_rtcp.so |
77fea154 | 1662 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjproject.so |
7bb98ca7 JK |
1663 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_acl.so |
1664 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_authenticator_digest.so | |
1665 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_caller_id.so | |
ab850b30 | 1666 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_config_wizard.so |
adfe2370 | 1667 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_dialog_info_body_generator.so |
7bb98ca7 | 1668 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_diversion.so |
66c2633b | 1669 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_dlg_options.so |
7bb98ca7 | 1670 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_dtmf_info.so |
d47b9e53 | 1671 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_empty_info.so |
7bb98ca7 JK |
1672 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_endpoint_identifier_anonymous.so |
1673 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_endpoint_identifier_ip.so | |
1674 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_endpoint_identifier_user.so | |
1675 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_exten_state.so | |
1676 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_header_funcs.so | |
77fea154 | 1677 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_history.so |
7bb98ca7 JK |
1678 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_logger.so |
1679 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_messaging.so | |
954aa047 | 1680 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_mwi_body_generator.so |
77fea154 | 1681 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_mwi.so |
7bb98ca7 JK |
1682 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_nat.so |
1683 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_notify.so | |
1684 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_one_touch_record_info.so | |
1685 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_outbound_authenticator_digest.so | |
00222a62 | 1686 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_outbound_publish.so |
7bb98ca7 | 1687 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_outbound_registration.so |
954aa047 | 1688 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_path.so |
685d1c98 | 1689 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_phoneprov_provider.so |
954aa047 | 1690 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pidf_body_generator.so |
449aabd8 | 1691 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pidf_digium_body_supplement.so |
954aa047 | 1692 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pidf_eyebeam_body_supplement.so |
00222a62 | 1693 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_publish_asterisk.so |
7bb98ca7 JK |
1694 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pubsub.so |
1695 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_refer.so | |
7bb98ca7 | 1696 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_registrar_expire.so |
77fea154 | 1697 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_registrar.so |
7bb98ca7 JK |
1698 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_rfc3326.so |
1699 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_sdp_rtp.so | |
449aabd8 | 1700 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_send_to_voicemail.so |
7bb98ca7 | 1701 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_session.so |
ab850b30 | 1702 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_sips_contact.so |
77fea154 | 1703 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip.so |
7bb98ca7 | 1704 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_t38.so |
b9ae98ab | 1705 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_transport_management.so |
7bb98ca7 | 1706 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_transport_websocket.so |
954aa047 | 1707 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_xpidf_body_generator.so |
d0d7a116 | 1708 | %endif |
7bb98ca7 | 1709 | |
d0d7a116 | 1710 | %if %{with portaudio} |
a149dc9c ER |
1711 | %files portaudio |
1712 | %defattr(644,root,root,755) | |
1713 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/console.conf | |
1714 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_console.so | |
d0d7a116 | 1715 | %endif |
a149dc9c | 1716 | |
d0d7a116 | 1717 | %if %{with pgsql} |
a149dc9c ER |
1718 | %files postgresql |
1719 | %defattr(644,root,root,755) | |
1720 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_pgsql.conf | |
19aa7a49 | 1721 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_pgsql.conf |
a149dc9c | 1722 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_pgsql.conf |
449aabd8 GP |
1723 | %doc contrib/realtime/postgresql/postgresql_cdr.sql |
1724 | %doc contrib/realtime/postgresql/postgresql_config.sql | |
9b9ec488 | 1725 | %doc contrib/realtime/postgresql/postgresql_voicemail.sql |
a149dc9c | 1726 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_pgsql.so |
19aa7a49 | 1727 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_pgsql.so |
a149dc9c | 1728 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_pgsql.so |
d0d7a116 | 1729 | %endif |
a149dc9c | 1730 | |
d0d7a116 | 1731 | %if %{with radius} |
a149dc9c ER |
1732 | %files radius |
1733 | %defattr(644,root,root,755) | |
1734 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_radius.so | |
19aa7a49 | 1735 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_radius.so |
d0d7a116 | 1736 | %endif |
a149dc9c | 1737 | |
622100af ER |
1738 | %files resample |
1739 | %defattr(644,root,root,755) | |
1740 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_resample.so | |
1741 | ||
a149dc9c ER |
1742 | %files skinny |
1743 | %defattr(644,root,root,755) | |
1744 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/skinny.conf | |
1745 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_skinny.so | |
1746 | ||
1747 | %files snmp | |
1748 | %defattr(644,root,root,755) | |
a149dc9c ER |
1749 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_snmp.conf |
1750 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_snmp.so | |
a149dc9c | 1751 | |
622100af ER |
1752 | %files speex |
1753 | %defattr(644,root,root,755) | |
1754 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_speex.so | |
1755 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_speex.so | |
1756 | ||
d0d7a116 | 1757 | %if %{with sqlite2} |
b267d965 JK |
1758 | %files sqlite2 |
1759 | %defattr(644,root,root,755) | |
1760 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_sqlite.conf | |
1761 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_sqlite.so | |
d0d7a116 | 1762 | %endif |
b267d965 JK |
1763 | |
1764 | %files sqlite3 | |
a149dc9c ER |
1765 | %defattr(644,root,root,755) |
1766 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_sqlite3_custom.conf | |
19aa7a49 | 1767 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_sqlite3_custom.conf |
9ba434de | 1768 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_sqlite3.conf |
a149dc9c | 1769 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_sqlite3_custom.so |
19aa7a49 | 1770 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_sqlite3_custom.so |
9ba434de | 1771 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_sqlite3.so |
a149dc9c | 1772 | |
d0d7a116 | 1773 | %if %{with tds} |
a149dc9c ER |
1774 | %files tds |
1775 | %defattr(644,root,root,755) | |
1776 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_tds.conf | |
19aa7a49 | 1777 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_tds.conf |
a149dc9c | 1778 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_tds.so |
19aa7a49 | 1779 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_tds.so |
d0d7a116 | 1780 | %endif |
a149dc9c ER |
1781 | |
1782 | %files unistim | |
1783 | %defattr(644,root,root,755) | |
a149dc9c ER |
1784 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/unistim.conf |
1785 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_unistim.so | |
1786 | ||
a149dc9c ER |
1787 | |
1788 | %files voicemail | |
1789 | %defattr(644,root,root,755) | |
1790 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/voicemail.conf | |
1791 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_vmcount.so | |
1792 | ||
1793 | %files voicemail-imap | |
1794 | %defattr(644,root,root,755) | |
a9098aee | 1795 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_imap.so |
a149dc9c | 1796 | |
d0d7a116 | 1797 | %if %{with odbc} |
a149dc9c ER |
1798 | %files voicemail-odbc |
1799 | %defattr(644,root,root,755) | |
a9098aee | 1800 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_odbc.so |
d0d7a116 | 1801 | %endif |
a149dc9c ER |
1802 | |
1803 | %files voicemail-plain | |
1804 | %defattr(644,root,root,755) | |
a9098aee | 1805 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_plain.so |
622100af ER |
1806 | |
1807 | %files vorbis | |
1808 | %defattr(644,root,root,755) | |
1809 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_ogg_vorbis.so | |
a3afe3be JK |
1810 | |
1811 | %files debug-tools | |
1812 | %defattr(644,root,root,755) | |
1813 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ast_debug_tools.conf | |
1814 | %attr(755,root,root) %{_datadir}/asterisk/scripts/ast_coredumper | |
1815 | %attr(755,root,root) %{_datadir}/asterisk/scripts/ast_logescalator | |
1816 | %attr(755,root,root) %{_datadir}/asterisk/scripts/ast_loggrabber | |
1817 | %attr(755,root,root) %{_datadir}/asterisk/scripts/refcounter.py |