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