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