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