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