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