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