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