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