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