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