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