]>
Commit | Line | Data |
---|---|---|
1 | # TODO: | |
2 | # - chan_misdn (BR: mISDNuser-devel) | |
3 | # - ffmpeg: sws_getContext now in libswscale, not avcodec | |
4 | # - gmime: reverse version check order, use gmime-2.6 by default | |
5 | # - nbs (libnbs, nbs.h) | |
6 | # - ss7 >= 2.0 (libss7, libssh.h) | |
7 | # - openr2 (libopenr2, libopenr2.h) | |
8 | # - pwlib+openh323 | |
9 | # - vpb (libvpb, vpbapi.h) | |
10 | # - make package for moh sound files | |
11 | # - build res_mwi_external, res_mwi_external_ami, res_ari_mailboxes, as | |
12 | # an alternative for voicemail subpackages | |
13 | # | |
14 | # Conditional build: | |
15 | %bcond_with corosync # res_corosync module (broken in 12.0.0) | |
16 | %bcond_without sqlite2 # build without old sqlite support | |
17 | %bcond_without oss # build without OSS audio support (SDL dependency) | |
18 | %bcond_without tds # build without TDS support | |
19 | %bcond_without ilbc # build without iLBC codec support | |
20 | %bcond_without ldap # build without LDAP support | |
21 | %bcond_without portaudio # build without PortAudio support | |
22 | %bcond_without bluetooth # build without PortAudio support | |
23 | %bcond_without jack # build without JACK support | |
24 | %bcond_without mysql # build without MySQL support | |
25 | %bcond_without pgsql # build without PostgreSQL support | |
26 | %bcond_without odbc # build without ODBC support | |
27 | %bcond_without radius # build without Radius support | |
28 | %bcond_without pjsip # build without PJSIP stack | |
29 | ||
30 | %bcond_without apidocs # disable apidocs building | |
31 | %bcond_without verbose # verbose build | |
32 | ||
33 | Summary: Asterisk PBX | |
34 | Summary(pl.UTF-8): Centralka (PBX) Asterisk | |
35 | Name: asterisk | |
36 | Version: 13.4.0 | |
37 | Release: 3 | |
38 | License: GPL v2 | |
39 | Group: Applications/System | |
40 | Source0: http://downloads.digium.com/pub/asterisk/releases/%{name}-%{version}.tar.gz | |
41 | # Source0-md5: 8cd729d481f0b3d9aadcf5a607c25803 | |
42 | Source1: %{name}.init | |
43 | Source2: %{name}.sysconfig | |
44 | Source3: %{name}.tmpfiles | |
45 | Source4: %{name}.logrotate | |
46 | Source5: %{name}.service | |
47 | # menuselect.* -> make menuconfig; choose options; copy resulting files here | |
48 | Source6: menuselect.makedeps | |
49 | Source7: menuselect.makeopts | |
50 | Patch0: lua51-path.patch | |
51 | Patch1: %{name}-ppc.patch | |
52 | Patch2: FHS-paths.patch | |
53 | Patch3: pld-banner.patch | |
54 | Patch4: lpc10-system.patch | |
55 | Patch5: %{name}-histedit.patch | |
56 | Patch6: x32.patch | |
57 | Patch7: %{name}-ilbc.patch | |
58 | URL: http://www.asterisk.org/ | |
59 | BuildRequires: OSPToolkit-devel >= 4.0.0 | |
60 | %{?with_oss:BuildRequires: SDL-devel} | |
61 | %{?with_oss:BuildRequires: SDL_image-devel} | |
62 | BuildRequires: alsa-lib-devel | |
63 | BuildRequires: autoconf >= 2.60 | |
64 | BuildRequires: automake | |
65 | # libbfd (used only for debug builds?) | |
66 | #BuildRequires: binutils-devel | |
67 | BuildRequires: bison >= 2 | |
68 | %{?with_bluetooth:BuildRequires: bluez-libs-devel} | |
69 | %{?with_corosync:BuildRequires: corosync-devel >= 2.0.0} | |
70 | BuildRequires: curl-devel >= 7.10.1 | |
71 | BuildRequires: dahdi-linux-devel | |
72 | BuildRequires: dahdi-tools-devel >= 2.0.0 | |
73 | BuildRequires: doxygen | |
74 | BuildRequires: flex | |
75 | %{?with_tds:BuildRequires: freetds-devel >= 0.63} | |
76 | BuildRequires: gawk | |
77 | BuildRequires: gcc >= 5:3.4 | |
78 | # TODO: switch to 2.6 | |
79 | BuildRequires: gmime22-devel | |
80 | BuildRequires: iksemel-devel | |
81 | BuildRequires: imap-devel | |
82 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel} | |
83 | BuildRequires: jansson-devel | |
84 | BuildRequires: libcap-devel | |
85 | BuildRequires: libedit-devel | |
86 | BuildRequires: libgsm-devel | |
87 | BuildRequires: libical-devel | |
88 | BuildRequires: libogg-devel | |
89 | BuildRequires: libpri-devel >= 1.4.6 | |
90 | BuildRequires: libresample-devel | |
91 | BuildRequires: libtiff-devel | |
92 | BuildRequires: libuuid-devel | |
93 | BuildRequires: libvorbis-devel | |
94 | BuildRequires: libxml2-devel >= 2.0 | |
95 | BuildRequires: libxslt-devel | |
96 | BuildRequires: lpc10-devel | |
97 | BuildRequires: lua51-devel >= 5.1 | |
98 | #BuildRequires: mISDNuser-devel | |
99 | %{?with_mysql:BuildRequires: mysql-devel} | |
100 | BuildRequires: ncurses-devel | |
101 | BuildRequires: neon-devel | |
102 | BuildRequires: net-snmp-devel | |
103 | BuildRequires: newt-devel | |
104 | %{?with_ldap:BuildRequires: openldap-devel} | |
105 | BuildRequires: openssl-devel >= 0.9.7d | |
106 | BuildRequires: opus-devel | |
107 | BuildRequires: pam-devel | |
108 | %{?with_pjsip:BuildRequires: pjproject-devel >= 2.3} | |
109 | BuildRequires: pkgconfig | |
110 | BuildRequires: popt-devel | |
111 | %{?with_portaudio:BuildRequires: portaudio-devel >= 19} | |
112 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
113 | %{?with_radius:BuildRequires: radiusclient-ng-devel} | |
114 | BuildRequires: rpmbuild(macros) >= 1.671 | |
115 | BuildRequires: sed >= 4.0 | |
116 | BuildRequires: spandsp-devel >= 0.0.5 | |
117 | BuildRequires: speex-devel | |
118 | BuildRequires: speexdsp-devel | |
119 | %{?with_sqlite2:BuildRequires: sqlite-devel >= 2} | |
120 | BuildRequires: sqlite3-devel | |
121 | BuildRequires: srtp-devel | |
122 | Requires(post,preun,postun): systemd-units >= 38 | |
123 | Requires: systemd-units >= 0.38 | |
124 | %{?with_odbc:BuildRequires: unixODBC-devel} | |
125 | BuildRequires: uriparser-devel | |
126 | %{?with_ilbc:BuildRequires: webrtc-libilbc-devel >= 2} | |
127 | BuildRequires: xorg-lib-libX11-devel | |
128 | BuildRequires: zlib-devel | |
129 | Requires(post,preun): /sbin/chkconfig | |
130 | Requires(postun): /usr/sbin/groupdel | |
131 | Requires(postun): /usr/sbin/userdel | |
132 | Requires(pre): /bin/id | |
133 | Requires(pre): /usr/bin/getgid | |
134 | Requires(pre): /usr/sbin/groupadd | |
135 | Requires(pre): /usr/sbin/useradd | |
136 | Requires: rc-scripts | |
137 | Provides: group(asterisk) | |
138 | Provides: user(asterisk) | |
139 | Conflicts: logrotate < 3.8.0 | |
140 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
141 | ||
142 | # references symbols in the asterisk binary | |
143 | %define skip_post_check_so libasteriskssl.so.* | |
144 | ||
145 | %define _noautoprovfiles %{_libdir}/asterisk/modules/.* | |
146 | ||
147 | %description | |
148 | Asterisk is an Open Source PBX and telephony development platform that | |
149 | can both replace a conventional PBX and act as a platform for | |
150 | developing custom telephony applications for delivering dynamic | |
151 | content over a telephone similarly to how one can deliver dynamic | |
152 | content through a web browser using CGI and a web server. | |
153 | ||
154 | Asterisk talks to a variety of telephony hardware including BRI, PRI, | |
155 | POTS, and IP telephony clients using the Inter-Asterisk eXchange | |
156 | protocol (e.g. gnophone or miniphone). For more information and a | |
157 | current list of supported hardware, see http://www.asterisk.org/. | |
158 | ||
159 | %description -l pl.UTF-8 | |
160 | Asterisk to wolnodostępna centralka (PBX) i platforma programistyczna | |
161 | dla telefonii, mogąca zastąpić konwencjonalne PBX-y oraz służyć jako | |
162 | platforma do rozwijania własnych aplikacji telefonicznych do | |
163 | przekazywania dynamicznej treści przez telefon, podobnie jak można | |
164 | przekazywać dynamiczną treść przez przeglądarkę WWW przy użyciu CGI i | |
165 | serwera WWW. | |
166 | ||
167 | Asterisk współpracuje z wielorakim sprzętem telefonicznym, w tym BRI, | |
168 | PRI, POTS oraz klienty telefonii IP używające protokołu Inter-Asterisk | |
169 | eXchange (np. gnophone lub miniphone). Więcej informacji i listę | |
170 | obsługiwanego sprzętu można znaleźć pod http://www.asterisk.org/. | |
171 | ||
172 | %package devel | |
173 | Summary: Header files for Asterisk platform | |
174 | Summary(pl.UTF-8): Pliki nagłówkowe platformy Asterisk | |
175 | Group: Development | |
176 | ||
177 | %description devel | |
178 | Header files for Asterisk development platform. | |
179 | ||
180 | %description devel -l pl.UTF-8 | |
181 | Pliki nagłówkowe platformy programistycznej Asterisk. | |
182 | ||
183 | %package utils | |
184 | Summary: Various utilities for Asterisk | |
185 | Summary(pl.UTF-8): Różne narzędzia dla Asteriska | |
186 | Group: Applications/Networking | |
187 | ||
188 | %description utils | |
189 | Various utilities built with Asterisk. | |
190 | ||
191 | %description utils -l pl.UTF-8 | |
192 | Różne narzędzia budowane z Asteriskiem. | |
193 | ||
194 | %package astman | |
195 | Summary: Astman - a text mode Manager for Asterisk | |
196 | Summary(pl.UTF-8): Astman - tekstowy zarządca Asteriska | |
197 | Group: Applications/Networking | |
198 | ||
199 | %description astman | |
200 | Astman is a text mode Manager for Asterisk. | |
201 | ||
202 | Astman connects to Asterisk by TCP, so you can run Astman on a | |
203 | completely different computer than your Asterisk computer. | |
204 | ||
205 | %description astman -l pl.UTF-8 | |
206 | Astman to tekstowy zarządca dla Asteriska. | |
207 | ||
208 | Łączy się z Asteriskiem po TCP, dzięki czemu można uruchamiać Astmana | |
209 | na innym komputerze, niż działa Asterisk. | |
210 | ||
211 | %package alsa | |
212 | Summary: Module for Asterisk that uses ALSA sound drivers | |
213 | Summary(pl.UTF-8): Moduł Asteriska wykorzystujący sterowniki dźwięku ALSA | |
214 | Group: Applications/Networking | |
215 | Requires: %{name} = %{version}-%{release} | |
216 | ||
217 | %description alsa | |
218 | Module for Asterisk that uses ALSA sound drivers. | |
219 | ||
220 | %description alsa -l pl.UTF-8 | |
221 | Moduł Asteriska wykorzystujący sterowniki dźwięku ALSA. | |
222 | ||
223 | %package bluetooth | |
224 | Summary: chan_mobile - Bluetooth mobile phone interface for Asterisk | |
225 | Summary(pl.UTF-8): chan_mobile - interfejs telefonów komórkowych Bluetooth dla Asteriska | |
226 | Group: Applications/Networking | |
227 | Requires: %{name} = %{version}-%{release} | |
228 | ||
229 | %description bluetooth | |
230 | The chan_mobile Asterisk module allows one to pair a mobile phone with | |
231 | the Asterisk PBX via Bluetooth. | |
232 | ||
233 | %description bluetooth -l pl.UTF-8 | |
234 | Moduł Asteriska chan_mobile pozwala na sparowanie telefonu komórkowego | |
235 | z centralką Asterisk poprzez Bluetooth. | |
236 | ||
237 | %package calendar | |
238 | Summary: Calendar modules for Asterisk | |
239 | Summary(pl.UTF-8): Moduły kalendarza dla Asteriska | |
240 | Group: Applications/Networking | |
241 | Requires: %{name} = %{version}-%{release} | |
242 | ||
243 | %description calendar | |
244 | Calendar modules for Asterisk. | |
245 | ||
246 | %description calendar -l pl.UTF-8 | |
247 | Moduły kalendarza dla Asteriska. | |
248 | ||
249 | %package curl | |
250 | Summary: Modules for Asterisk that use cURL library | |
251 | Summary(pl.UTF-8): Moduły Asteriska wykorzystujące bibliotekę cURL | |
252 | Group: Applications/Networking | |
253 | Requires: %{name} = %{version}-%{release} | |
254 | ||
255 | %description curl | |
256 | Modules for Asterisk that use cURL library. | |
257 | ||
258 | %description curl -l pl.UTF-8 | |
259 | Moduły Asteriska wykorzystujące bibliotekę cURL. | |
260 | ||
261 | %package dahdi | |
262 | Summary: Modules for Asterisk that use DAHDI | |
263 | Summary(pl.UTF-8): Moduły Asteriska wykorzystujące DAHDI | |
264 | Group: Applications/Networking | |
265 | Requires(pre): /usr/sbin/usermod | |
266 | Requires: %{name} = %{version}-%{release} | |
267 | Requires: dahdi-tools >= 2.0.0 | |
268 | ||
269 | %description dahdi | |
270 | Modules for Asterisk that use DAHDI. | |
271 | ||
272 | %description dahdi -l pl.UTF-8 | |
273 | Moduły Asteriska wykorzystujące DAHDI. | |
274 | ||
275 | %package fax | |
276 | Summary: FAX applications for Asterisk | |
277 | Summary(pl.UTF-8): Aplikacje faksowe dla Asteriska | |
278 | Group: Applications/Networking | |
279 | Requires: %{name} = %{version}-%{release} | |
280 | ||
281 | %description fax | |
282 | FAX applications for Asterisk. | |
283 | ||
284 | %description fax -l pl.UTF-8 | |
285 | Aplikacje faksowe dla Asteriska. | |
286 | ||
287 | %package festival | |
288 | Summary: Festival application for Asterisk | |
289 | Summary(pl.UTF-8): Aplikacja Festival dla Asteriska | |
290 | Group: Applications/Networking | |
291 | Requires: %{name} = %{version}-%{release} | |
292 | Requires: festival | |
293 | ||
294 | %description festival | |
295 | Application for the Asterisk PBX that uses Festival to convert text to | |
296 | speech. | |
297 | ||
298 | %description festival -l pl.UTF-8 | |
299 | Aplikacja dla centralki Asterisk wykorzystująca bibliotekę Festival do | |
300 | przekształcenia tekstu na mowę. | |
301 | ||
302 | %package gsm | |
303 | Summary: Support GSM audio encoding/decoding | |
304 | Summary(pl.UTF-8): Obsługa kodowania/dekodowania dźwięku GSM | |
305 | Group: Applications/Networking | |
306 | Requires: %{name} = %{version}-%{release} | |
307 | ||
308 | %description gsm | |
309 | Support GSM audio encoding/decoding. | |
310 | ||
311 | %description gsm -l pl.UTF-8 | |
312 | Obsługa kodowania/dekodowania dźwięku GSM. | |
313 | ||
314 | %package http | |
315 | Summary: HTTP Server Support | |
316 | Summary(pl.UTF-8): Obsługa serwera HTTP | |
317 | Group: Applications/Networking | |
318 | Requires: %{name} = %{version}-%{release} | |
319 | ||
320 | %description http | |
321 | HTTP Server Support. | |
322 | ||
323 | %description http -l pl.UTF-8 | |
324 | Obsługa serwera HTTP. | |
325 | ||
326 | %package ices | |
327 | Summary: Stream audio from Asterisk to an IceCast server | |
328 | Summary(pl.UTF-8): Przesyłanie strumienia dźwięku z Asteriska do serwera IceCast | |
329 | Group: Applications/Networking | |
330 | Requires: %{name} = %{version}-%{release} | |
331 | Requires: ices | |
332 | Obsoletes: asterisk < 1.4.18-1 | |
333 | Conflicts: asterisk < 1.4.18-1 | |
334 | ||
335 | %description ices | |
336 | Stream audio from Asterisk to an IceCast server. | |
337 | ||
338 | %description ices -l pl.UTF-8 | |
339 | Przesyłanie strumienia dźwięku z Asteriska do serwera IceCast. | |
340 | ||
341 | %package ilbc | |
342 | Summary: iLBC codec for Asterisk | |
343 | Summary(pl.UTF-8): Kodek iLBC dla Asteriska | |
344 | Group: Applications/Networking | |
345 | Requires: %{name} = %{version}-%{release} | |
346 | ||
347 | %description ilbc | |
348 | Support iLBC audio encoding/decoding. | |
349 | ||
350 | %description ilbc -l pl.UTF-8 | |
351 | Obsługa kodowania/dekodowania dźwięku iLBC. | |
352 | ||
353 | %package jabber | |
354 | Summary: Jabber/XMPP resources for Asterisk | |
355 | Summary(pl.UTF-8): Zasoby Jabbera/XMPP dla Asteriska | |
356 | Group: Applications/Networking | |
357 | Requires: %{name} = %{version}-%{release} | |
358 | ||
359 | %description jabber | |
360 | Jabber/XMPP resources for Asterisk. | |
361 | ||
362 | %description jabber -l pl.UTF-8 | |
363 | Zasoby Jabbera/XMPP dla Asteriska. | |
364 | ||
365 | %package jack | |
366 | Summary: JACK resources for Asterisk | |
367 | Summary(pl.UTF-8): Zasoby JACK dla Asteriska | |
368 | Group: Applications/Networking | |
369 | Requires: %{name} = %{version}-%{release} | |
370 | ||
371 | %description jack | |
372 | JACK resources for Asterisk. | |
373 | ||
374 | %description jack -l pl.UTF-8 | |
375 | Zasoby JACK dla Asteriska. | |
376 | ||
377 | %package lua | |
378 | Summary: Lua resources for Asterisk | |
379 | Summary(pl.UTF-8): Zasoby Lua dla Asteriska | |
380 | Group: Applications/Networking | |
381 | Requires: %{name} = %{version}-%{release} | |
382 | ||
383 | %description lua | |
384 | Lua resources for Asterisk. | |
385 | ||
386 | %description lua -l pl.UTF-8 | |
387 | Zasoby Lua dla Asteriska. | |
388 | ||
389 | %package ldap | |
390 | Summary: LDAP resources for Asterisk | |
391 | Summary(pl.UTF-8): Zasoby LDAP dla Asteriska | |
392 | Group: Applications/Networking | |
393 | Requires: %{name} = %{version}-%{release} | |
394 | ||
395 | %description ldap | |
396 | LDAP resources for Asterisk. | |
397 | ||
398 | %description ldap -l pl.UTF-8 | |
399 | Zasoby LDAP dla Asteriska. | |
400 | ||
401 | %package ldap-fds | |
402 | Summary: LDAP resources for Asterisk and the Fedora Directory Server | |
403 | Summary(pl.UTF-8): Zasoby LDAP dla Asteriska oraz serwera usług katalogowych Fedora Directory Server | |
404 | Group: Applications/Networking | |
405 | Requires: %{name} = %{version}-%{release} | |
406 | Requires: %{name}-ldap = %{version}-%{release} | |
407 | Requires: fedora-ds-base | |
408 | ||
409 | %description ldap-fds | |
410 | LDAP resources for Asterisk and the Fedora Directory Server. | |
411 | ||
412 | %description ldap-fds -l pl.UTF-8 | |
413 | Zasoby LDAP dla Asteriska oraz serwera usług katalogowych Fedora | |
414 | Directory Server. | |
415 | ||
416 | %package lpc10 | |
417 | Summary: LPC-10 2400 bps Voice Codec support | |
418 | Summary(pl.UTF-8): Obsługa kodeka głosu LPC-10 2400 bps | |
419 | Group: Applications/Networking | |
420 | Requires: %{name} = %{version}-%{release} | |
421 | ||
422 | %description lpc10 | |
423 | LPC-10 2400 bps Voice Codec support | |
424 | ||
425 | %description lpc10 -l pl.UTF-8 | |
426 | Obsługa kodeka głosu LPC-10 2400 bps. | |
427 | ||
428 | %package minivm | |
429 | Summary: MiniVM application for Asterisk | |
430 | Summary(pl.UTF-8): Aplikacja MiniVM dla Asteriska | |
431 | Group: Applications/Networking | |
432 | Requires: %{name} = %{version}-%{release} | |
433 | ||
434 | %description minivm | |
435 | MiniVM application for Asterisk. | |
436 | ||
437 | %description minivm -l pl.UTF-8 | |
438 | Aplikacja MiniVM dla Asteriska. | |
439 | ||
440 | %package mysql | |
441 | Summary: Asterisk modules that use MySQL | |
442 | Summary(pl.UTF-8): Moduły Asteriska wykorzystujące MySQL | |
443 | Group: Applications/Networking | |
444 | Requires: %{name} = %{version}-%{release} | |
445 | ||
446 | %description mysql | |
447 | Asterisk modules that use MySQL. | |
448 | ||
449 | %description mysql -l pl.UTF-8 | |
450 | Moduły Asteriska wykorzystujące MySQL. | |
451 | ||
452 | %package odbc | |
453 | Summary: Applications for Asterisk that use ODBC (except voicemail) | |
454 | Summary(pl.UTF-8): Aplikacje Asteriska wykorzystujące ODBC (z wyjątkiem voicemail) | |
455 | Group: Applications/Networking | |
456 | Requires: %{name} = %{version}-%{release} | |
457 | ||
458 | %description odbc | |
459 | Applications for Asterisk that use ODBC (except voicemail). | |
460 | ||
461 | %description odbc -l pl.UTF-8 | |
462 | Aplikacje Asteriska wykorzystujące ODBC (z wyjątkiem voicemail). | |
463 | ||
464 | %package osp | |
465 | Summary: Module for Asterisk that uses Open Settlement Protocol (OSP) Applications | |
466 | Summary(pl.UTF-8): Moduł Asteriska wykorzystujący aplikacje OSP (Open Settlement Protocol) | |
467 | Group: Applications/Networking | |
468 | Requires: %{name} = %{version}-%{release} | |
469 | ||
470 | %description osp | |
471 | Open Settlement Protocol (OSP) Applications. | |
472 | ||
473 | %description osp -l pl.UTF-8 | |
474 | Aplikacje protokołu OSP (Open Settlement Protocol). | |
475 | ||
476 | %package oss | |
477 | Summary: Module for Asterisk that uses OSS sound drivers | |
478 | Summary(pl.UTF-8): Moduł Asteriska wykorzystujący sterowniki dźwięku OSS | |
479 | Group: Applications/Networking | |
480 | Requires: %{name} = %{version}-%{release} | |
481 | ||
482 | %description oss | |
483 | Module for Asterisk that uses OSS sound drivers. | |
484 | ||
485 | %description oss -l pl.UTF-8 | |
486 | Moduł Asteriska wykorzystujący sterowniki dźwięku OSS. | |
487 | ||
488 | %package pjsip | |
489 | Summary: PJSIP Asterisk modules | |
490 | Summary(pl.UTF-8): Moduły Asteriska PJSIP | |
491 | Group: Applications/Networking | |
492 | Requires: %{name} = %{version}-%{release} | |
493 | ||
494 | %description pjsip | |
495 | The chan_pjsip and res_pjsip* modules provided by this package provide | |
496 | the new SIP driver for Asterisk, based on the PJSIP stack, to replace | |
497 | the old, badly designed and quite buggy chan_sip module. | |
498 | ||
499 | %description pjsip -l pl.UTF-8 | |
500 | Moduły chan_pjsip oraz res_pjsip* zawarte w tym pakiecie dostarczają | |
501 | nowy sterownik SIP dla Asteriska, oparty na stosie PJSIP, który ma | |
502 | zastąpić stary, źle zaprojektowany i zawierający błędy moduł chan_sip. | |
503 | ||
504 | %package portaudio | |
505 | Summary: Module for Asterisk that uses the PortAudio library | |
506 | Summary(pl.UTF-8): Moduł Asteriska wykorzystujący bibliotekę PortAudio | |
507 | Group: Applications/Networking | |
508 | Requires: %{name} = %{version}-%{release} | |
509 | ||
510 | %description portaudio | |
511 | Module for Asterisk that uses the PortAudio library. | |
512 | ||
513 | %description portaudio -l pl.UTF-8 | |
514 | Moduł Asteriska wykorzystującye bibliotekę PortAudio. | |
515 | ||
516 | %package postgresql | |
517 | Summary: Applications for Asterisk that use PostgreSQL | |
518 | Summary(pl.UTF-8): Aplikacje Asteriska wykorzystujące PostgreSQL | |
519 | Group: Applications/Networking | |
520 | Requires: %{name} = %{version}-%{release} | |
521 | ||
522 | %description postgresql | |
523 | Applications for Asterisk that use PostgreSQL. | |
524 | ||
525 | %description postgresql -l pl.UTF-8 | |
526 | Aplikacje Asteriska wykorzystujące PostgreSQL. | |
527 | ||
528 | %package radius | |
529 | Summary: Applications for Asterisk that use RADIUS | |
530 | Summary(pl.UTF-8): Aplikacje Asteriska wykorzystujące bibliotekę RADIUS | |
531 | Group: Applications/Networking | |
532 | Requires: %{name} = %{version}-%{release} | |
533 | ||
534 | %description radius | |
535 | Applications for Asterisk that use RADIUS. | |
536 | ||
537 | %description radius -l pl.UTF-8 | |
538 | Aplikacje Asteriska wykorzystujące bibliotekę RADIUS. | |
539 | ||
540 | %package resample | |
541 | Summary: resample codec | |
542 | Summary(pl.UTF-8): Kodek resample | |
543 | Group: Applications/Networking | |
544 | Requires: %{name} = %{version}-%{release} | |
545 | ||
546 | %description resample | |
547 | resample codec. | |
548 | ||
549 | %description resample -l pl.UTF-8 | |
550 | Kodek resample. | |
551 | ||
552 | %package skinny | |
553 | Summary: Module for Asterisk that supportsthe SCCP/Skinny protocol | |
554 | Summary(pl.UTF-8): Moduł Asteriska obsługujący protokół SCCP/Skinny | |
555 | Group: Applications/Networking | |
556 | Requires: %{name} = %{version}-%{release} | |
557 | ||
558 | %description skinny | |
559 | Module for Asterisk that supports the SCCP/Skinny protocol. | |
560 | ||
561 | %description skinny -l pl.UTF-8 | |
562 | Moduł Asteriska obsługujący protokół SCCP/Skinny. | |
563 | ||
564 | %package snmp | |
565 | Summary: Module that enables SNMP monitoring of Asterisk | |
566 | Summary(pl.UTF-8): Moduł pozwalający na monitorowanie Asteriska przez SNMP | |
567 | Group: Applications/Networking | |
568 | Requires: %{name} = %{version}-%{release} | |
569 | Requires: mibs-dirs | |
570 | ||
571 | %description snmp | |
572 | Module that enables SNMP monitoring of Asterisk. | |
573 | ||
574 | %description snmp -l pl.UTF-8 | |
575 | Moduł pozwalający na monitorowanie Asteriska przez SNMP. | |
576 | ||
577 | %package speex | |
578 | Summary: Speex codec support | |
579 | Summary(pl.UTF-8): Obsługa kodeka Speex | |
580 | Group: Applications/Networking | |
581 | Requires: %{name} = %{version}-%{release} | |
582 | ||
583 | %description speex | |
584 | Speex codec support. | |
585 | ||
586 | %description speex -l pl.UTF-8 | |
587 | Obsługa kodeka Speex. | |
588 | ||
589 | %package sqlite2 | |
590 | Summary: SQLite 2 module for Asterisk | |
591 | Summary(pl.UTF-8): Moduł SQLite 2 dla Asteriska | |
592 | Group: Applications/Networking | |
593 | Requires: %{name} = %{version}-%{release} | |
594 | ||
595 | %description sqlite2 | |
596 | SQLite 2 module for Asterisk. | |
597 | ||
598 | %description sqlite2 -l pl.UTF-8 | |
599 | Moduł SQLite 2 dla Asteriska. | |
600 | ||
601 | %package sqlite3 | |
602 | Summary: SQLite 3 modules for Asterisk | |
603 | Summary(pl.UTF-8): Moduły SQLite 3 dla Asteriska | |
604 | Group: Applications/Networking | |
605 | Requires: %{name} = %{version}-%{release} | |
606 | Obsoletes: asterisk-sqlite < 12.0.0 | |
607 | ||
608 | %description sqlite3 | |
609 | SQLite 3 modules for Asterisk. | |
610 | ||
611 | %description sqlite3 -l pl.UTF-8 | |
612 | Moduły SQLite 3 dla Asteriska. | |
613 | ||
614 | %package tds | |
615 | Summary: Modules for Asterisk that use FreeTDS | |
616 | Summary(pl.UTF-8): Moduły Asteriska wykorzystujące FreeTDS | |
617 | Group: Applications/Networking | |
618 | Requires: %{name} = %{version}-%{release} | |
619 | ||
620 | %description tds | |
621 | Modules for Asterisk that use FreeTDS. | |
622 | ||
623 | %description tds -l pl.UTF-8 | |
624 | Moduły Asteriska wykorzystujące FreeTDS. | |
625 | ||
626 | %package unistim | |
627 | Summary: Unistim channel for Asterisk | |
628 | Summary(pl.UTF-8): Kanał Unistim dla Asteriska | |
629 | Group: Applications/Networking | |
630 | Requires: %{name} = %{version}-%{release} | |
631 | ||
632 | %description unistim | |
633 | Unistim channel for Asterisk | |
634 | ||
635 | %description unistim -l pl.UTF-8 | |
636 | Kanał Unistim dla Asteriska. | |
637 | ||
638 | %package voicemail | |
639 | Summary: Common Voicemail Modules for Asterisk | |
640 | Summary(pl.UTF-8): Wspólne moduły Voicemail (poczty głosowej) dla Asteriska | |
641 | Group: Applications/Networking | |
642 | Requires: %{name} = %{version}-%{release} | |
643 | Requires: %{name}-voicemail-implementation = %{version}-%{release} | |
644 | Requires: /usr/lib/sendmail | |
645 | Requires: sox | |
646 | ||
647 | %description voicemail | |
648 | Common Voicemail Modules for Asterisk. | |
649 | ||
650 | %description voicemail -l pl.UTF-8 | |
651 | Wspólne moduły Voicemail (poczty głosowej) dla Asteriska. | |
652 | ||
653 | %package voicemail-imap | |
654 | Summary: Store voicemail on an IMAP server | |
655 | Summary(pl.UTF-8): Przechowywanie poczty głosowej na serwerze IMAP | |
656 | Group: Applications/Networking | |
657 | Requires: %{name} = %{version}-%{release} | |
658 | Requires: %{name}-voicemail = %{version}-%{release} | |
659 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
660 | ||
661 | %description voicemail-imap | |
662 | Voicemail implementation for Asterisk that stores voicemail on an IMAP | |
663 | server. | |
664 | ||
665 | %description voicemail-imap -l pl.UTF-8 | |
666 | Implementacja poczty głosowej (Voicemail) dla Asteriska przechowująca | |
667 | pocztę na serwerze IMAP. | |
668 | ||
669 | %package voicemail-odbc | |
670 | Summary: Store voicemail in a database using ODBC | |
671 | Summary(pl.UTF-8): Przechowywanie poczty głosowej w bazie danych poprzez ODBC | |
672 | Group: Applications/Networking | |
673 | Requires: %{name} = %{version}-%{release} | |
674 | Requires: %{name}-voicemail = %{version}-%{release} | |
675 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
676 | ||
677 | %description voicemail-odbc | |
678 | Voicemail implementation for Asterisk that uses ODBC to store | |
679 | voicemail in a database. | |
680 | ||
681 | %description voicemail-odbc -l pl.UTF-8 | |
682 | Implementacja poczty głosowej (Voicemail) dla Asteriska wykorzystująca | |
683 | ODBC do przechowywania poczty w bazie danych. | |
684 | ||
685 | %package voicemail-plain | |
686 | Summary: Store voicemail on the local filesystem | |
687 | Summary(pl.UTF-8): Przechowywanie poczty głosowej na lokalnym systemie plików | |
688 | Group: Applications/Networking | |
689 | Requires: %{name} = %{version}-%{release} | |
690 | Requires: %{name}-voicemail = %{version}-%{release} | |
691 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
692 | ||
693 | %description voicemail-plain | |
694 | Voicemail implementation for Asterisk that stores voicemail on the | |
695 | local filesystem. | |
696 | ||
697 | %description voicemail-plain -l pl.UTF-8 | |
698 | Implementacja poczty głosowej (Voicemail) dla Asteriska przechowująca | |
699 | pocztę na lokalnym systemie plików. | |
700 | ||
701 | %package vorbis | |
702 | Summary: Ogg Vorbis format support | |
703 | Summary(pl.UTF-8): Obsługa formatu Ogg Vorbis | |
704 | Group: Applications/Networking | |
705 | Requires: %{name} = %{version}-%{release} | |
706 | ||
707 | %description vorbis | |
708 | Ogg Vorbis format support. | |
709 | ||
710 | %description vorbis -l pl.UTF-8 | |
711 | Obsługa formatu Ogg Vorbis. | |
712 | ||
713 | # define apidocs as last package, as it is the biggest one | |
714 | %package apidocs | |
715 | Summary: API documentation for Asterisk | |
716 | Summary(pl.UTF-8): Dokumentacja API Asteriska | |
717 | Group: Documentation | |
718 | %if "%{_rpmversion}" >= "5" | |
719 | BuildArch: noarch | |
720 | %endif | |
721 | ||
722 | %description apidocs | |
723 | API documentation for Asterisk. | |
724 | ||
725 | %description apidocs -l pl.UTF-8 | |
726 | Dokumentacja API Asteriska. | |
727 | ||
728 | %prep | |
729 | %setup -q | |
730 | %patch0 -p1 | |
731 | %patch1 -p1 | |
732 | %patch2 -p1 | |
733 | %patch3 -p1 | |
734 | %patch4 -p1 | |
735 | %patch5 -p1 | |
736 | %patch6 -p1 | |
737 | %patch7 -p1 | |
738 | ||
739 | # Fixup makefile so sound archives aren't downloaded/installed | |
740 | %{__sed} -i -e 's/^all:.*$/all:/' sounds/Makefile | |
741 | %{__sed} -i -e 's/^install:.*$/install:/' sounds/Makefile | |
742 | ||
743 | # avoid using these | |
744 | %{__rm} -r main/editline codecs/gsm codecs/lpc10 | |
745 | ||
746 | %build | |
747 | %{__aclocal} -I autoconf | |
748 | %{__autoheader} | |
749 | %{__autoconf} | |
750 | ||
751 | export ASTCFLAGS="%{rpmcflags}" | |
752 | export ASTLDFLAGS="%{rpmldflags}" | |
753 | export WGET="/bin/true" | |
754 | ||
755 | # be sure to invoke ./configure with our flags | |
756 | cd menuselect | |
757 | %{__aclocal} -I ../autoconf | |
758 | %{__autoheader} | |
759 | %{__autoconf} | |
760 | # we need just plain cli for building | |
761 | %configure \ | |
762 | --without-newt \ | |
763 | --without-gtk2 \ | |
764 | --without-curses \ | |
765 | --without-ncurses | |
766 | cd .. | |
767 | ||
768 | %configure \ | |
769 | %{__without oss SDL_image} \ | |
770 | %{__without bluetooth bluetooth} \ | |
771 | --without-gtk2 \ | |
772 | --with-gnu-ld \ | |
773 | --with-gsm=/usr \ | |
774 | %{__without ilbc ilbc} \ | |
775 | --with-imap=system \ | |
776 | %{__without jack jack} \ | |
777 | %{__without ldap ldap} \ | |
778 | --with-lpc10=/usr \ | |
779 | %{__without mysql mysqlclient} \ | |
780 | %{__without oss oss} \ | |
781 | %{__without pjsip pjproject} \ | |
782 | %{__without portaudio portaudio} \ | |
783 | %{__without pgsql postgres} \ | |
784 | %{__without radius radius} \ | |
785 | %{__without oss sdl} \ | |
786 | %{__without tds tds} \ | |
787 | %{__without odbc unixodbc} | |
788 | ||
789 | cp -f .cleancount .lastclean | |
790 | ||
791 | %{__make} menuselect/menuselect | |
792 | %{__make} menuselect-tree | |
793 | ||
794 | cp %{SOURCE6} . | |
795 | cp %{SOURCE7} . | |
796 | ||
797 | %if %{without corosync} | |
798 | menuselect/menuselect --disable res_corosync menuselect.makeopts | |
799 | %endif | |
800 | %if %{without sqlite2} | |
801 | menuselect/menuselect --disable res_config_sqlite menuselect.makeopts | |
802 | %endif | |
803 | %if %{without oss} | |
804 | menuselect/menuselect --disable chan_oss menuselect.makeopts | |
805 | %endif | |
806 | %if %{without tds} | |
807 | menuselect/menuselect --disable cdr_tds --disable cel_tds menuselect.makeopts | |
808 | %endif | |
809 | %if %{without ilbc} | |
810 | menuselect/menuselect --disable codec_ilbc --disable format_ilbc menuselect.makeopts | |
811 | %endif | |
812 | %if %{without ldap} | |
813 | menuselect/menuselect --disable res_config_ldap menuselect.makeopts | |
814 | %endif | |
815 | %if %{without bluetooth} | |
816 | menuselect/menuselect --disable chan_mobile menuselect.makeopts | |
817 | %endif | |
818 | %if %{without jack} | |
819 | menuselect/menuselect --disable app_jack menuselect.makeopts | |
820 | %endif | |
821 | %if %{without mysql} | |
822 | menuselect/menuselect --disable res_config_mysql --disable app_mysql --disable cdr_mysql menuselect.makeopts | |
823 | %endif | |
824 | %if %{without pgsql} | |
825 | menuselect/menuselect --disable res_config_pgsql --disable cdr_pgsql --disable cel_pgsql menuselect.makeopts | |
826 | %endif | |
827 | %if %{without odbc} | |
828 | menuselect/menuselect --disable res_odbc --disable res_config_odbc --disable cdr_odbc --disable cdr_adaptive_odbc --disable cel_odbc menuselect.makeopts | |
829 | %endif | |
830 | %if %{without radius} | |
831 | menuselect/menuselect --disable cdr_radius --disable cel_radius menuselect.makeopts | |
832 | %endif | |
833 | %if %{without pjsip} | |
834 | menuselect/menuselect --disable res_pjsip --disable chan_pjsip menuselect.makeopts | |
835 | %endif | |
836 | ||
837 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=FILE_STORAGE/' menuselect.makeopts | |
838 | ||
839 | menuselect/menuselect --enable app_voicemail menuselect.makeopts | |
840 | ||
841 | %{__make} DEBUG= \ | |
842 | OPTIMIZE= \ | |
843 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
844 | ASTDATADIR=%{_datadir}/asterisk \ | |
845 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
846 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
847 | %{?with_verbose:NOISY_BUILD=yes} \ | |
848 | ||
849 | %{__rm} apps/app_voicemail.o | |
850 | %{__mv} apps/app_voicemail.so apps/app_voicemail_plain.so | |
851 | ||
852 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=IMAP_STORAGE/' menuselect.makeopts | |
853 | %{__make} DEBUG= \ | |
854 | OPTIMIZE= \ | |
855 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
856 | ASTDATADIR=%{_datadir}/asterisk \ | |
857 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
858 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
859 | %{?with_verbose:NOISY_BUILD=yes} \ | |
860 | ||
861 | %{__rm} apps/app_voicemail.o | |
862 | %{__mv} apps/app_voicemail.so apps/app_voicemail_imap.so | |
863 | ||
864 | %if %{with odbc} | |
865 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=ODBC_STORAGE/' menuselect.makeopts | |
866 | %{__make} DEBUG= \ | |
867 | OPTIMIZE= \ | |
868 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
869 | ASTDATADIR=%{_datadir}/asterisk \ | |
870 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
871 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
872 | %{?with_verbose:NOISY_BUILD=yes} \ | |
873 | ||
874 | %{__rm} apps/app_voicemail.o | |
875 | %{__mv} apps/app_voicemail.so apps/app_voicemail_odbc.so | |
876 | %endif | |
877 | ||
878 | # so that these modules don't get built again during the install phase | |
879 | touch apps/app_voicemail.o | |
880 | touch apps/app_voicemail.so | |
881 | ||
882 | %if %{with apidocs} | |
883 | %{__make} progdocs \ | |
884 | DEBUG= \ | |
885 | OPTIMIZE= \ | |
886 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
887 | ASTDATADIR=%{_datadir}/asterisk \ | |
888 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
889 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
890 | %{?with_verbose:NOISY_BUILD=yes} \ | |
891 | %endif | |
892 | ||
893 | %install | |
894 | rm -rf $RPM_BUILD_ROOT | |
895 | install -d $RPM_BUILD_ROOT{/var/{log/asterisk/cdr-csv,spool/asterisk/monitor},/etc/{rc.d/init.d,sysconfig,logrotate.d}} \ | |
896 | $RPM_BUILD_ROOT{%{systemdunitdir},%{systemdtmpfilesdir},%{_mandir}/man1} | |
897 | ||
898 | export ASTCFLAGS="%{rpmcflags}" | |
899 | ||
900 | %{__make} -j1 install \ | |
901 | DEBUG= \ | |
902 | OPTIMIZE= \ | |
903 | DESTDIR=$RPM_BUILD_ROOT \ | |
904 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
905 | ASTDATADIR=%{_datadir}/asterisk \ | |
906 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
907 | ASTDBDIR=%{_localstatedir}/spool/asterisk | |
908 | ||
909 | %{__make} -j1 samples \ | |
910 | DEBUG= \ | |
911 | OPTIMIZE= \ | |
912 | DESTDIR=$RPM_BUILD_ROOT \ | |
913 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
914 | ASTDATADIR=%{_datadir}/asterisk \ | |
915 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
916 | ASTDBDIR=%{_localstatedir}/spool/asterisk | |
917 | ||
918 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/asterisk/modules/app_voicemail.so | |
919 | install -D -p apps/app_voicemail_imap.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules | |
920 | %if %{with odbc} | |
921 | install -D -p apps/app_voicemail_odbc.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules | |
922 | %endif | |
923 | install -D -p apps/app_voicemail_plain.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules | |
924 | ||
925 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} | |
926 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} | |
927 | cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} | |
928 | install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service | |
929 | ||
930 | install %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf | |
931 | ||
932 | # create some directories that need to be packaged | |
933 | install -d $RPM_BUILD_ROOT%{_datadir}/asterisk/moh | |
934 | install -d $RPM_BUILD_ROOT%{_datadir}/asterisk/sounds | |
935 | ln -s %{_localstatedir}/lib/asterisk/licenses $RPM_BUILD_ROOT%{_datadir}/asterisk/licenses | |
936 | ||
937 | install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/asterisk/licenses | |
938 | install -d $RPM_BUILD_ROOT%{_localstatedir}/log/asterisk/cdr-custom | |
939 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/festival | |
940 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/monitor | |
941 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/outgoing | |
942 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/uploads | |
943 | ||
944 | install utils/astman.1 $RPM_BUILD_ROOT%{_mandir}/man1/astman.1 | |
945 | ||
946 | # Don't package the sample voicemail user | |
947 | %{__rm} -r $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/voicemail/default | |
948 | ||
949 | # Don't package example phone provision configs | |
950 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/asterisk/phoneprov/* | |
951 | ||
952 | # we're not using safe_asterisk | |
953 | %{__rm} $RPM_BUILD_ROOT%{_sbindir}/safe_asterisk | |
954 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/safe_asterisk.8* | |
955 | ||
956 | %if %{with apidocs} | |
957 | find doc/api -name '*.map' -size 0 -delete | |
958 | %endif | |
959 | ||
960 | # remove configuration files for components never built | |
961 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{app_skel,config_test,misdn,ooh323,test_sorcery}.conf | |
962 | ||
963 | # remove configuration files for disabled optional components | |
964 | %if %{without corosync} | |
965 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_corosync.conf | |
966 | %endif | |
967 | %if %{without sqlite2} | |
968 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_config_sqlite.conf | |
969 | %endif | |
970 | %if %{without oss} | |
971 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/oss.conf | |
972 | %endif | |
973 | %if %{without tds} | |
974 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{cdr,cel}_tds.conf | |
975 | %endif | |
976 | %if %{without ldap} | |
977 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_ldap.conf | |
978 | %endif | |
979 | %if %{without portaudio} | |
980 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/console.conf | |
981 | %endif | |
982 | %if %{without bluetooth} | |
983 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/chan_mobile.conf | |
984 | %endif | |
985 | %if %{without mysql} | |
986 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_config_mysql.conf | |
987 | %endif | |
988 | %if %{without pgsql} | |
989 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{cdr,cel,res}_pgsql.conf | |
990 | %endif | |
991 | %if %{without odbc} | |
992 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{cdr{,_adaptive},cel,func,res}_odbc.conf | |
993 | %endif | |
994 | %if %{without pjsip} | |
995 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/pjsip{,_notify}.conf | |
996 | %endif | |
997 | ||
998 | %{__rm} -r $RPM_BUILD_ROOT/usr/include/asterisk/doxygen | |
999 | ||
1000 | %clean | |
1001 | rm -rf $RPM_BUILD_ROOT | |
1002 | ||
1003 | %pre | |
1004 | %groupadd -g 188 asterisk | |
1005 | %useradd -u 188 -r -s /sbin/nologin -d /var/lib/asterisk -M -c 'Asterisk User' -g asterisk asterisk | |
1006 | ||
1007 | %postun | |
1008 | if [ "$1" = 0 ]; then | |
1009 | %userremove asterisk | |
1010 | %groupremove asterisk | |
1011 | fi | |
1012 | %systemd_reload | |
1013 | ||
1014 | %post | |
1015 | /sbin/chkconfig --add asterisk | |
1016 | # use -n (NOOP) as restart would be breaking all current calls. | |
1017 | %service -n asterisk restart "Asterisk daemon" | |
1018 | %systemd_post %{name}.service | |
1019 | ||
1020 | %preun | |
1021 | if [ "$1" = "0" ]; then | |
1022 | %service asterisk stop | |
1023 | /sbin/chkconfig --del asterisk | |
1024 | fi | |
1025 | %systemd_preun %{name}.service | |
1026 | ||
1027 | %triggerpostun -- %{name} < 1.6.1.12-0.1 | |
1028 | # chown to asterisk previously root owned files | |
1029 | # loose one (not one that cames from rpm), as we're not trying to split the | |
1030 | # hair with file permission bits. | |
1031 | chown -R asterisk:asterisk /var/spool/asterisk | |
1032 | chown -R asterisk:asterisk /var/lib/asterisk | |
1033 | ||
1034 | %triggerpostun -- %{name} < 12.0.0 | |
1035 | %systemd_trigger %{name}.service | |
1036 | ||
1037 | %files | |
1038 | %defattr(644,root,root,755) | |
1039 | %doc README *.txt ChangeLog BUGS CREDITS configs | |
1040 | %doc doc/asterisk.sgml | |
1041 | ||
1042 | %attr(755,root,root) %{_sbindir}/astcanary | |
1043 | %attr(755,root,root) %{_sbindir}/astdb2bdb | |
1044 | %attr(755,root,root) %{_sbindir}/astdb2sqlite3 | |
1045 | %attr(755,root,root) %{_sbindir}/asterisk | |
1046 | %attr(755,root,root) %{_sbindir}/astgenkey | |
1047 | %attr(755,root,root) %{_sbindir}/autosupport | |
1048 | %attr(755,root,root) %{_sbindir}/rasterisk | |
1049 | %{_mandir}/man8/astdb2bdb.8* | |
1050 | %{_mandir}/man8/astdb2sqlite3.8* | |
1051 | %{_mandir}/man8/asterisk.8* | |
1052 | %{_mandir}/man8/astgenkey.8* | |
1053 | %{_mandir}/man8/autosupport.8* | |
1054 | ||
1055 | %attr(754,root,root) /etc/rc.d/init.d/%{name} | |
1056 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name} | |
1057 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} | |
1058 | %{systemdunitdir}/%{name}.service | |
1059 | ||
1060 | %attr(750,root,asterisk) %dir %{_sysconfdir}/asterisk | |
1061 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/acl.conf | |
1062 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/adsi.conf | |
1063 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/agents.conf | |
1064 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/alarmreceiver.conf | |
1065 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/amd.conf | |
1066 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ari.conf | |
1067 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/asterisk.adsi | |
1068 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/asterisk.conf | |
1069 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ccss.conf | |
1070 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr.conf | |
1071 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_custom.conf | |
1072 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_manager.conf | |
1073 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_syslog.conf | |
1074 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel.conf | |
1075 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_custom.conf | |
1076 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cli.conf | |
1077 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cli_aliases.conf | |
1078 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cli_permissions.conf | |
1079 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/codecs.conf | |
1080 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/confbridge.conf | |
1081 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dnsmgr.conf | |
1082 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dsp.conf | |
1083 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dundi.conf | |
1084 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/enum.conf | |
1085 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extconfig.conf | |
1086 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.ael | |
1087 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.conf | |
1088 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/features.conf | |
1089 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/followme.conf | |
1090 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/iax.conf | |
1091 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/iaxprov.conf | |
1092 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/indications.conf | |
1093 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/logger.conf | |
1094 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/manager.conf | |
1095 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/mgcp.conf | |
1096 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/modules.conf | |
1097 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/musiconhold.conf | |
1098 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/muted.conf | |
1099 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/phone.conf | |
1100 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/phoneprov.conf | |
1101 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/queuerules.conf | |
1102 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/queues.conf | |
1103 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_parking.conf | |
1104 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_pktccops.conf | |
1105 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_stun_monitor.conf | |
1106 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/rtp.conf | |
1107 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/say.conf | |
1108 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sip*.conf | |
1109 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sla.conf | |
1110 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/smdi.conf | |
1111 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sorcery.conf | |
1112 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ss7.timers | |
1113 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/stasis.conf | |
1114 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/statsd.conf | |
1115 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/telcordia-1.adsi | |
1116 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/udptl.conf | |
1117 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/users.conf | |
1118 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/vpb.conf | |
1119 | ||
1120 | %{_libdir}/libasteriskssl.so.1 | |
1121 | ||
1122 | %dir %{_libdir}/asterisk | |
1123 | %dir %{_libdir}/asterisk/modules | |
1124 | ||
1125 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_adsiprog.so | |
1126 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_agent_pool.so | |
1127 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_alarmreceiver.so | |
1128 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_amd.so | |
1129 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_authenticate.so | |
1130 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_bridgewait.so | |
1131 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_cdr.so | |
1132 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_celgenuserevent.so | |
1133 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_chanisavail.so | |
1134 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_channelredirect.so | |
1135 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_chanspy.so | |
1136 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_confbridge.so | |
1137 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_controlplayback.so | |
1138 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_db.so | |
1139 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dial.so | |
1140 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dictate.so | |
1141 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_directed_pickup.so | |
1142 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_directory.so | |
1143 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_disa.so | |
1144 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dumpchan.so | |
1145 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_echo.so | |
1146 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_exec.so | |
1147 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_externalivr.so | |
1148 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_followme.so | |
1149 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_forkcdr.so | |
1150 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_getcpeid.so | |
1151 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_image.so | |
1152 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_macro.so | |
1153 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_milliwatt.so | |
1154 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_mixmonitor.so | |
1155 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_morsecode.so | |
1156 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_mp3.so | |
1157 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_nbscat.so | |
1158 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_originate.so | |
1159 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_playback.so | |
1160 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_playtones.so | |
1161 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_privacy.so | |
1162 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_queue.so | |
1163 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_read.so | |
1164 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_readexten.so | |
1165 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_record.so | |
1166 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_saycounted.so | |
1167 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sayunixtime.so | |
1168 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_senddtmf.so | |
1169 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sendtext.so | |
1170 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_setcallerid.so | |
1171 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sms.so | |
1172 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_softhangup.so | |
1173 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_speech_utils.so | |
1174 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_stack.so | |
1175 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_stasis.so | |
1176 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_system.so | |
1177 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_talkdetect.so | |
1178 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_test.so | |
1179 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_transfer.so | |
1180 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_url.so | |
1181 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_userevent.so | |
1182 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_verbose.so | |
1183 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_waitforring.so | |
1184 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_waitforsilence.so | |
1185 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_waituntil.so | |
1186 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_while.so | |
1187 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_zapateller.so | |
1188 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_builtin_features.so | |
1189 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_builtin_interval_features.so | |
1190 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_holding.so | |
1191 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_native_rtp.so | |
1192 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_simple.so | |
1193 | %attr(755,root,root) %{_libdir}/asterisk/modules/bridge_softmix.so | |
1194 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_csv.so | |
1195 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_custom.so | |
1196 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_manager.so | |
1197 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_syslog.so | |
1198 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_custom.so | |
1199 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_manager.so | |
1200 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_bridge_media.so | |
1201 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_iax2.so | |
1202 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_mgcp.so | |
1203 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_multicast_rtp.so | |
1204 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_phone.so | |
1205 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_sip.so | |
1206 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_a_mu.so | |
1207 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_adpcm.so | |
1208 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_alaw.so | |
1209 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_g722.so | |
1210 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_g726.so | |
1211 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_ulaw.so | |
1212 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g719.so | |
1213 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g723.so | |
1214 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g726.so | |
1215 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g729.so | |
1216 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_h263.so | |
1217 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_h264.so | |
1218 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_jpeg.so | |
1219 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_pcm.so | |
1220 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_siren14.so | |
1221 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_siren7.so | |
1222 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_sln.so | |
1223 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_vox.so | |
1224 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_wav.so | |
1225 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_aes.so | |
1226 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_audiohookinherit.so | |
1227 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_base64.so | |
1228 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_blacklist.so | |
1229 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_callcompletion.so | |
1230 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_callerid.so | |
1231 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_cdr.so | |
1232 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_channel.so | |
1233 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_config.so | |
1234 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_cut.so | |
1235 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_db.so | |
1236 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_devstate.so | |
1237 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_dialgroup.so | |
1238 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_dialplan.so | |
1239 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_enum.so | |
1240 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_env.so | |
1241 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_extstate.so | |
1242 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_frame_trace.so | |
1243 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_global.so | |
1244 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_groupcount.so | |
1245 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_hangupcause.so | |
1246 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_iconv.so | |
1247 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_jitterbuffer.so | |
1248 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_lock.so | |
1249 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_logic.so | |
1250 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_math.so | |
1251 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_md5.so | |
1252 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_module.so | |
1253 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_periodic_hook.so | |
1254 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pitchshift.so | |
1255 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_presencestate.so | |
1256 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_rand.so | |
1257 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_realtime.so | |
1258 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sha1.so | |
1259 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_shell.so | |
1260 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sorcery.so | |
1261 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sprintf.so | |
1262 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_srv.so | |
1263 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_strings.so | |
1264 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sysinfo.so | |
1265 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_talkdetect.so | |
1266 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_timeout.so | |
1267 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_uri.so | |
1268 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_version.so | |
1269 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_volume.so | |
1270 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_ael.so | |
1271 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_config.so | |
1272 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_dundi.so | |
1273 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_loopback.so | |
1274 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_realtime.so | |
1275 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_spool.so | |
1276 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_adsi.so | |
1277 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ael_share.so | |
1278 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_agi.so | |
1279 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari.so | |
1280 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_applications.so | |
1281 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_asterisk.so | |
1282 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_bridges.so | |
1283 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_channels.so | |
1284 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_device_states.so | |
1285 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_endpoints.so | |
1286 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_events.so | |
1287 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_model.so | |
1288 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_playbacks.so | |
1289 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_recordings.so | |
1290 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_sounds.so | |
1291 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_chan_stats.so | |
1292 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_clialiases.so | |
1293 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_clioriginate.so | |
1294 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_convert.so | |
1295 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_crypto.so | |
1296 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_celt.so | |
1297 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_h263.so | |
1298 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_h264.so | |
1299 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_opus.so | |
1300 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_silk.so | |
1301 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_http_websocket.so | |
1302 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_limit.so | |
1303 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_manager_devicestate.so | |
1304 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_manager_presencestate.so | |
1305 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_monitor.so | |
1306 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_mutestream.so | |
1307 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_musiconhold.so | |
1308 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_parking.so | |
1309 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_phoneprov.so | |
1310 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pktccops.so | |
1311 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_realtime.so | |
1312 | # res_rtp_asterisk.so pulls some pjproject libs, but it still looks like a core module | |
1313 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_rtp_asterisk.so | |
1314 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_rtp_multicast.so | |
1315 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_security_log.so | |
1316 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_smdi.so | |
1317 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_astdb.so | |
1318 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_config.so | |
1319 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_memory.so | |
1320 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_realtime.so | |
1321 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_speech.so | |
1322 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_srtp.so | |
1323 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis.so | |
1324 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_answer.so | |
1325 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_device_state.so | |
1326 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_playback.so | |
1327 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_recording.so | |
1328 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_snoop.so | |
1329 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stun_monitor.so | |
1330 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_pthread.so | |
1331 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_timerfd.so | |
1332 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_statsd.so | |
1333 | %{systemdtmpfilesdir}/%{name}.conf | |
1334 | ||
1335 | %dir %{_datadir}/asterisk | |
1336 | %dir %{_datadir}/asterisk/agi-bin | |
1337 | %dir %{_datadir}/asterisk/firmware | |
1338 | %dir %{_datadir}/asterisk/firmware/iax | |
1339 | %dir %{_datadir}/asterisk/images | |
1340 | %dir %{_datadir}/asterisk/moh | |
1341 | %dir %{_datadir}/asterisk/sounds | |
1342 | %dir %attr(750,root,asterisk) %{_datadir}/asterisk/keys | |
1343 | # no need to protect publicly downloaded and packaged .pub | |
1344 | #%{_datadir}/asterisk/keys/*.pub | |
1345 | %{_datadir}/asterisk/images/*.jpg | |
1346 | %{_datadir}/asterisk/phoneprov | |
1347 | %{_datadir}/asterisk/licenses | |
1348 | ||
1349 | %dir %{_datadir}/asterisk/documentation | |
1350 | %{_datadir}/asterisk/documentation/appdocsxml.dtd | |
1351 | %{_datadir}/asterisk/documentation/appdocsxml.xslt | |
1352 | %{_datadir}/asterisk/documentation/core-en_US.xml | |
1353 | ||
1354 | %dir %{_datadir}/asterisk/rest-api | |
1355 | %{_datadir}/asterisk/rest-api/*.json | |
1356 | ||
1357 | %attr(770,root,asterisk) %dir %{_localstatedir}/lib/asterisk | |
1358 | %dir %attr(750,root,asterisk) %{_localstatedir}/lib/asterisk/licenses | |
1359 | ||
1360 | %attr(770,root,asterisk) %dir %{_localstatedir}/log/asterisk | |
1361 | %attr(770,root,asterisk) %dir %{_localstatedir}/log/asterisk/cdr-csv | |
1362 | %attr(770,root,asterisk) %dir %{_localstatedir}/log/asterisk/cdr-custom | |
1363 | ||
1364 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk | |
1365 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/monitor | |
1366 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/outgoing | |
1367 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/tmp | |
1368 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/uploads | |
1369 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/voicemail | |
1370 | ||
1371 | %attr(775,root,asterisk) %dir %{_localstatedir}/run/asterisk | |
1372 | ||
1373 | %files devel | |
1374 | %defattr(644,root,root,755) | |
1375 | %attr(755,root,root) %{_libdir}/libasteriskssl.so | |
1376 | %dir %{_includedir}/asterisk | |
1377 | %{_includedir}/asterisk/*.h | |
1378 | %{_includedir}/asterisk.h | |
1379 | ||
1380 | %if %{with apidocs} | |
1381 | %files apidocs | |
1382 | %defattr(644,root,root,755) | |
1383 | %doc doc/api/* | |
1384 | %endif | |
1385 | ||
1386 | %files utils | |
1387 | %defattr(644,root,root,755) | |
1388 | %attr(755,root,root) %{_sbindir}/aelparse | |
1389 | %attr(755,root,root) %{_sbindir}/conf2ael | |
1390 | %attr(755,root,root) %{_sbindir}/muted | |
1391 | %attr(755,root,root) %{_sbindir}/smsq | |
1392 | %attr(755,root,root) %{_sbindir}/stereorize | |
1393 | %attr(755,root,root) %{_sbindir}/streamplayer | |
1394 | ||
1395 | %files astman | |
1396 | %defattr(644,root,root,755) | |
1397 | %attr(755,root,root) %{_sbindir}/astman | |
1398 | %{_mandir}/man1/astman.1* | |
1399 | ||
1400 | %files alsa | |
1401 | %defattr(644,root,root,755) | |
1402 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/alsa.conf | |
1403 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_alsa.so | |
1404 | ||
1405 | %if %{with bluetooth} | |
1406 | %files bluetooth | |
1407 | %defattr(644,root,root,755) | |
1408 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/chan_mobile.conf | |
1409 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_mobile.so | |
1410 | %endif | |
1411 | ||
1412 | %files calendar | |
1413 | %defattr(644,root,root,755) | |
1414 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/calendar.conf | |
1415 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar.so | |
1416 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_caldav.so | |
1417 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_ews.so | |
1418 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_exchange.so | |
1419 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_icalendar.so | |
1420 | ||
1421 | %files curl | |
1422 | %defattr(644,root,root,755) | |
1423 | %doc contrib/scripts/dbsep.cgi | |
1424 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dbsep.conf | |
1425 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_curl.conf | |
1426 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_curl.so | |
1427 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_curl.so | |
1428 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_curl.so | |
1429 | ||
1430 | %files dahdi | |
1431 | %defattr(644,root,root,755) | |
1432 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/meetme.conf | |
1433 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/chan_dahdi.conf | |
1434 | %{_datadir}/dahdi/span_config.d/40-asterisk | |
1435 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dahdiras.so | |
1436 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_flash.so | |
1437 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_meetme.so | |
1438 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_page.so | |
1439 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_dahdi.so | |
1440 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_dahdi.so | |
1441 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_dahdi.so | |
1442 | ||
1443 | %files fax | |
1444 | %defattr(644,root,root,755) | |
1445 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_fax.conf | |
1446 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_fax.so | |
1447 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_fax_spandsp.so | |
1448 | ||
1449 | %files festival | |
1450 | %defattr(644,root,root,755) | |
1451 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/festival.conf | |
1452 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/festival | |
1453 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_festival.so | |
1454 | ||
1455 | %files gsm | |
1456 | %defattr(644,root,root,755) | |
1457 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_gsm.so | |
1458 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_gsm.so | |
1459 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_wav_gsm.so | |
1460 | ||
1461 | %files http | |
1462 | %defattr(644,root,root,755) | |
1463 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/http.conf | |
1464 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_http_post.so | |
1465 | %{_datadir}/asterisk/static-http | |
1466 | ||
1467 | %files ices | |
1468 | %defattr(644,root,root,755) | |
1469 | %doc contrib/asterisk-ices.xml | |
1470 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_ices.so | |
1471 | ||
1472 | %if %{with ilbc} | |
1473 | %files ilbc | |
1474 | %defattr(644,root,root,755) | |
1475 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_ilbc.so | |
1476 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_ilbc.so | |
1477 | %endif | |
1478 | ||
1479 | %files jabber | |
1480 | %defattr(644,root,root,755) | |
1481 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/motif.conf | |
1482 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/xmpp.conf | |
1483 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_motif.so | |
1484 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_xmpp.so | |
1485 | ||
1486 | %if %{with jack} | |
1487 | %files jack | |
1488 | %defattr(644,root,root,755) | |
1489 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_jack.so | |
1490 | %endif | |
1491 | ||
1492 | %files lua | |
1493 | %defattr(644,root,root,755) | |
1494 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.lua | |
1495 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_lua.so | |
1496 | ||
1497 | %if %{with ldap} | |
1498 | %files ldap | |
1499 | %defattr(644,root,root,755) | |
1500 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_ldap.conf | |
1501 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_ldap.so | |
1502 | ||
1503 | %if 0 | |
1504 | %files ldap-fds | |
1505 | %defattr(644,root,root,755) | |
1506 | %{_sysconfdir}/dirsrv/schema/99asterisk.ldif | |
1507 | %endif | |
1508 | %endif | |
1509 | ||
1510 | %files lpc10 | |
1511 | %defattr(644,root,root,755) | |
1512 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_lpc10.so | |
1513 | ||
1514 | %files minivm | |
1515 | %defattr(644,root,root,755) | |
1516 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions_minivm.conf | |
1517 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/minivm.conf | |
1518 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_minivm.so | |
1519 | ||
1520 | %if %{with mysql} | |
1521 | %files mysql | |
1522 | %defattr(644,root,root,755) | |
1523 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/app_mysql.conf | |
1524 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_mysql.conf | |
1525 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_mysql.conf | |
1526 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_mysql.so | |
1527 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_mysql.so | |
1528 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_mysql.so | |
1529 | %endif | |
1530 | ||
1531 | %if %{with odbc} | |
1532 | %files odbc | |
1533 | %defattr(644,root,root,755) | |
1534 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_adaptive_odbc.conf | |
1535 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_odbc.conf | |
1536 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_odbc.conf | |
1537 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/func_odbc.conf | |
1538 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_odbc.conf | |
1539 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_adaptive_odbc.so | |
1540 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_odbc.so | |
1541 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_odbc.so | |
1542 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_odbc.so | |
1543 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_odbc.so | |
1544 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_odbc.so | |
1545 | %endif | |
1546 | ||
1547 | %files osp | |
1548 | %defattr(644,root,root,755) | |
1549 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/osp.conf | |
1550 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_osplookup.so | |
1551 | ||
1552 | %if %{with oss} | |
1553 | %files oss | |
1554 | %defattr(644,root,root,755) | |
1555 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/oss.conf | |
1556 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_oss.so | |
1557 | %endif | |
1558 | ||
1559 | %if %{with pjsip} | |
1560 | %files pjsip | |
1561 | %defattr(644,root,root,755) | |
1562 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjsip.conf | |
1563 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjsip_notify.conf | |
1564 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjsip_wizard.conf | |
1565 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/hep.conf | |
1566 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_pjsip.so | |
1567 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pjsip_aor.so | |
1568 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pjsip_contact.so | |
1569 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pjsip_endpoint.so | |
1570 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_hep.so | |
1571 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_hep_pjsip.so | |
1572 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_hep_rtcp.so | |
1573 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip.so | |
1574 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_acl.so | |
1575 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_authenticator_digest.so | |
1576 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_caller_id.so | |
1577 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_config_wizard.so | |
1578 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_dialog_info_body_generator.so | |
1579 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_diversion.so | |
1580 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_dlg_options.so | |
1581 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_dtmf_info.so | |
1582 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_endpoint_identifier_anonymous.so | |
1583 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_endpoint_identifier_ip.so | |
1584 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_endpoint_identifier_user.so | |
1585 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_exten_state.so | |
1586 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_header_funcs.so | |
1587 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_keepalive.so | |
1588 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_log_forwarder.so | |
1589 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_logger.so | |
1590 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_messaging.so | |
1591 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_multihomed.so | |
1592 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_mwi.so | |
1593 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_mwi_body_generator.so | |
1594 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_nat.so | |
1595 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_notify.so | |
1596 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_one_touch_record_info.so | |
1597 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_outbound_authenticator_digest.so | |
1598 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_outbound_publish.so | |
1599 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_outbound_registration.so | |
1600 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_path.so | |
1601 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_phoneprov_provider.so | |
1602 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pidf_body_generator.so | |
1603 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pidf_digium_body_supplement.so | |
1604 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pidf_eyebeam_body_supplement.so | |
1605 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_publish_asterisk.so | |
1606 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pubsub.so | |
1607 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_refer.so | |
1608 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_registrar.so | |
1609 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_registrar_expire.so | |
1610 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_rfc3326.so | |
1611 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_sdp_rtp.so | |
1612 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_send_to_voicemail.so | |
1613 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_session.so | |
1614 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_sips_contact.so | |
1615 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_t38.so | |
1616 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_transport_websocket.so | |
1617 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_xpidf_body_generator.so | |
1618 | %endif | |
1619 | ||
1620 | %if %{with portaudio} | |
1621 | %files portaudio | |
1622 | %defattr(644,root,root,755) | |
1623 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/console.conf | |
1624 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_console.so | |
1625 | %endif | |
1626 | ||
1627 | %if %{with pgsql} | |
1628 | %files postgresql | |
1629 | %defattr(644,root,root,755) | |
1630 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_pgsql.conf | |
1631 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_pgsql.conf | |
1632 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_pgsql.conf | |
1633 | %doc contrib/realtime/postgresql/postgresql_cdr.sql | |
1634 | %doc contrib/realtime/postgresql/postgresql_config.sql | |
1635 | %doc contrib/realtime/postgresql/postgresql_voicemail.sql | |
1636 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_pgsql.so | |
1637 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_pgsql.so | |
1638 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_pgsql.so | |
1639 | %endif | |
1640 | ||
1641 | %if %{with radius} | |
1642 | %files radius | |
1643 | %defattr(644,root,root,755) | |
1644 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_radius.so | |
1645 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_radius.so | |
1646 | %endif | |
1647 | ||
1648 | %files resample | |
1649 | %defattr(644,root,root,755) | |
1650 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_resample.so | |
1651 | ||
1652 | %files skinny | |
1653 | %defattr(644,root,root,755) | |
1654 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/skinny.conf | |
1655 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_skinny.so | |
1656 | ||
1657 | %files snmp | |
1658 | %defattr(644,root,root,755) | |
1659 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_snmp.conf | |
1660 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_snmp.so | |
1661 | ||
1662 | %files speex | |
1663 | %defattr(644,root,root,755) | |
1664 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_speex.so | |
1665 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_speex.so | |
1666 | ||
1667 | %if %{with sqlite2} | |
1668 | %files sqlite2 | |
1669 | %defattr(644,root,root,755) | |
1670 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_sqlite.conf | |
1671 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_sqlite.so | |
1672 | %endif | |
1673 | ||
1674 | %files sqlite3 | |
1675 | %defattr(644,root,root,755) | |
1676 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_sqlite3_custom.conf | |
1677 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_sqlite3_custom.conf | |
1678 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_sqlite3.conf | |
1679 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_sqlite3_custom.so | |
1680 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_sqlite3_custom.so | |
1681 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_sqlite3.so | |
1682 | ||
1683 | %if %{with tds} | |
1684 | %files tds | |
1685 | %defattr(644,root,root,755) | |
1686 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_tds.conf | |
1687 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_tds.conf | |
1688 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_tds.so | |
1689 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_tds.so | |
1690 | %endif | |
1691 | ||
1692 | %files unistim | |
1693 | %defattr(644,root,root,755) | |
1694 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/unistim.conf | |
1695 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_unistim.so | |
1696 | ||
1697 | ||
1698 | %files voicemail | |
1699 | %defattr(644,root,root,755) | |
1700 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/voicemail.conf | |
1701 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_vmcount.so | |
1702 | ||
1703 | %files voicemail-imap | |
1704 | %defattr(644,root,root,755) | |
1705 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_imap.so | |
1706 | ||
1707 | %if %{with odbc} | |
1708 | %files voicemail-odbc | |
1709 | %defattr(644,root,root,755) | |
1710 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_odbc.so | |
1711 | %endif | |
1712 | ||
1713 | %files voicemail-plain | |
1714 | %defattr(644,root,root,755) | |
1715 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_plain.so | |
1716 | ||
1717 | %files vorbis | |
1718 | %defattr(644,root,root,755) | |
1719 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_ogg_vorbis.so |