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