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