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