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