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