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