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