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