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