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