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