]>
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 | ||
47 | %define pjproject_version 2.7.1 | |
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 |
ebc676cd | 54 | Version: 15.3.0 |
638c9ed5 | 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 |
ebc676cd | 59 | # Source0-md5: 18c9d26355225c0499a499ef5869156a |
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 JK |
71 | Source9: https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/%{pjproject_version}/pjproject-%{pjproject_version}.tar.bz2 |
72 | # Source9-md5: 99a64110fa5c2debff40e0e8d4676380 | |
00222a62 JK |
73 | Patch0: lua51-path.patch |
74 | Patch1: %{name}-ppc.patch | |
75 | Patch2: FHS-paths.patch | |
76 | Patch3: pld-banner.patch | |
77 | Patch4: lpc10-system.patch | |
78 | Patch5: %{name}-histedit.patch | |
7eae5355 | 79 | Patch6: x32.patch |
ebc676cd | 80 | #Patch7: %{name}-ilbc.patch |
8c7a2ffa | 81 | URL: http://www.asterisk.org/ |
1dac8036 | 82 | BuildRequires: OSPToolkit-devel >= 4.0.0 |
cfe50eff | 83 | %{?with_oss:BuildRequires: SDL-devel} |
d0d7a116 | 84 | %{?with_oss:BuildRequires: SDL_image-devel} |
8c1b5e50 | 85 | BuildRequires: alsa-lib-devel |
cfe50eff | 86 | BuildRequires: autoconf >= 2.60 |
7605fc79 | 87 | BuildRequires: automake |
cfe50eff JB |
88 | # libbfd (used only for debug builds?) |
89 | #BuildRequires: binutils-devel | |
90 | BuildRequires: bison >= 2 | |
d0d7a116 | 91 | %{?with_bluetooth:BuildRequires: bluez-libs-devel} |
839d3bea | 92 | %{?with_corosync:BuildRequires: corosync-devel >= 2.0.0} |
cfe50eff | 93 | BuildRequires: curl-devel >= 7.10.1 |
8e72a4f9 | 94 | BuildRequires: dahdi-linux-devel |
a149dc9c | 95 | BuildRequires: dahdi-tools-devel >= 2.0.0 |
1b7ef3a2 | 96 | BuildRequires: doxygen |
cfe50eff | 97 | BuildRequires: flex |
d0d7a116 | 98 | %{?with_tds:BuildRequires: freetds-devel >= 0.63} |
7346b8fc | 99 | BuildRequires: gawk |
19b2566c | 100 | BuildRequires: gcc >= 5:3.4 |
cfe50eff | 101 | # TODO: switch to 2.6 |
8e72a4f9 | 102 | BuildRequires: gmime22-devel |
7605fc79 | 103 | BuildRequires: iksemel-devel |
6889aefb | 104 | BuildRequires: imap-devel |
d0d7a116 | 105 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel} |
1dac8036 | 106 | BuildRequires: jansson-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 |
cfe50eff | 120 | BuildRequires: lua51-devel >= 5.1 |
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 |
b89d2618 | 147 | BuildRequires: srtp-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 |
a5eebbf0 | 524 | Requires: pjproject >= 2.6-4 |
7bb98ca7 JK |
525 | Requires: %{name} = %{version}-%{release} |
526 | ||
527 | %description pjsip | |
9b9ec488 JB |
528 | The chan_pjsip and res_pjsip* modules provided by this package provide |
529 | the new SIP driver for Asterisk, based on the PJSIP stack, to replace | |
530 | the old, badly designed and quite buggy chan_sip module. | |
531 | ||
532 | %description pjsip -l pl.UTF-8 | |
533 | Moduły chan_pjsip oraz res_pjsip* zawarte w tym pakiecie dostarczają | |
534 | nowy sterownik SIP dla Asteriska, oparty na stosie PJSIP, który ma | |
535 | zastąpić stary, źle zaprojektowany i zawierający błędy moduł chan_sip. | |
7bb98ca7 | 536 | |
a149dc9c | 537 | %package portaudio |
9b9ec488 JB |
538 | Summary: Module for Asterisk that uses the PortAudio library |
539 | Summary(pl.UTF-8): Moduł Asteriska wykorzystujący bibliotekę PortAudio | |
a149dc9c ER |
540 | Group: Applications/Networking |
541 | Requires: %{name} = %{version}-%{release} | |
542 | ||
543 | %description portaudio | |
9b9ec488 JB |
544 | Module for Asterisk that uses the PortAudio library. |
545 | ||
546 | %description portaudio -l pl.UTF-8 | |
547 | Moduł Asteriska wykorzystującye bibliotekę PortAudio. | |
a149dc9c ER |
548 | |
549 | %package postgresql | |
550 | Summary: Applications for Asterisk that use PostgreSQL | |
9b9ec488 | 551 | Summary(pl.UTF-8): Aplikacje Asteriska wykorzystujące PostgreSQL |
a149dc9c ER |
552 | Group: Applications/Networking |
553 | Requires: %{name} = %{version}-%{release} | |
554 | ||
555 | %description postgresql | |
556 | Applications for Asterisk that use PostgreSQL. | |
557 | ||
9b9ec488 JB |
558 | %description postgresql -l pl.UTF-8 |
559 | Aplikacje Asteriska wykorzystujące PostgreSQL. | |
560 | ||
a149dc9c ER |
561 | %package radius |
562 | Summary: Applications for Asterisk that use RADIUS | |
9b9ec488 | 563 | Summary(pl.UTF-8): Aplikacje Asteriska wykorzystujące bibliotekę RADIUS |
a149dc9c ER |
564 | Group: Applications/Networking |
565 | Requires: %{name} = %{version}-%{release} | |
566 | ||
567 | %description radius | |
568 | Applications for Asterisk that use RADIUS. | |
569 | ||
9b9ec488 JB |
570 | %description radius -l pl.UTF-8 |
571 | Aplikacje Asteriska wykorzystujące bibliotekę RADIUS. | |
572 | ||
622100af ER |
573 | %package resample |
574 | Summary: resample codec | |
9b9ec488 | 575 | Summary(pl.UTF-8): Kodek resample |
622100af ER |
576 | Group: Applications/Networking |
577 | Requires: %{name} = %{version}-%{release} | |
578 | ||
579 | %description resample | |
580 | resample codec. | |
581 | ||
9b9ec488 JB |
582 | %description resample -l pl.UTF-8 |
583 | Kodek resample. | |
584 | ||
a149dc9c | 585 | %package skinny |
9b9ec488 JB |
586 | Summary: Module for Asterisk that supportsthe SCCP/Skinny protocol |
587 | Summary(pl.UTF-8): Moduł Asteriska obsługujący protokół SCCP/Skinny | |
a149dc9c ER |
588 | Group: Applications/Networking |
589 | Requires: %{name} = %{version}-%{release} | |
590 | ||
591 | %description skinny | |
9b9ec488 JB |
592 | Module for Asterisk that supports the SCCP/Skinny protocol. |
593 | ||
594 | %description skinny -l pl.UTF-8 | |
595 | Moduł Asteriska obsługujący protokół SCCP/Skinny. | |
a149dc9c ER |
596 | |
597 | %package snmp | |
598 | Summary: Module that enables SNMP monitoring of Asterisk | |
9b9ec488 | 599 | Summary(pl.UTF-8): Moduł pozwalający na monitorowanie Asteriska przez SNMP |
a149dc9c ER |
600 | Group: Applications/Networking |
601 | Requires: %{name} = %{version}-%{release} | |
750e5644 | 602 | Requires: mibs-dirs |
a149dc9c ER |
603 | |
604 | %description snmp | |
605 | Module that enables SNMP monitoring of Asterisk. | |
606 | ||
9b9ec488 JB |
607 | %description snmp -l pl.UTF-8 |
608 | Moduł pozwalający na monitorowanie Asteriska przez SNMP. | |
609 | ||
622100af ER |
610 | %package speex |
611 | Summary: Speex codec support | |
9b9ec488 | 612 | Summary(pl.UTF-8): Obsługa kodeka Speex |
622100af ER |
613 | Group: Applications/Networking |
614 | Requires: %{name} = %{version}-%{release} | |
615 | ||
616 | %description speex | |
617 | Speex codec support. | |
618 | ||
9b9ec488 JB |
619 | %description speex -l pl.UTF-8 |
620 | Obsługa kodeka Speex. | |
621 | ||
b267d965 | 622 | %package sqlite2 |
9b9ec488 JB |
623 | Summary: SQLite 2 module for Asterisk |
624 | Summary(pl.UTF-8): Moduł SQLite 2 dla Asteriska | |
a149dc9c ER |
625 | Group: Applications/Networking |
626 | Requires: %{name} = %{version}-%{release} | |
627 | ||
b267d965 | 628 | %description sqlite2 |
9b9ec488 JB |
629 | SQLite 2 module for Asterisk. |
630 | ||
631 | %description sqlite2 -l pl.UTF-8 | |
632 | Moduł SQLite 2 dla Asteriska. | |
a149dc9c | 633 | |
b267d965 | 634 | %package sqlite3 |
9b9ec488 JB |
635 | Summary: SQLite 3 modules for Asterisk |
636 | Summary(pl.UTF-8): Moduły SQLite 3 dla Asteriska | |
b267d965 JK |
637 | Group: Applications/Networking |
638 | Requires: %{name} = %{version}-%{release} | |
639 | Obsoletes: asterisk-sqlite < 12.0.0 | |
640 | ||
641 | %description sqlite3 | |
9b9ec488 JB |
642 | SQLite 3 modules for Asterisk. |
643 | ||
644 | %description sqlite3 -l pl.UTF-8 | |
645 | Moduły SQLite 3 dla Asteriska. | |
b267d965 | 646 | |
a149dc9c ER |
647 | %package tds |
648 | Summary: Modules for Asterisk that use FreeTDS | |
9b9ec488 | 649 | Summary(pl.UTF-8): Moduły Asteriska wykorzystujące FreeTDS |
a149dc9c ER |
650 | Group: Applications/Networking |
651 | Requires: %{name} = %{version}-%{release} | |
652 | ||
653 | %description tds | |
654 | Modules for Asterisk that use FreeTDS. | |
655 | ||
9b9ec488 JB |
656 | %description tds -l pl.UTF-8 |
657 | Moduły Asteriska wykorzystujące FreeTDS. | |
658 | ||
a149dc9c ER |
659 | %package unistim |
660 | Summary: Unistim channel for Asterisk | |
9b9ec488 | 661 | Summary(pl.UTF-8): Kanał Unistim dla Asteriska |
a149dc9c ER |
662 | Group: Applications/Networking |
663 | Requires: %{name} = %{version}-%{release} | |
664 | ||
665 | %description unistim | |
666 | Unistim channel for Asterisk | |
667 | ||
9b9ec488 JB |
668 | %description unistim -l pl.UTF-8 |
669 | Kanał Unistim dla Asteriska. | |
670 | ||
a149dc9c ER |
671 | %package voicemail |
672 | Summary: Common Voicemail Modules for Asterisk | |
9b9ec488 | 673 | Summary(pl.UTF-8): Wspólne moduły Voicemail (poczty głosowej) dla Asteriska |
a149dc9c ER |
674 | Group: Applications/Networking |
675 | Requires: %{name} = %{version}-%{release} | |
676 | Requires: %{name}-voicemail-implementation = %{version}-%{release} | |
677 | Requires: /usr/lib/sendmail | |
678 | Requires: sox | |
679 | ||
680 | %description voicemail | |
681 | Common Voicemail Modules for Asterisk. | |
682 | ||
9b9ec488 JB |
683 | %description voicemail -l pl.UTF-8 |
684 | Wspólne moduły Voicemail (poczty głosowej) dla Asteriska. | |
685 | ||
a149dc9c ER |
686 | %package voicemail-imap |
687 | Summary: Store voicemail on an IMAP server | |
9b9ec488 | 688 | Summary(pl.UTF-8): Przechowywanie poczty głosowej na serwerze IMAP |
a149dc9c ER |
689 | Group: Applications/Networking |
690 | Requires: %{name} = %{version}-%{release} | |
691 | Requires: %{name}-voicemail = %{version}-%{release} | |
692 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
693 | ||
694 | %description voicemail-imap | |
695 | Voicemail implementation for Asterisk that stores voicemail on an IMAP | |
696 | server. | |
697 | ||
9b9ec488 JB |
698 | %description voicemail-imap -l pl.UTF-8 |
699 | Implementacja poczty głosowej (Voicemail) dla Asteriska przechowująca | |
700 | pocztę na serwerze IMAP. | |
701 | ||
a149dc9c ER |
702 | %package voicemail-odbc |
703 | Summary: Store voicemail in a database using ODBC | |
9b9ec488 | 704 | Summary(pl.UTF-8): Przechowywanie poczty głosowej w bazie danych poprzez ODBC |
a149dc9c ER |
705 | Group: Applications/Networking |
706 | Requires: %{name} = %{version}-%{release} | |
707 | Requires: %{name}-voicemail = %{version}-%{release} | |
708 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
709 | ||
710 | %description voicemail-odbc | |
711 | Voicemail implementation for Asterisk that uses ODBC to store | |
712 | voicemail in a database. | |
713 | ||
9b9ec488 JB |
714 | %description voicemail-odbc -l pl.UTF-8 |
715 | Implementacja poczty głosowej (Voicemail) dla Asteriska wykorzystująca | |
716 | ODBC do przechowywania poczty w bazie danych. | |
717 | ||
a149dc9c ER |
718 | %package voicemail-plain |
719 | Summary: Store voicemail on the local filesystem | |
9b9ec488 | 720 | Summary(pl.UTF-8): Przechowywanie poczty głosowej na lokalnym systemie plików |
a149dc9c ER |
721 | Group: Applications/Networking |
722 | Requires: %{name} = %{version}-%{release} | |
723 | Requires: %{name}-voicemail = %{version}-%{release} | |
724 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
725 | ||
726 | %description voicemail-plain | |
727 | Voicemail implementation for Asterisk that stores voicemail on the | |
728 | local filesystem. | |
729 | ||
9b9ec488 JB |
730 | %description voicemail-plain -l pl.UTF-8 |
731 | Implementacja poczty głosowej (Voicemail) dla Asteriska przechowująca | |
732 | pocztę na lokalnym systemie plików. | |
733 | ||
622100af ER |
734 | %package vorbis |
735 | Summary: Ogg Vorbis format support | |
9b9ec488 | 736 | Summary(pl.UTF-8): Obsługa formatu Ogg Vorbis |
622100af ER |
737 | Group: Applications/Networking |
738 | Requires: %{name} = %{version}-%{release} | |
739 | ||
740 | %description vorbis | |
741 | Ogg Vorbis format support. | |
742 | ||
9b9ec488 JB |
743 | %description vorbis -l pl.UTF-8 |
744 | Obsługa formatu Ogg Vorbis. | |
745 | ||
d3c4ccdf JK |
746 | %package opus |
747 | Summary: Opus codec and file format support | |
748 | Summary(pl.UTF-8): Obsługa kodeka i formatu plików Opus | |
749 | Group: Applications/Networking | |
750 | Requires: %{name} = %{version}-%{release} | |
751 | ||
752 | %description opus | |
753 | Opus codec and file format support. | |
754 | ||
755 | %description opus -l pl.UTF-8 | |
756 | Obsługa kodeka i formatu plików Opus. | |
757 | ||
a3afe3be JK |
758 | %package debug-tools |
759 | Summary: Debugging scripts for Asterisk | |
8e8fa77e | 760 | Summary(pl.UTF-8): Skrypty diagnostyczne dla Asteriska |
a3afe3be JK |
761 | Group: Applications/Networking |
762 | Requires: %{name} = %{version}-%{release} | |
763 | ||
764 | %description debug-tools | |
765 | Debugging scripts for Asterisk. | |
766 | ||
8e8fa77e JB |
767 | %description debug-tools -l pl.UTF-8 |
768 | Skrypty diagnostyczne dla Asteriska. | |
769 | ||
a5be3e03 ER |
770 | # define apidocs as last package, as it is the biggest one |
771 | %package apidocs | |
772 | Summary: API documentation for Asterisk | |
9b9ec488 | 773 | Summary(pl.UTF-8): Dokumentacja API Asteriska |
a5be3e03 | 774 | Group: Documentation |
0195c89b ER |
775 | %if "%{_rpmversion}" >= "5" |
776 | BuildArch: noarch | |
777 | %endif | |
a5be3e03 ER |
778 | |
779 | %description apidocs | |
780 | API documentation for Asterisk. | |
781 | ||
9b9ec488 JB |
782 | %description apidocs -l pl.UTF-8 |
783 | Dokumentacja API Asteriska. | |
784 | ||
8ac733fc | 785 | %prep |
4dd6f92b | 786 | %setup -q -a 8 |
ba762f24 | 787 | %patch0 -p1 |
8c44d5b7 | 788 | %patch1 -p1 |
707c94d9 | 789 | %patch2 -p1 |
5d89ea99 | 790 | %patch3 -p1 |
0303e2bb | 791 | %patch4 -p1 |
707c94d9 | 792 | %patch5 -p1 |
7eae5355 | 793 | %patch6 -p1 |
36a72b9c | 794 | |
4dd6f92b | 795 | %if %{with opus_vp8} |
4dd6f92b JK |
796 | |
797 | cp -a asterisk-opus-%{opus_commit}/codecs/* codecs | |
798 | cp -a asterisk-opus-%{opus_commit}/formats/* formats | |
d57ea64b JK |
799 | cp -a asterisk-opus-%{opus_commit}/res/* rest |
800 | cp -a asterisk-opus-%{opus_commit}/include/asterisk/* include/asterisk | |
4dd6f92b JK |
801 | %endif |
802 | ||
638c9ed5 JK |
803 | %if %{without system_pjproject} && %{with pjsip} |
804 | mkdir externals | |
805 | ln -s %{SOURCE9} externals | |
806 | md5sum %{SOURCE9} > externals/pjproject-%{pjproject_version}.md5 | |
807 | %endif | |
808 | ||
a149dc9c ER |
809 | # Fixup makefile so sound archives aren't downloaded/installed |
810 | %{__sed} -i -e 's/^all:.*$/all:/' sounds/Makefile | |
811 | %{__sed} -i -e 's/^install:.*$/install:/' sounds/Makefile | |
812 | ||
1b6f7009 | 813 | # avoid using these |
6407875b | 814 | %{__rm} -r main/editline codecs/gsm codecs/lpc10 |
6db22ae5 | 815 | |
8ac733fc | 816 | %build |
1248434e | 817 | %{__aclocal} -I autoconf $(find third-party/ -maxdepth 1 -type d -printf "-I %p ") |
6cd0c1d6 | 818 | %{__autoheader} |
7605fc79 AM |
819 | %{__autoconf} |
820 | ||
a149dc9c | 821 | export ASTCFLAGS="%{rpmcflags}" |
8c44d5b7 | 822 | export ASTLDFLAGS="%{rpmldflags}" |
8e72a4f9 | 823 | export WGET="/bin/true" |
6889aefb | 824 | |
638c9ed5 JK |
825 | %if %{without system_pjproject} && %{with pjsip} |
826 | export EXTERNALS_CACHE_DIR="$PWD/externals" | |
041f4481 | 827 | export PJPROJECT_CONFIGURE_OPTS="--disable-bcg729" |
638c9ed5 JK |
828 | %endif |
829 | ||
6889aefb | 830 | # be sure to invoke ./configure with our flags |
6889aefb | 831 | cd menuselect |
4fb7c436 | 832 | %{__aclocal} -I ../autoconf |
6889aefb ER |
833 | %{__autoheader} |
834 | %{__autoconf} | |
4fb7c436 ER |
835 | # we need just plain cli for building |
836 | %configure \ | |
9b9ec488 JB |
837 | --without-newt \ |
838 | --without-gtk2 \ | |
839 | --without-curses \ | |
840 | --without-ncurses | |
6889aefb ER |
841 | cd .. |
842 | ||
6db22ae5 | 843 | %configure \ |
638c9ed5 | 844 | %{__without_if system_pjproject pjproject-bundled} \ |
a4d69967 | 845 | --with-unbound \ |
cfe50eff JB |
846 | %{__without oss SDL_image} \ |
847 | %{__without bluetooth bluetooth} \ | |
c38af74f | 848 | --without-gtk2 \ |
cfe50eff | 849 | --with-gnu-ld \ |
6889aefb | 850 | --with-gsm=/usr \ |
d0d7a116 | 851 | %{__without ilbc ilbc} \ |
cfe50eff | 852 | --with-imap=system \ |
d0d7a116 | 853 | %{__without jack jack} \ |
cfe50eff JB |
854 | %{__without ldap ldap} \ |
855 | --with-lpc10=/usr \ | |
d0d7a116 | 856 | %{__without mysql mysqlclient} \ |
cfe50eff JB |
857 | %{__without oss oss} \ |
858 | %{__without pjsip pjproject} \ | |
859 | %{__without portaudio portaudio} \ | |
d0d7a116 | 860 | %{__without pgsql postgres} \ |
d0d7a116 | 861 | %{__without radius radius} \ |
cfe50eff JB |
862 | %{__without oss sdl} \ |
863 | %{__without tds tds} \ | |
864 | %{__without odbc unixodbc} | |
7605fc79 AM |
865 | |
866 | cp -f .cleancount .lastclean | |
867 | ||
d0d7a116 JK |
868 | %{__make} menuselect/menuselect |
869 | %{__make} menuselect-tree | |
870 | ||
30fc321d JK |
871 | cp %{SOURCE6} . |
872 | cp %{SOURCE7} . | |
d0d7a116 | 873 | |
d0d7a116 JK |
874 | %if %{without corosync} |
875 | menuselect/menuselect --disable res_corosync menuselect.makeopts | |
876 | %endif | |
877 | %if %{without sqlite2} | |
878 | menuselect/menuselect --disable res_config_sqlite menuselect.makeopts | |
879 | %endif | |
880 | %if %{without oss} | |
881 | menuselect/menuselect --disable chan_oss menuselect.makeopts | |
882 | %endif | |
883 | %if %{without tds} | |
884 | menuselect/menuselect --disable cdr_tds --disable cel_tds menuselect.makeopts | |
885 | %endif | |
886 | %if %{without ilbc} | |
887 | menuselect/menuselect --disable codec_ilbc --disable format_ilbc menuselect.makeopts | |
888 | %endif | |
889 | %if %{without ldap} | |
890 | menuselect/menuselect --disable res_config_ldap menuselect.makeopts | |
891 | %endif | |
892 | %if %{without bluetooth} | |
893 | menuselect/menuselect --disable chan_mobile menuselect.makeopts | |
894 | %endif | |
895 | %if %{without jack} | |
896 | menuselect/menuselect --disable app_jack menuselect.makeopts | |
897 | %endif | |
898 | %if %{without mysql} | |
899 | menuselect/menuselect --disable res_config_mysql --disable app_mysql --disable cdr_mysql menuselect.makeopts | |
900 | %endif | |
901 | %if %{without pgsql} | |
902 | menuselect/menuselect --disable res_config_pgsql --disable cdr_pgsql --disable cel_pgsql menuselect.makeopts | |
903 | %endif | |
904 | %if %{without odbc} | |
905 | menuselect/menuselect --disable res_odbc --disable res_config_odbc --disable cdr_odbc --disable cdr_adaptive_odbc --disable cel_odbc menuselect.makeopts | |
906 | %endif | |
907 | %if %{without radius} | |
908 | menuselect/menuselect --disable cdr_radius --disable cel_radius menuselect.makeopts | |
909 | %endif | |
910 | %if %{without pjsip} | |
911 | menuselect/menuselect --disable res_pjsip --disable chan_pjsip menuselect.makeopts | |
912 | %endif | |
d57ea64b | 913 | %if %{without opus_vp8} |
72f62f93 | 914 | menuselect/menuselect --disable codec_opus_open_source --disable format_ogg_opus_open_source menuselect.makeopts |
d57ea64b | 915 | %endif |
72f62f93 | 916 | |
98431d3e JK |
917 | %if %{with malloc_debug} |
918 | menuselect/menuselect --enable MALLOC_DEBUG menuselect.makeopts | |
919 | %else | |
72f62f93 | 920 | menuselect/menuselect --disable MALLOC_DEBUG menuselect.makeopts |
8fdff7d4 | 921 | %endif |
d0d7a116 | 922 | |
a0ec6f17 | 923 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=FILE_STORAGE/' menuselect.makeopts |
00222a62 JK |
924 | |
925 | menuselect/menuselect --enable app_voicemail menuselect.makeopts | |
926 | ||
98431d3e JK |
927 | menuselect/menuselect --check-deps menuselect.makeopts |
928 | ||
4661bb66 JK |
929 | # workaround for build failing with asterisk-devel not installed |
930 | ln -s libasteriskssl.so.1 ./main/libasteriskssl.so | |
931 | ||
a85df0e2 | 932 | %{__make} DEBUG= \ |
a149dc9c ER |
933 | OPTIMIZE= \ |
934 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
935 | ASTDATADIR=%{_datadir}/asterisk \ | |
936 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
937 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
fd02d532 | 938 | %{?with_verbose:NOISY_BUILD=yes} \ |
e621aa3e | 939 | |
9b9ec488 JB |
940 | %{__rm} apps/app_voicemail.o |
941 | %{__mv} apps/app_voicemail.so apps/app_voicemail_plain.so | |
a149dc9c ER |
942 | |
943 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=IMAP_STORAGE/' menuselect.makeopts | |
944 | %{__make} DEBUG= \ | |
945 | OPTIMIZE= \ | |
946 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
947 | ASTDATADIR=%{_datadir}/asterisk \ | |
948 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
949 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
950 | %{?with_verbose:NOISY_BUILD=yes} \ | |
951 | ||
9b9ec488 JB |
952 | %{__rm} apps/app_voicemail.o |
953 | %{__mv} apps/app_voicemail.so apps/app_voicemail_imap.so | |
a149dc9c | 954 | |
d0d7a116 | 955 | %if %{with odbc} |
a149dc9c ER |
956 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=ODBC_STORAGE/' menuselect.makeopts |
957 | %{__make} DEBUG= \ | |
958 | OPTIMIZE= \ | |
959 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
960 | ASTDATADIR=%{_datadir}/asterisk \ | |
961 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
962 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
963 | %{?with_verbose:NOISY_BUILD=yes} \ | |
964 | ||
9b9ec488 JB |
965 | %{__rm} apps/app_voicemail.o |
966 | %{__mv} apps/app_voicemail.so apps/app_voicemail_odbc.so | |
d0d7a116 | 967 | %endif |
a149dc9c ER |
968 | |
969 | # so that these modules don't get built again during the install phase | |
dc775619 JK |
970 | touch apps/app_voicemail.o |
971 | touch apps/app_voicemail.so | |
a149dc9c | 972 | |
750e5644 | 973 | %if %{with apidocs} |
a149dc9c ER |
974 | %{__make} progdocs \ |
975 | DEBUG= \ | |
976 | OPTIMIZE= \ | |
977 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
978 | ASTDATADIR=%{_datadir}/asterisk \ | |
979 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
980 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
981 | %{?with_verbose:NOISY_BUILD=yes} \ | |
750e5644 | 982 | %endif |
a149dc9c | 983 | |
8ac733fc PG |
984 | %install |
985 | rm -rf $RPM_BUILD_ROOT | |
27944e5a | 986 | install -d $RPM_BUILD_ROOT{/var/{log/asterisk/cdr-csv,spool/asterisk/monitor},/etc/{rc.d/init.d,sysconfig,logrotate.d}} \ |
4aac1f31 | 987 | $RPM_BUILD_ROOT{%{systemdunitdir},%{systemdtmpfilesdir},%{_mandir}/man1} |
8729ab54 | 988 | |
a9098aee | 989 | export ASTCFLAGS="%{rpmcflags}" |
7605fc79 | 990 | |
e5ecac90 | 991 | %{__make} -j1 install \ |
a9098aee ER |
992 | DEBUG= \ |
993 | OPTIMIZE= \ | |
994 | DESTDIR=$RPM_BUILD_ROOT \ | |
995 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
996 | ASTDATADIR=%{_datadir}/asterisk \ | |
997 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
998 | ASTDBDIR=%{_localstatedir}/spool/asterisk | |
48b81789 | 999 | |
e5ecac90 | 1000 | %{__make} -j1 samples \ |
a9098aee ER |
1001 | DEBUG= \ |
1002 | OPTIMIZE= \ | |
1003 | DESTDIR=$RPM_BUILD_ROOT \ | |
1004 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
1005 | ASTDATADIR=%{_datadir}/asterisk \ | |
1006 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
1007 | ASTDBDIR=%{_localstatedir}/spool/asterisk | |
1008 | ||
9b9ec488 | 1009 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/asterisk/modules/app_voicemail.so |
a9098aee | 1010 | install -D -p apps/app_voicemail_imap.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules |
d0d7a116 | 1011 | %if %{with odbc} |
a9098aee | 1012 | install -D -p apps/app_voicemail_odbc.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules |
d0d7a116 | 1013 | %endif |
a9098aee ER |
1014 | install -D -p apps/app_voicemail_plain.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules |
1015 | ||
1016 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} | |
1017 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} | |
30fc321d JK |
1018 | cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} |
1019 | install -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service | |
a9098aee | 1020 | |
4aac1f31 | 1021 | install %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf |
27944e5a | 1022 | |
a9098aee ER |
1023 | # create some directories that need to be packaged |
1024 | install -d $RPM_BUILD_ROOT%{_datadir}/asterisk/moh | |
1025 | install -d $RPM_BUILD_ROOT%{_datadir}/asterisk/sounds | |
4479f94d ER |
1026 | ln -s %{_localstatedir}/lib/asterisk/licenses $RPM_BUILD_ROOT%{_datadir}/asterisk/licenses |
1027 | ||
1028 | install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/asterisk/licenses | |
a9098aee ER |
1029 | install -d $RPM_BUILD_ROOT%{_localstatedir}/log/asterisk/cdr-custom |
1030 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/festival | |
1031 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/monitor | |
1032 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/outgoing | |
1033 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/uploads | |
1034 | ||
e67a0ea8 JK |
1035 | install utils/astman.1 $RPM_BUILD_ROOT%{_mandir}/man1/astman.1 |
1036 | ||
a9098aee | 1037 | # Don't package the sample voicemail user |
9b9ec488 | 1038 | %{__rm} -r $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/voicemail/default |
a9098aee ER |
1039 | |
1040 | # Don't package example phone provision configs | |
9b9ec488 | 1041 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/asterisk/phoneprov/* |
a9098aee | 1042 | |
622100af | 1043 | # we're not using safe_asterisk |
9b9ec488 JB |
1044 | %{__rm} $RPM_BUILD_ROOT%{_sbindir}/safe_asterisk |
1045 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/safe_asterisk.8* | |
622100af | 1046 | |
750e5644 | 1047 | %if %{with apidocs} |
216f94ae | 1048 | find doc/api -name '*.map' -size 0 -delete |
750e5644 | 1049 | %endif |
0adeb087 | 1050 | |
55dd3a99 | 1051 | # remove configuration files for components never built |
9b9ec488 | 1052 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{app_skel,config_test,misdn,ooh323,test_sorcery}.conf |
55dd3a99 JK |
1053 | |
1054 | # remove configuration files for disabled optional components | |
1055 | %if %{without corosync} | |
9b9ec488 | 1056 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_corosync.conf |
55dd3a99 | 1057 | %endif |
d0d7a116 | 1058 | %if %{without sqlite2} |
9b9ec488 | 1059 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_config_sqlite.conf |
d0d7a116 JK |
1060 | %endif |
1061 | %if %{without oss} | |
9b9ec488 | 1062 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/oss.conf |
d0d7a116 JK |
1063 | %endif |
1064 | %if %{without tds} | |
9b9ec488 | 1065 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{cdr,cel}_tds.conf |
d0d7a116 JK |
1066 | %endif |
1067 | %if %{without ldap} | |
9b9ec488 | 1068 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_ldap.conf |
d0d7a116 JK |
1069 | %endif |
1070 | %if %{without portaudio} | |
9b9ec488 | 1071 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/console.conf |
d0d7a116 JK |
1072 | %endif |
1073 | %if %{without bluetooth} | |
9b9ec488 | 1074 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/chan_mobile.conf |
d0d7a116 JK |
1075 | %endif |
1076 | %if %{without mysql} | |
9b9ec488 | 1077 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/res_config_mysql.conf |
d0d7a116 JK |
1078 | %endif |
1079 | %if %{without pgsql} | |
9b9ec488 | 1080 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{cdr,cel,res}_pgsql.conf |
d0d7a116 JK |
1081 | %endif |
1082 | %if %{without odbc} | |
9b9ec488 | 1083 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/{cdr{,_adaptive},cel,func,res}_odbc.conf |
d0d7a116 JK |
1084 | %endif |
1085 | %if %{without pjsip} | |
9b9ec488 | 1086 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/asterisk/pjsip{,_notify}.conf |
d0d7a116 | 1087 | %endif |
55dd3a99 | 1088 | |
9b9ec488 | 1089 | %{__rm} -r $RPM_BUILD_ROOT/usr/include/asterisk/doxygen |
858a15d0 | 1090 | |
a3afe3be JK |
1091 | # fix script interpreters |
1092 | %{__sed} -i -e '1s,^#!.*python,#!%{__python},' $RPM_BUILD_ROOT%{_datadir}/asterisk/scripts/* | |
1093 | %{__sed} -i -e '1s,^#!.*bash,#!/bin/bash,' $RPM_BUILD_ROOT%{_datadir}/asterisk/scripts/* | |
1094 | ||
de95e0fb JB |
1095 | %clean |
1096 | rm -rf $RPM_BUILD_ROOT | |
1097 | ||
a149dc9c ER |
1098 | %pre |
1099 | %groupadd -g 188 asterisk | |
1100 | %useradd -u 188 -r -s /sbin/nologin -d /var/lib/asterisk -M -c 'Asterisk User' -g asterisk asterisk | |
1101 | ||
1102 | %postun | |
1103 | if [ "$1" = 0 ]; then | |
a149dc9c | 1104 | %userremove asterisk |
1a59be60 | 1105 | %groupremove asterisk |
a149dc9c | 1106 | fi |
4aac1f31 | 1107 | %systemd_reload |
a149dc9c | 1108 | |
80067fcb | 1109 | %post |
1d77d860 | 1110 | /sbin/ldconfig |
80067fcb | 1111 | /sbin/chkconfig --add asterisk |
a149dc9c ER |
1112 | # use -n (NOOP) as restart would be breaking all current calls. |
1113 | %service -n asterisk restart "Asterisk daemon" | |
4aac1f31 | 1114 | %systemd_post %{name}.service |
80067fcb PG |
1115 | |
1116 | %preun | |
1117 | if [ "$1" = "0" ]; then | |
fa4054d8 | 1118 | %service asterisk stop |
80067fcb PG |
1119 | /sbin/chkconfig --del asterisk |
1120 | fi | |
4aac1f31 | 1121 | %systemd_preun %{name}.service |
80067fcb | 1122 | |
1a59be60 ER |
1123 | %triggerpostun -- %{name} < 1.6.1.12-0.1 |
1124 | # chown to asterisk previously root owned files | |
1125 | # loose one (not one that cames from rpm), as we're not trying to split the | |
1126 | # hair with file permission bits. | |
1127 | chown -R asterisk:asterisk /var/spool/asterisk | |
1128 | chown -R asterisk:asterisk /var/lib/asterisk | |
1129 | ||
4aac1f31 JK |
1130 | %triggerpostun -- %{name} < 12.0.0 |
1131 | %systemd_trigger %{name}.service | |
1132 | ||
8ac733fc PG |
1133 | %files |
1134 | %defattr(644,root,root,755) | |
638c9ed5 | 1135 | %doc README*.md *.txt ChangeLog CHANGES BUGS CREDITS configs LICENSE |
858a15d0 | 1136 | %doc doc/asterisk.sgml |
80ca5bbe | 1137 | |
80ca5bbe | 1138 | %attr(755,root,root) %{_sbindir}/astcanary |
3116fec3 AM |
1139 | %attr(755,root,root) %{_sbindir}/astdb2bdb |
1140 | %attr(755,root,root) %{_sbindir}/astdb2sqlite3 | |
80ca5bbe ER |
1141 | %attr(755,root,root) %{_sbindir}/asterisk |
1142 | %attr(755,root,root) %{_sbindir}/astgenkey | |
1fcbde87 | 1143 | %attr(755,root,root) %{_sbindir}/astversion |
80ca5bbe | 1144 | %attr(755,root,root) %{_sbindir}/autosupport |
80ca5bbe | 1145 | %attr(755,root,root) %{_sbindir}/rasterisk |
9ba434de JK |
1146 | %{_mandir}/man8/astdb2bdb.8* |
1147 | %{_mandir}/man8/astdb2sqlite3.8* | |
80ca5bbe ER |
1148 | %{_mandir}/man8/asterisk.8* |
1149 | %{_mandir}/man8/astgenkey.8* | |
1150 | %{_mandir}/man8/autosupport.8* | |
80ca5bbe | 1151 | |
87a2b1b8 | 1152 | %attr(754,root,root) /etc/rc.d/init.d/%{name} |
046a2286 | 1153 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name} |
87a2b1b8 | 1154 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} |
4aac1f31 | 1155 | %{systemdunitdir}/%{name}.service |
a149dc9c ER |
1156 | |
1157 | %attr(750,root,asterisk) %dir %{_sysconfdir}/asterisk | |
773473fa | 1158 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/acl.conf |
a149dc9c | 1159 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/adsi.conf |
a149dc9c ER |
1160 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/agents.conf |
1161 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/alarmreceiver.conf | |
1162 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/amd.conf | |
9ba434de | 1163 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ari.conf |
a149dc9c ER |
1164 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/asterisk.adsi |
1165 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/asterisk.conf | |
19aa7a49 | 1166 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ccss.conf |
a149dc9c ER |
1167 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr.conf |
1168 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_custom.conf | |
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 AM |
1171 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel.conf |
1172 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_custom.conf | |
a149dc9c | 1173 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cli.conf |
6bcc6351 ER |
1174 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cli_aliases.conf |
1175 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cli_permissions.conf | |
a149dc9c | 1176 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/codecs.conf |
3116fec3 | 1177 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/confbridge.conf |
a149dc9c ER |
1178 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dnsmgr.conf |
1179 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dsp.conf | |
1180 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dundi.conf | |
1181 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/enum.conf | |
1182 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extconfig.conf | |
1183 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.ael | |
1184 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.conf | |
1185 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/features.conf | |
1186 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/followme.conf | |
a149dc9c ER |
1187 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/iax.conf |
1188 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/iaxprov.conf | |
1189 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/indications.conf | |
1190 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/logger.conf | |
1191 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/manager.conf | |
1192 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/mgcp.conf | |
1193 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/modules.conf | |
1194 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/musiconhold.conf | |
1195 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/muted.conf | |
a149dc9c ER |
1196 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/phone.conf |
1197 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/phoneprov.conf | |
1198 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/queuerules.conf | |
1199 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/queues.conf | |
a4d69967 | 1200 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/resolver_unbound.conf |
9ba434de JK |
1201 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_parking.conf |
1202 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_pktccops.conf | |
f6b38539 | 1203 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_stun_monitor.conf |
a149dc9c ER |
1204 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/rtp.conf |
1205 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/say.conf | |
1206 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sip*.conf | |
1207 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sla.conf | |
1208 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/smdi.conf | |
9ba434de | 1209 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sorcery.conf |
00222a62 JK |
1210 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ss7.timers |
1211 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/stasis.conf | |
9ba434de | 1212 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/statsd.conf |
a149dc9c ER |
1213 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/telcordia-1.adsi |
1214 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/udptl.conf | |
1215 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/users.conf | |
1216 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/vpb.conf | |
1217 | ||
638c9ed5 JK |
1218 | %attr(755,root,root) %{_libdir}/libasteriskssl.so.1 |
1219 | %if %{without system_pjproject} && %{with pjsip} | |
1220 | %attr(755,root,root) %{_libdir}/libasteriskpj.so.2 | |
1221 | %endif | |
9ba434de | 1222 | |
8ac733fc PG |
1223 | %dir %{_libdir}/asterisk |
1224 | %dir %{_libdir}/asterisk/modules | |
a149dc9c ER |
1225 | |
1226 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_adsiprog.so | |
9ba434de | 1227 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_agent_pool.so |
a149dc9c ER |
1228 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_alarmreceiver.so |
1229 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_amd.so | |
1230 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_authenticate.so | |
a4d69967 | 1231 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_bridgeaddchan.so |
9ba434de | 1232 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_bridgewait.so |
a149dc9c | 1233 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_cdr.so |
f6b38539 | 1234 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_celgenuserevent.so |
a149dc9c ER |
1235 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_chanisavail.so |
1236 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_channelredirect.so | |
1237 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_chanspy.so | |
6bcc6351 | 1238 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_confbridge.so |
a149dc9c ER |
1239 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_controlplayback.so |
1240 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_db.so | |
1241 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dial.so | |
1242 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dictate.so | |
1243 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_directed_pickup.so | |
dc775619 | 1244 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_directory.so |
a149dc9c ER |
1245 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_disa.so |
1246 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dumpchan.so | |
1247 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_echo.so | |
1248 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_exec.so | |
1249 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_externalivr.so | |
1250 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_followme.so | |
1251 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_forkcdr.so | |
1252 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_getcpeid.so | |
1253 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_image.so | |
1254 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_macro.so | |
1255 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_milliwatt.so | |
1256 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_mixmonitor.so | |
1257 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_morsecode.so | |
750e5644 | 1258 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_mp3.so |
a149dc9c | 1259 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_nbscat.so |
6bcc6351 | 1260 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_originate.so |
a149dc9c | 1261 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_playback.so |
6bcc6351 | 1262 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_playtones.so |
a149dc9c ER |
1263 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_privacy.so |
1264 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_queue.so | |
9ae79e90 | 1265 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_read.so |
a149dc9c | 1266 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_readexten.so |
a149dc9c | 1267 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_record.so |
00222a62 | 1268 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_saycounted.so |
a149dc9c ER |
1269 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sayunixtime.so |
1270 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_senddtmf.so | |
1271 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sendtext.so | |
00222a62 | 1272 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_setcallerid.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 ER |
1306 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_mgcp.so |
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 | |
1322 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_jpeg.so | |
a149dc9c | 1323 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_pcm.so |
6bcc6351 ER |
1324 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_siren14.so |
1325 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_siren7.so | |
750e5644 | 1326 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_sln.so |
a149dc9c | 1327 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_vox.so |
4dd6f92b JK |
1328 | %if %{with opus_vp8} |
1329 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_vp8.so | |
1330 | %endif | |
a149dc9c | 1331 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_wav.so |
6bcc6351 | 1332 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_aes.so |
a149dc9c ER |
1333 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_audiohookinherit.so |
1334 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_base64.so | |
1335 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_blacklist.so | |
f6b38539 | 1336 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_callcompletion.so |
a149dc9c ER |
1337 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_callerid.so |
1338 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_cdr.so | |
1339 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_channel.so | |
1340 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_config.so | |
1341 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_cut.so | |
1342 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_db.so | |
1343 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_devstate.so | |
1344 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_dialgroup.so | |
1345 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_dialplan.so | |
1346 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_enum.so | |
1347 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_env.so | |
1348 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_extstate.so | |
f6b38539 | 1349 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_frame_trace.so |
a149dc9c ER |
1350 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_global.so |
1351 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_groupcount.so | |
9ba434de | 1352 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_hangupcause.so |
1fcbde87 | 1353 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_holdintercept.so |
a149dc9c | 1354 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_iconv.so |
3116fec3 | 1355 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_jitterbuffer.so |
a149dc9c ER |
1356 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_lock.so |
1357 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_logic.so | |
1358 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_math.so | |
1359 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_md5.so | |
1360 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_module.so | |
00222a62 | 1361 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_periodic_hook.so |
f6b38539 | 1362 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pitchshift.so |
9ba434de | 1363 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_presencestate.so |
a149dc9c ER |
1364 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_rand.so |
1365 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_realtime.so | |
1366 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sha1.so | |
1367 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_shell.so | |
449aabd8 | 1368 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sorcery.so |
6bcc6351 | 1369 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sprintf.so |
f6b38539 | 1370 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_srv.so |
a149dc9c ER |
1371 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_strings.so |
1372 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sysinfo.so | |
adfe2370 | 1373 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_talkdetect.so |
a149dc9c ER |
1374 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_timeout.so |
1375 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_uri.so | |
1376 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_version.so | |
1377 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_volume.so | |
1378 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_ael.so | |
1379 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_config.so | |
1380 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_dundi.so | |
1381 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_loopback.so | |
1382 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_realtime.so | |
1383 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_spool.so | |
1384 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_adsi.so | |
1385 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ael_share.so | |
1386 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_agi.so | |
9ba434de JK |
1387 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari.so |
1388 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_applications.so | |
1389 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_asterisk.so | |
1390 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_bridges.so | |
1391 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_channels.so | |
1392 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_device_states.so | |
1393 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_endpoints.so | |
1394 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_events.so | |
1395 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_model.so | |
1396 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_playbacks.so | |
1397 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_recordings.so | |
1398 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ari_sounds.so | |
9ba434de | 1399 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_chan_stats.so |
6bcc6351 | 1400 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_clialiases.so |
a149dc9c ER |
1401 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_clioriginate.so |
1402 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_convert.so | |
1403 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_crypto.so | |
1fcbde87 | 1404 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_endpoint_stats.so |
3116fec3 | 1405 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_celt.so |
3af47890 | 1406 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_g729.so |
9ba434de JK |
1407 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_h263.so |
1408 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_h264.so | |
1409 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_opus.so | |
3116fec3 | 1410 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_silk.so |
539eff8e JK |
1411 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_siren14.so |
1412 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_siren7.so | |
4dd6f92b JK |
1413 | %if %{with opus_vp8} |
1414 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_vp8.so | |
1415 | %endif | |
a4d69967 | 1416 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_http_media_cache.so |
9ba434de | 1417 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_http_websocket.so |
a149dc9c | 1418 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_limit.so |
00222a62 JK |
1419 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_manager_devicestate.so |
1420 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_manager_presencestate.so | |
a149dc9c | 1421 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_monitor.so |
f6b38539 | 1422 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_mutestream.so |
a149dc9c | 1423 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_musiconhold.so |
77fea154 JK |
1424 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_mwi_external.so |
1425 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_mwi_external_ami.so | |
9ba434de | 1426 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_parking.so |
a149dc9c | 1427 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_phoneprov.so |
0f0650bc | 1428 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pktccops.so |
a149dc9c | 1429 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_realtime.so |
a4d69967 | 1430 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_resolver_unbound.so |
7bb98ca7 | 1431 | # res_rtp_asterisk.so pulls some pjproject libs, but it still looks like a core module |
f6b38539 AM |
1432 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_rtp_asterisk.so |
1433 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_rtp_multicast.so | |
ebc676cd | 1434 | #%attr(755,root,root) %{_libdir}/asterisk/modules/res_sdp_translator_pjmedia.so |
f6b38539 | 1435 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_security_log.so |
a149dc9c | 1436 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_smdi.so |
9ba434de JK |
1437 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_astdb.so |
1438 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_config.so | |
1439 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_memory.so | |
36a8b721 | 1440 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_memory_cache.so |
9ba434de | 1441 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_sorcery_realtime.so |
a149dc9c | 1442 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_speech.so |
b89d2618 | 1443 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_srtp.so |
9ba434de JK |
1444 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis.so |
1445 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_answer.so | |
1446 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_device_state.so | |
1447 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_playback.so | |
1448 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_recording.so | |
1449 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stasis_snoop.so | |
f6b38539 | 1450 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_stun_monitor.so |
a149dc9c | 1451 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_pthread.so |
6bcc6351 | 1452 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_timerfd.so |
9ba434de | 1453 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_statsd.so |
4aac1f31 | 1454 | %{systemdtmpfilesdir}/%{name}.conf |
46bc3da8 | 1455 | |
80ca5bbe ER |
1456 | %dir %{_datadir}/asterisk |
1457 | %dir %{_datadir}/asterisk/agi-bin | |
1458 | %dir %{_datadir}/asterisk/firmware | |
1459 | %dir %{_datadir}/asterisk/firmware/iax | |
1460 | %dir %{_datadir}/asterisk/images | |
1461 | %dir %{_datadir}/asterisk/moh | |
1462 | %dir %{_datadir}/asterisk/sounds | |
1463 | %dir %attr(750,root,asterisk) %{_datadir}/asterisk/keys | |
1a59be60 | 1464 | # no need to protect publicly downloaded and packaged .pub |
e5ecac90 | 1465 | #%{_datadir}/asterisk/keys/*.pub |
80ca5bbe | 1466 | %{_datadir}/asterisk/images/*.jpg |
80ca5bbe | 1467 | %{_datadir}/asterisk/phoneprov |
4479f94d | 1468 | %{_datadir}/asterisk/licenses |
80ca5bbe | 1469 | |
6b3f4b56 JK |
1470 | %dir %{_datadir}/asterisk/documentation |
1471 | %{_datadir}/asterisk/documentation/appdocsxml.dtd | |
9ba434de | 1472 | %{_datadir}/asterisk/documentation/appdocsxml.xslt |
6b3f4b56 JK |
1473 | %{_datadir}/asterisk/documentation/core-en_US.xml |
1474 | ||
9ba434de JK |
1475 | %dir %{_datadir}/asterisk/rest-api |
1476 | %{_datadir}/asterisk/rest-api/*.json | |
1477 | ||
a3afe3be JK |
1478 | %dir %{_datadir}/asterisk/scripts |
1479 | ||
80ca5bbe | 1480 | %attr(770,root,asterisk) %dir %{_localstatedir}/lib/asterisk |
4479f94d | 1481 | %dir %attr(750,root,asterisk) %{_localstatedir}/lib/asterisk/licenses |
80ca5bbe ER |
1482 | |
1483 | %attr(770,root,asterisk) %dir %{_localstatedir}/log/asterisk | |
1484 | %attr(770,root,asterisk) %dir %{_localstatedir}/log/asterisk/cdr-csv | |
1485 | %attr(770,root,asterisk) %dir %{_localstatedir}/log/asterisk/cdr-custom | |
1486 | ||
1487 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk | |
1488 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/monitor | |
1489 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/outgoing | |
1490 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/tmp | |
1491 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/uploads | |
1492 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/voicemail | |
1493 | ||
1494 | %attr(775,root,asterisk) %dir %{_localstatedir}/run/asterisk | |
8ac733fc | 1495 | |
a149dc9c ER |
1496 | %files devel |
1497 | %defattr(644,root,root,755) | |
9b9ec488 | 1498 | %attr(755,root,root) %{_libdir}/libasteriskssl.so |
638c9ed5 JK |
1499 | %if %{without system_pjproject} && %{with pjsip} |
1500 | %attr(755,root,root) %{_libdir}/libasteriskpj.so | |
1501 | %endif | |
a149dc9c ER |
1502 | %dir %{_includedir}/asterisk |
1503 | %{_includedir}/asterisk/*.h | |
1504 | %{_includedir}/asterisk.h | |
1505 | ||
750e5644 | 1506 | %if %{with apidocs} |
a149dc9c ER |
1507 | %files apidocs |
1508 | %defattr(644,root,root,755) | |
216f94ae | 1509 | %doc doc/api/* |
750e5644 | 1510 | %endif |
a149dc9c | 1511 | |
00222a62 JK |
1512 | %files utils |
1513 | %defattr(644,root,root,755) | |
1514 | %attr(755,root,root) %{_sbindir}/aelparse | |
1515 | %attr(755,root,root) %{_sbindir}/conf2ael | |
1516 | %attr(755,root,root) %{_sbindir}/muted | |
1517 | %attr(755,root,root) %{_sbindir}/smsq | |
1518 | %attr(755,root,root) %{_sbindir}/stereorize | |
1519 | %attr(755,root,root) %{_sbindir}/streamplayer | |
1520 | ||
e67a0ea8 JK |
1521 | %files astman |
1522 | %defattr(644,root,root,755) | |
1523 | %attr(755,root,root) %{_sbindir}/astman | |
1524 | %{_mandir}/man1/astman.1* | |
1525 | ||
a149dc9c ER |
1526 | %files alsa |
1527 | %defattr(644,root,root,755) | |
1528 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/alsa.conf | |
1529 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_alsa.so | |
1530 | ||
d0d7a116 | 1531 | %if %{with bluetooth} |
427194db JK |
1532 | %files bluetooth |
1533 | %defattr(644,root,root,755) | |
1534 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/chan_mobile.conf | |
1535 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_mobile.so | |
d0d7a116 | 1536 | %endif |
427194db | 1537 | |
16b28270 JK |
1538 | %files calendar |
1539 | %defattr(644,root,root,755) | |
1540 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/calendar.conf | |
1541 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar.so | |
1542 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_caldav.so | |
1543 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_ews.so | |
1544 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_exchange.so | |
1545 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_calendar_icalendar.so | |
1546 | ||
a149dc9c ER |
1547 | %files curl |
1548 | %defattr(644,root,root,755) | |
1549 | %doc contrib/scripts/dbsep.cgi | |
1550 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dbsep.conf | |
19aa7a49 | 1551 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_curl.conf |
a149dc9c ER |
1552 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_curl.so |
1553 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_curl.so | |
1554 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_curl.so | |
1555 | ||
1556 | %files dahdi | |
8ac733fc | 1557 | %defattr(644,root,root,755) |
a149dc9c ER |
1558 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/meetme.conf |
1559 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/chan_dahdi.conf | |
00222a62 | 1560 | %{_datadir}/dahdi/span_config.d/40-asterisk |
a149dc9c | 1561 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dahdiras.so |
9ae79e90 ER |
1562 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_flash.so |
1563 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_meetme.so | |
1564 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_page.so | |
a149dc9c ER |
1565 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_dahdi.so |
1566 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_dahdi.so | |
1567 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_dahdi.so | |
1568 | ||
a149dc9c ER |
1569 | %files fax |
1570 | %defattr(644,root,root,755) | |
e5ecac90 AM |
1571 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_fax.conf |
1572 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_fax.so | |
1573 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_fax_spandsp.so | |
a149dc9c ER |
1574 | |
1575 | %files festival | |
1576 | %defattr(644,root,root,755) | |
1577 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/festival.conf | |
4fa818dd | 1578 | %attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/festival |
a149dc9c | 1579 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_festival.so |
91beb87f | 1580 | |
622100af ER |
1581 | %files gsm |
1582 | %defattr(644,root,root,755) | |
1583 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_gsm.so | |
1584 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_gsm.so | |
1585 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_wav_gsm.so | |
1586 | ||
622100af ER |
1587 | %files http |
1588 | %defattr(644,root,root,755) | |
1589 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/http.conf | |
1590 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_http_post.so | |
1591 | %{_datadir}/asterisk/static-http | |
1592 | ||
a149dc9c ER |
1593 | %files ices |
1594 | %defattr(644,root,root,755) | |
1595 | %doc contrib/asterisk-ices.xml | |
1596 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_ices.so | |
1597 | ||
d0d7a116 | 1598 | %if %{with ilbc} |
7960382f JK |
1599 | %files ilbc |
1600 | %defattr(644,root,root,755) | |
1601 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_ilbc.so | |
1602 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_ilbc.so | |
a4d69967 | 1603 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_format_attr_ilbc.so |
d0d7a116 | 1604 | %endif |
7960382f | 1605 | |
a149dc9c ER |
1606 | %files jabber |
1607 | %defattr(644,root,root,755) | |
9ba434de JK |
1608 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/motif.conf |
1609 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/xmpp.conf | |
9ba434de | 1610 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_motif.so |
9ba434de | 1611 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_xmpp.so |
a149dc9c | 1612 | |
d0d7a116 | 1613 | %if %{with jack} |
a149dc9c ER |
1614 | %files jack |
1615 | %defattr(644,root,root,755) | |
4fa818dd | 1616 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_jack.so |
d0d7a116 | 1617 | %endif |
a149dc9c ER |
1618 | |
1619 | %files lua | |
1620 | %defattr(644,root,root,755) | |
1621 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.lua | |
8c44d5b7 | 1622 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_lua.so |
a149dc9c | 1623 | |
d0d7a116 | 1624 | %if %{with ldap} |
a149dc9c ER |
1625 | %files ldap |
1626 | %defattr(644,root,root,755) | |
a149dc9c ER |
1627 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_ldap.conf |
1628 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_ldap.so | |
1629 | ||
4fa818dd | 1630 | %if 0 |
a149dc9c ER |
1631 | %files ldap-fds |
1632 | %defattr(644,root,root,755) | |
4fa818dd ER |
1633 | %{_sysconfdir}/dirsrv/schema/99asterisk.ldif |
1634 | %endif | |
d0d7a116 | 1635 | %endif |
a149dc9c | 1636 | |
622100af ER |
1637 | %files lpc10 |
1638 | %defattr(644,root,root,755) | |
1639 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_lpc10.so | |
1640 | ||
a149dc9c ER |
1641 | %files minivm |
1642 | %defattr(644,root,root,755) | |
1643 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions_minivm.conf | |
1644 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/minivm.conf | |
1645 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_minivm.so | |
1646 | ||
d0d7a116 | 1647 | %if %{with mysql} |
4a45c9f9 JK |
1648 | %files mysql |
1649 | %defattr(644,root,root,755) | |
00222a62 JK |
1650 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/app_mysql.conf |
1651 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_mysql.conf | |
4a45c9f9 | 1652 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_mysql.conf |
00222a62 JK |
1653 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_mysql.so |
1654 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_mysql.so | |
4a45c9f9 | 1655 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_mysql.so |
d0d7a116 | 1656 | %endif |
4a45c9f9 | 1657 | |
d0d7a116 | 1658 | %if %{with odbc} |
a149dc9c ER |
1659 | %files odbc |
1660 | %defattr(644,root,root,755) | |
1661 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_adaptive_odbc.conf | |
1662 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_odbc.conf | |
19aa7a49 | 1663 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_odbc.conf |
a149dc9c ER |
1664 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/func_odbc.conf |
1665 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_odbc.conf | |
1666 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_adaptive_odbc.so | |
1667 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_odbc.so | |
19aa7a49 | 1668 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_odbc.so |
a149dc9c ER |
1669 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_odbc.so |
1670 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_odbc.so | |
1671 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_odbc.so | |
77fea154 | 1672 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_odbc_transaction.so |
d0d7a116 | 1673 | %endif |
a149dc9c | 1674 | |
d3c4ccdf JK |
1675 | %if %{with opus_vp8} |
1676 | %files opus | |
1677 | %defattr(644,root,root,755) | |
1678 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_ogg_opus_open_source.so | |
1679 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_opus_open_source.so | |
1680 | %endif | |
1681 | ||
8639c8ed AM |
1682 | %files osp |
1683 | %defattr(644,root,root,755) | |
1684 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/osp.conf | |
1685 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_osplookup.so | |
385eff93 | 1686 | |
d0d7a116 | 1687 | %if %{with oss} |
a149dc9c ER |
1688 | %files oss |
1689 | %defattr(644,root,root,755) | |
1690 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/oss.conf | |
1691 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_oss.so | |
d0d7a116 | 1692 | %endif |
a149dc9c | 1693 | |
d0d7a116 | 1694 | %if %{with pjsip} |
7bb98ca7 JK |
1695 | %files pjsip |
1696 | %defattr(644,root,root,755) | |
77fea154 | 1697 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjproject.conf |
7bb98ca7 JK |
1698 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjsip.conf |
1699 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjsip_notify.conf | |
ab850b30 | 1700 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/pjsip_wizard.conf |
449aabd8 | 1701 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/hep.conf |
7bb98ca7 | 1702 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_pjsip.so |
ab850b30 JK |
1703 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pjsip_aor.so |
1704 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pjsip_contact.so | |
7bb98ca7 | 1705 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_pjsip_endpoint.so |
449aabd8 GP |
1706 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_hep.so |
1707 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_hep_pjsip.so | |
7c2a5293 | 1708 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_hep_rtcp.so |
77fea154 | 1709 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjproject.so |
7bb98ca7 JK |
1710 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_acl.so |
1711 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_authenticator_digest.so | |
1712 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_caller_id.so | |
ab850b30 | 1713 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_config_wizard.so |
adfe2370 | 1714 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_dialog_info_body_generator.so |
7bb98ca7 | 1715 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_diversion.so |
66c2633b | 1716 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_dlg_options.so |
7bb98ca7 | 1717 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_dtmf_info.so |
d47b9e53 | 1718 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_empty_info.so |
7bb98ca7 JK |
1719 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_endpoint_identifier_anonymous.so |
1720 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_endpoint_identifier_ip.so | |
1721 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_endpoint_identifier_user.so | |
1722 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_exten_state.so | |
1723 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_header_funcs.so | |
77fea154 | 1724 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_history.so |
7bb98ca7 JK |
1725 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_logger.so |
1726 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_messaging.so | |
954aa047 | 1727 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_mwi_body_generator.so |
77fea154 | 1728 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_mwi.so |
7bb98ca7 JK |
1729 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_nat.so |
1730 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_notify.so | |
1731 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_one_touch_record_info.so | |
1732 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_outbound_authenticator_digest.so | |
00222a62 | 1733 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_outbound_publish.so |
7bb98ca7 | 1734 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_outbound_registration.so |
954aa047 | 1735 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_path.so |
685d1c98 | 1736 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_phoneprov_provider.so |
954aa047 | 1737 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pidf_body_generator.so |
449aabd8 | 1738 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pidf_digium_body_supplement.so |
954aa047 | 1739 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pidf_eyebeam_body_supplement.so |
00222a62 | 1740 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_publish_asterisk.so |
7bb98ca7 JK |
1741 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_pubsub.so |
1742 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_refer.so | |
7bb98ca7 | 1743 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_registrar_expire.so |
77fea154 | 1744 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_registrar.so |
7bb98ca7 JK |
1745 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_rfc3326.so |
1746 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_sdp_rtp.so | |
449aabd8 | 1747 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_send_to_voicemail.so |
7bb98ca7 | 1748 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_session.so |
ab850b30 | 1749 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_sips_contact.so |
77fea154 | 1750 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip.so |
7bb98ca7 JK |
1751 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_t38.so |
1752 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_transport_websocket.so | |
954aa047 | 1753 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_pjsip_xpidf_body_generator.so |
d0d7a116 | 1754 | %endif |
7bb98ca7 | 1755 | |
d0d7a116 | 1756 | %if %{with portaudio} |
a149dc9c ER |
1757 | %files portaudio |
1758 | %defattr(644,root,root,755) | |
1759 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/console.conf | |
1760 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_console.so | |
d0d7a116 | 1761 | %endif |
a149dc9c | 1762 | |
d0d7a116 | 1763 | %if %{with pgsql} |
a149dc9c ER |
1764 | %files postgresql |
1765 | %defattr(644,root,root,755) | |
1766 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_pgsql.conf | |
19aa7a49 | 1767 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_pgsql.conf |
a149dc9c | 1768 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_pgsql.conf |
449aabd8 GP |
1769 | %doc contrib/realtime/postgresql/postgresql_cdr.sql |
1770 | %doc contrib/realtime/postgresql/postgresql_config.sql | |
9b9ec488 | 1771 | %doc contrib/realtime/postgresql/postgresql_voicemail.sql |
a149dc9c | 1772 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_pgsql.so |
19aa7a49 | 1773 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_pgsql.so |
a149dc9c | 1774 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_pgsql.so |
d0d7a116 | 1775 | %endif |
a149dc9c | 1776 | |
d0d7a116 | 1777 | %if %{with radius} |
a149dc9c ER |
1778 | %files radius |
1779 | %defattr(644,root,root,755) | |
1780 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_radius.so | |
19aa7a49 | 1781 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_radius.so |
d0d7a116 | 1782 | %endif |
a149dc9c | 1783 | |
622100af ER |
1784 | %files resample |
1785 | %defattr(644,root,root,755) | |
1786 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_resample.so | |
1787 | ||
a149dc9c ER |
1788 | %files skinny |
1789 | %defattr(644,root,root,755) | |
1790 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/skinny.conf | |
1791 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_skinny.so | |
1792 | ||
1793 | %files snmp | |
1794 | %defattr(644,root,root,755) | |
a149dc9c ER |
1795 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_snmp.conf |
1796 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_snmp.so | |
a149dc9c | 1797 | |
622100af ER |
1798 | %files speex |
1799 | %defattr(644,root,root,755) | |
1800 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_speex.so | |
a4d69967 | 1801 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_ogg_speex.so |
622100af ER |
1802 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_speex.so |
1803 | ||
d0d7a116 | 1804 | %if %{with sqlite2} |
b267d965 JK |
1805 | %files sqlite2 |
1806 | %defattr(644,root,root,755) | |
1807 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_sqlite.conf | |
1808 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_sqlite.so | |
d0d7a116 | 1809 | %endif |
b267d965 JK |
1810 | |
1811 | %files sqlite3 | |
a149dc9c ER |
1812 | %defattr(644,root,root,755) |
1813 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_sqlite3_custom.conf | |
19aa7a49 | 1814 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_sqlite3_custom.conf |
9ba434de | 1815 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_config_sqlite3.conf |
a149dc9c | 1816 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_sqlite3_custom.so |
19aa7a49 | 1817 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_sqlite3_custom.so |
9ba434de | 1818 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_sqlite3.so |
a149dc9c | 1819 | |
d0d7a116 | 1820 | %if %{with tds} |
a149dc9c ER |
1821 | %files tds |
1822 | %defattr(644,root,root,755) | |
1823 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_tds.conf | |
19aa7a49 | 1824 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cel_tds.conf |
a149dc9c | 1825 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_tds.so |
19aa7a49 | 1826 | %attr(755,root,root) %{_libdir}/asterisk/modules/cel_tds.so |
d0d7a116 | 1827 | %endif |
a149dc9c ER |
1828 | |
1829 | %files unistim | |
1830 | %defattr(644,root,root,755) | |
a149dc9c ER |
1831 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/unistim.conf |
1832 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_unistim.so | |
1833 | ||
a149dc9c ER |
1834 | |
1835 | %files voicemail | |
1836 | %defattr(644,root,root,755) | |
1837 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/voicemail.conf | |
1838 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_vmcount.so | |
1839 | ||
1840 | %files voicemail-imap | |
1841 | %defattr(644,root,root,755) | |
a9098aee | 1842 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_imap.so |
a149dc9c | 1843 | |
d0d7a116 | 1844 | %if %{with odbc} |
a149dc9c ER |
1845 | %files voicemail-odbc |
1846 | %defattr(644,root,root,755) | |
a9098aee | 1847 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_odbc.so |
d0d7a116 | 1848 | %endif |
a149dc9c ER |
1849 | |
1850 | %files voicemail-plain | |
1851 | %defattr(644,root,root,755) | |
a9098aee | 1852 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_plain.so |
622100af ER |
1853 | |
1854 | %files vorbis | |
1855 | %defattr(644,root,root,755) | |
1856 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_ogg_vorbis.so | |
a3afe3be JK |
1857 | |
1858 | %files debug-tools | |
1859 | %defattr(644,root,root,755) | |
1860 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ast_debug_tools.conf | |
1861 | %attr(755,root,root) %{_datadir}/asterisk/scripts/ast_coredumper | |
1862 | %attr(755,root,root) %{_datadir}/asterisk/scripts/ast_logescalator | |
1863 | %attr(755,root,root) %{_datadir}/asterisk/scripts/ast_loggrabber | |
1864 | %attr(755,root,root) %{_datadir}/asterisk/scripts/refcounter.py |