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