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