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