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