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