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