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