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