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