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