]>
Commit | Line | Data |
---|---|---|
8ac733fc | 1 | # TODO: |
a149dc9c | 2 | # - asterisk uid/gid |
8ac733fc | 3 | # - cgi-bin package - separate, because of suid-root |
ac237e7b | 4 | # - separate plugins into packages |
80067fcb | 5 | # - use shared versions of lpc10, gsm,... |
dd54f70d | 6 | # - CFLAGS passing |
7605fc79 AM |
7 | # - fix bluetooth patch |
8 | # - package commandline tools (aelparse etc.) | |
6889aefb | 9 | # - system mxml |
5d89ea99 ER |
10 | # - ~/.asterisk_history gets encoded with \xxx on exit, each time yet again |
11 | # - openh323 is missing regardless of BR, see http://pld.pastebin.com/f7f84c312 | |
a149dc9c ER |
12 | # - libpath: |
13 | # /usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread | |
14 | # /usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread | |
15 | # /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc | |
16 | # /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc | |
fb0589cb JB |
17 | # |
18 | # Conditional build: | |
a149dc9c | 19 | %bcond_with rxfax # without rx (also tx:-D) fax |
55ddc12f | 20 | %bcond_with bluetooth # without bluetooth support (NFT) |
8e72a4f9 | 21 | %bcond_with zhone # zhone hack |
22 | %bcond_with zhone_hack # huge hack workarounding broken zhone channel banks which start randomly | |
54701db5 | 23 | # issuing pulse-dialled calls to weird numbers |
55ddc12f JB |
24 | %bcond_with bristuff # BRIstuff (Junghanns.NET BRI adapters) support |
25 | %bcond_with verbose # verbose build | |
0adeb087 ER |
26 | |
27 | %define spandsp_version 0.0.2pre26 | |
a9098aee | 28 | %define rel 0.7 |
8ac733fc | 29 | Summary: Asterisk PBX |
3dd43888 | 30 | Summary(pl.UTF-8): Centralka (PBX) Asterisk |
8ac733fc | 31 | Name: asterisk |
46bc3da8 | 32 | Version: 1.6.1.12 |
0adeb087 | 33 | Release: %{rel}%{?with_bristuff:.bristuff} |
8ac733fc PG |
34 | License: GPL v2 |
35 | Group: Applications/System | |
8c1b5e50 | 36 | Source0: http://downloads.digium.com/pub/asterisk/releases/%{name}-%{version}.tar.gz |
46bc3da8 | 37 | # Source0-md5: d6bc1448b8fa274a2acaef1b15f4d485 |
48b81789 PG |
38 | Source1: %{name}.init |
39 | Source2: %{name}.sysconfig | |
046a2286 | 40 | Source5: %{name}.logrotate |
0adeb087 | 41 | Source10: http://soft-switch.org/downloads/spandsp/spandsp-%{spandsp_version}/asterisk-1.2.x/app_txfax.c |
cc19124a | 42 | # Source10-md5: 8c8fcb263b76897022b4c28052a7b439 |
0adeb087 | 43 | Source11: http://soft-switch.org/downloads/spandsp/spandsp-%{spandsp_version}/asterisk-1.2.x/app_rxfax.c |
cc19124a | 44 | # Source11-md5: ab6983b51c412883545b36993d704999 |
0303e2bb JR |
45 | Patch2: %{name}-no_k6_on_sparc.patch |
46 | Patch3: %{name}-lib.patch | |
47 | Patch4: %{name}-ppc.patch | |
6889aefb ER |
48 | Patch5: external-libedit.patch |
49 | Patch6: pkg-config-gmime.patch | |
50 | Patch7: FHS-paths.patch | |
0adeb087 | 51 | # http://soft-switch.org/downloads/spandsp/spandsp-%{spandsp_version}/asterisk-1.2.x/apps_Makefile.patch |
19b2566c | 52 | Patch10: %{name}-txfax-Makefile.patch |
7605fc79 | 53 | Patch12: %{name}-chan_bluetooth.patch |
36a72b9c | 54 | Patch13: %{name}-zhone.patch |
8c851fd1 | 55 | # http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/patches/bristuff |
9d92ff08 | 56 | Patch14: %{name}-bristuff.patch |
3facd2d9 AM |
57 | Patch15: %{name}-bristuff-build.patch |
58 | Patch16: %{name}-bristuff-libpri.patch | |
8c7a2ffa | 59 | URL: http://www.asterisk.org/ |
8c1b5e50 | 60 | BuildRequires: OSPToolkit |
7e588411 | 61 | BuildRequires: SDL_image-devel |
8c1b5e50 | 62 | BuildRequires: alsa-lib-devel |
7605fc79 AM |
63 | BuildRequires: autoconf |
64 | BuildRequires: automake | |
7346b8fc | 65 | BuildRequires: bison |
7605fc79 | 66 | %{?with_bluetooth:BuildRequires: bluez-devel} |
7e588411 | 67 | BuildRequires: curl-devel |
8e72a4f9 | 68 | BuildRequires: dahdi-linux-devel |
a149dc9c | 69 | BuildRequires: dahdi-tools-devel >= 2.0.0 |
8e72a4f9 | 70 | BuildRequires: freetds-devel >= 0.63 |
7346b8fc | 71 | BuildRequires: gawk |
19b2566c | 72 | BuildRequires: gcc >= 5:3.4 |
8e72a4f9 | 73 | BuildRequires: gmime22-devel |
7605fc79 | 74 | BuildRequires: iksemel-devel |
6889aefb | 75 | BuildRequires: imap-devel |
8c1b5e50 | 76 | BuildRequires: jack-audio-connection-kit-devel |
8e72a4f9 | 77 | BuildRequires: libcap-devel |
5d89ea99 | 78 | BuildRequires: libedit-devel |
8c1b5e50 | 79 | BuildRequires: libogg-devel |
7e588411 | 80 | BuildRequires: libvorbis-devel |
8e72a4f9 | 81 | BuildRequires: mISDNuser-devel |
82475f50 PG |
82 | BuildRequires: mysql-devel |
83 | BuildRequires: ncurses-devel | |
8c1b5e50 AM |
84 | BuildRequires: net-snmp-devel |
85 | BuildRequires: newt-devel | |
8e72a4f9 | 86 | BuildRequires: openais-devel |
87 | BuildRequires: openh323-devel | |
8c1b5e50 | 88 | BuildRequires: openldap-devel |
12ec33bf | 89 | BuildRequires: openssl-devel >= 0.9.7d |
8e72a4f9 | 90 | BuildRequires: pam-devel |
91 | BuildRequires: pkgconfig | |
8c1b5e50 | 92 | BuildRequires: popt-devel |
a149dc9c | 93 | BuildRequires: portaudio-devel >= 19 |
8e72a4f9 | 94 | BuildRequires: postgresql-devel |
95 | BuildRequires: pwlib-devel | |
96 | BuildRequires: radiusclient-ng-devel | |
fa4054d8 | 97 | BuildRequires: rpmbuild(macros) >= 1.268 |
591f7fb9 | 98 | BuildRequires: sed >= 4.0 |
8e72a4f9 | 99 | BuildRequires: spandsp-devel |
a149dc9c | 100 | %{?with_rxfax:BuildRequires: spandsp-devel >= %{spandsp_version}} |
fa4054d8 | 101 | BuildRequires: speex-devel |
8e72a4f9 | 102 | BuildRequires: sqlite-devel |
8c1b5e50 | 103 | BuildRequires: sqlite3-devel |
8e72a4f9 | 104 | BuildRequires: unixODBC-devel |
7e588411 | 105 | BuildRequires: xorg-lib-libX11-devel |
8e72a4f9 | 106 | BuildRequires: zlib-devel |
a149dc9c ER |
107 | Requires(postun): /usr/sbin/groupdel |
108 | Requires(postun): /usr/sbin/userdel | |
109 | Requires(pre): /bin/id | |
110 | Requires(pre): /usr/bin/getgid | |
111 | Requires(pre): /usr/sbin/groupadd | |
112 | Requires(pre): /usr/sbin/useradd | |
113 | Provides: group(asterisk) | |
114 | Provides: user(asterisk) | |
9d92ff08 | 115 | %if %{with bristuff} |
6cd0c1d6 | 116 | BuildRequires: libgsmat-devel |
9d92ff08 | 117 | BuildRequires: libpri-bristuff-devel >= 1.2.4 |
fd02d532 | 118 | %else |
a149dc9c | 119 | BuildRequires: libpri-devel >= 1.4.6 |
9d92ff08 | 120 | %endif |
b9bcfe5b | 121 | Requires(post,preun): /sbin/chkconfig |
a149dc9c ER |
122 | %if %{with fc} |
123 | BuildRequires: libresample-devel | |
124 | BuildRequires: libss7-devel >= 1.0.1 | |
125 | BuildRequires: libtool-ltdl-devel | |
126 | BuildRequires: libusb-devel | |
127 | BuildRequires: lm_sensors-devel | |
128 | BuildRequires: lua-devel | |
129 | BuildRequires: mISDN-devel | |
130 | %endif | |
fa4054d8 | 131 | Requires: rc-scripts |
8ac733fc PG |
132 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
133 | ||
134 | %description | |
135 | Asterisk is an Open Source PBX and telephony development platform that | |
136 | can both replace a conventional PBX and act as a platform for | |
137 | developing custom telephony applications for delivering dynamic | |
138 | content over a telephone similarly to how one can deliver dynamic | |
139 | content through a web browser using CGI and a web server. | |
140 | ||
141 | Asterisk talks to a variety of telephony hardware including BRI, PRI, | |
142 | POTS, and IP telephony clients using the Inter-Asterisk eXchange | |
143 | protocol (e.g. gnophone or miniphone). For more information and a | |
8c7a2ffa | 144 | current list of supported hardware, see http://www.asterisk.org/. |
de95e0fb | 145 | |
82de9d0d JR |
146 | %description -l pl.UTF-8 |
147 | Asterisk to wolnodostępna centralka (PBX) i platforma programistyczna | |
148 | dla telefonii, mogąca zastąpić konwencjonalne PBX-y oraz służyć jako | |
149 | platforma do rozwijania własnych aplikacji telefonicznych do | |
150 | przekazywania dynamicznej treści przez telefon, podobnie jak można | |
151 | przekazywać dynamiczną treść przez przeglądarkę WWW przy użyciu CGI i | |
de95e0fb JB |
152 | serwera WWW. |
153 | ||
82de9d0d JR |
154 | Asterisk współpracuje z wielorakim sprzętem telefonicznym, w tym BRI, |
155 | PRI, POTS oraz klienty telefonii IP używające protokołu Inter-Asterisk | |
156 | eXchange (np. gnophone lub miniphone). Więcej informacji i listę | |
157 | obsługiwanego sprzętu można znaleźć pod http://www.asterisk.org/. | |
8ac733fc PG |
158 | |
159 | %package devel | |
de95e0fb | 160 | Summary: Header files for Asterisk platform |
3dd43888 | 161 | Summary(pl.UTF-8): Pliki nagłówkowe platformy Asterisk |
8ac733fc | 162 | Group: Development |
8ac733fc PG |
163 | |
164 | %description devel | |
de95e0fb | 165 | Header files for Asterisk development platform. |
8ac733fc | 166 | |
82de9d0d JR |
167 | %description devel -l pl.UTF-8 |
168 | Pliki nagłówkowe platformy programistycznej Asterisk. | |
8ac733fc | 169 | |
a149dc9c ER |
170 | %package apidocs |
171 | Summary: API documentation for Asterisk | |
172 | Group: Documentation | |
173 | ||
174 | %description apidocs | |
175 | API documentation for Asterisk. | |
176 | ||
a149dc9c ER |
177 | %package ais |
178 | Summary: Modules for Asterisk that use OpenAIS | |
179 | Group: Applications/Networking | |
180 | Requires: %{name} = %{version}-%{release} | |
181 | ||
182 | %description ais | |
183 | Modules for Asterisk that use OpenAIS. | |
184 | ||
185 | %package alsa | |
186 | Summary: Modules for Asterisk that use Alsa sound drivers | |
187 | Group: Applications/Networking | |
188 | Requires: %{name} = %{version}-%{release} | |
189 | ||
190 | %description alsa | |
191 | Modules for Asterisk that use Alsa sound drivers. | |
192 | ||
193 | %package curl | |
194 | Summary: Modules for Asterisk that use cURL | |
195 | Group: Applications/Networking | |
196 | Requires: %{name} = %{version}-%{release} | |
197 | ||
198 | %description curl | |
199 | Modules for Asterisk that use cURL. | |
200 | ||
201 | %package dahdi | |
202 | Summary: Modules for Asterisk that use DAHDI | |
203 | Group: Applications/Networking | |
204 | Requires(pre): /usr/sbin/usermod | |
205 | Requires: %{name} = %{version}-%{release} | |
206 | Requires: dahdi-tools >= 2.0.0 | |
207 | ||
208 | %description dahdi | |
209 | Modules for Asterisk that use DAHDI. | |
210 | ||
211 | %package fax | |
212 | Summary: FAX applications for Asterisk | |
213 | Group: Applications/Networking | |
214 | Requires: %{name} = %{version}-%{release} | |
215 | ||
216 | %description fax | |
217 | FAX applications for Asterisk | |
218 | ||
219 | %package festival | |
220 | Summary: Festival application for Asterisk | |
221 | Group: Applications/Networking | |
222 | Requires: %{name} = %{version}-%{release} | |
223 | Requires: festival | |
224 | ||
225 | %description festival | |
226 | Application for the Asterisk PBX that uses Festival to convert text to | |
227 | speech. | |
228 | ||
229 | %package ices | |
230 | Summary: Stream audio from Asterisk to an IceCast server | |
231 | Group: Applications/Networking | |
232 | Requires: %{name} = %{version}-%{release} | |
233 | Requires: ices | |
234 | Obsoletes: asterisk < 1.4.18-1 | |
235 | Conflicts: asterisk < 1.4.18-1 | |
236 | ||
237 | %description ices | |
238 | Stream audio from Asterisk to an IceCast server. | |
239 | ||
240 | %package jabber | |
241 | Summary: Jabber/XMPP resources for Asterisk | |
242 | Group: Applications/Networking | |
243 | Requires: %{name} = %{version}-%{release} | |
244 | ||
245 | %description jabber | |
246 | Jabber/XMPP resources for Asterisk. | |
247 | ||
248 | %package jack | |
249 | Summary: JACK resources for Asterisk | |
250 | Group: Applications/Networking | |
251 | Requires: %{name} = %{version}-%{release} | |
252 | ||
253 | %description jack | |
254 | JACK resources for Asterisk. | |
255 | ||
256 | %package lua | |
257 | Summary: Lua resources for Asterisk | |
258 | Group: Applications/Networking | |
259 | Requires: %{name} = %{version}-%{release} | |
260 | ||
261 | %description lua | |
262 | Lua resources for Asterisk. | |
263 | ||
264 | %package ldap | |
265 | Summary: LDAP resources for Asterisk | |
266 | Group: Applications/Networking | |
267 | Requires: %{name} = %{version}-%{release} | |
268 | ||
269 | %description ldap | |
270 | LDAP resources for Asterisk. | |
271 | ||
272 | %package ldap-fds | |
273 | Summary: LDAP resources for Asterisk and the Fedora Directory Server | |
274 | Group: Applications/Networking | |
275 | Requires: %{name} = %{version}-%{release} | |
276 | Requires: %{name}-ldap = %{version}-%{release} | |
277 | Requires: fedora-ds-base | |
278 | ||
279 | %description ldap-fds | |
280 | LDAP resources for Asterisk and the Fedora Directory Server. | |
281 | ||
282 | %package misdn | |
283 | Summary: mISDN channel for Asterisk | |
284 | Group: Applications/Networking | |
285 | Requires(pre): /usr/sbin/usermod | |
286 | Requires: %{name} = %{version}-%{release} | |
287 | ||
288 | %description misdn | |
289 | mISDN channel for Asterisk. | |
290 | ||
291 | %package minivm | |
292 | Summary: MiniVM applicaton for Asterisk | |
293 | Group: Applications/Networking | |
294 | Requires: %{name} = %{version}-%{release} | |
295 | ||
296 | %description minivm | |
297 | MiniVM application for Asterisk. | |
298 | ||
299 | %package odbc | |
300 | Summary: Applications for Asterisk that use ODBC (except voicemail) | |
301 | Group: Applications/Networking | |
302 | Requires: %{name} = %{version}-%{release} | |
303 | ||
304 | %description odbc | |
305 | Applications for Asterisk that use ODBC (except voicemail) | |
306 | ||
307 | %package oss | |
308 | Summary: Modules for Asterisk that use OSS sound drivers | |
309 | Group: Applications/Networking | |
310 | Requires: %{name} = %{version}-%{release} | |
311 | ||
312 | %description oss | |
313 | Modules for Asterisk that use OSS sound drivers. | |
314 | ||
315 | %package portaudio | |
316 | Summary: Modules for Asterisk that use the portaudio library | |
317 | Group: Applications/Networking | |
318 | Requires: %{name} = %{version}-%{release} | |
319 | ||
320 | %description portaudio | |
321 | Modules for Asterisk that use the portaudio library. | |
322 | ||
323 | %package postgresql | |
324 | Summary: Applications for Asterisk that use PostgreSQL | |
325 | Group: Applications/Networking | |
326 | Requires: %{name} = %{version}-%{release} | |
327 | ||
328 | %description postgresql | |
329 | Applications for Asterisk that use PostgreSQL. | |
330 | ||
331 | %package radius | |
332 | Summary: Applications for Asterisk that use RADIUS | |
333 | Group: Applications/Networking | |
334 | Requires: %{name} = %{version}-%{release} | |
335 | ||
336 | %description radius | |
337 | Applications for Asterisk that use RADIUS. | |
338 | ||
339 | %package skinny | |
340 | Summary: Modules for Asterisk that support the SCCP/Skinny protocol | |
341 | Group: Applications/Networking | |
342 | Requires: %{name} = %{version}-%{release} | |
343 | ||
344 | %description skinny | |
345 | Modules for Asterisk that support the SCCP/Skinny protocol. | |
346 | ||
347 | %package snmp | |
348 | Summary: Module that enables SNMP monitoring of Asterisk | |
349 | Group: Applications/Networking | |
350 | Requires: %{name} = %{version}-%{release} | |
351 | ||
352 | %description snmp | |
353 | Module that enables SNMP monitoring of Asterisk. | |
354 | ||
355 | %package sqlite | |
356 | Summary: Sqlite modules for Asterisk | |
357 | Group: Applications/Networking | |
358 | Requires: %{name} = %{version}-%{release} | |
359 | ||
360 | %description sqlite | |
361 | Sqlite modules for Asterisk. | |
362 | ||
363 | %package tds | |
364 | Summary: Modules for Asterisk that use FreeTDS | |
365 | Group: Applications/Networking | |
366 | Requires: %{name} = %{version}-%{release} | |
367 | ||
368 | %description tds | |
369 | Modules for Asterisk that use FreeTDS. | |
370 | ||
371 | %package unistim | |
372 | Summary: Unistim channel for Asterisk | |
373 | Group: Applications/Networking | |
374 | Requires: %{name} = %{version}-%{release} | |
375 | ||
376 | %description unistim | |
377 | Unistim channel for Asterisk | |
378 | ||
379 | %package usbradio | |
380 | Summary: USB radio channel for Asterisk | |
381 | Group: Applications/Networking | |
382 | Requires: %{name} = %{version}-%{release} | |
383 | ||
384 | %description usbradio | |
385 | Unistim channel for Asterisk | |
386 | ||
387 | %package voicemail | |
388 | Summary: Common Voicemail Modules for Asterisk | |
389 | Group: Applications/Networking | |
390 | Requires: %{name} = %{version}-%{release} | |
391 | Requires: %{name}-voicemail-implementation = %{version}-%{release} | |
392 | Requires: /usr/lib/sendmail | |
393 | Requires: sox | |
394 | ||
395 | %description voicemail | |
396 | Common Voicemail Modules for Asterisk. | |
397 | ||
398 | %package voicemail-imap | |
399 | Summary: Store voicemail on an IMAP server | |
400 | Group: Applications/Networking | |
401 | Requires: %{name} = %{version}-%{release} | |
402 | Requires: %{name}-voicemail = %{version}-%{release} | |
403 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
404 | ||
405 | %description voicemail-imap | |
406 | Voicemail implementation for Asterisk that stores voicemail on an IMAP | |
407 | server. | |
408 | ||
409 | %package voicemail-odbc | |
410 | Summary: Store voicemail in a database using ODBC | |
411 | Group: Applications/Networking | |
412 | Requires: %{name} = %{version}-%{release} | |
413 | Requires: %{name}-voicemail = %{version}-%{release} | |
414 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
415 | ||
416 | %description voicemail-odbc | |
417 | Voicemail implementation for Asterisk that uses ODBC to store | |
418 | voicemail in a database. | |
419 | ||
420 | %package voicemail-plain | |
421 | Summary: Store voicemail on the local filesystem | |
422 | Group: Applications/Networking | |
423 | Requires: %{name} = %{version}-%{release} | |
424 | Requires: %{name}-voicemail = %{version}-%{release} | |
425 | Provides: %{name}-voicemail-implementation = %{version}-%{release} | |
426 | ||
427 | %description voicemail-plain | |
428 | Voicemail implementation for Asterisk that stores voicemail on the | |
429 | local filesystem. | |
430 | ||
8ac733fc | 431 | %prep |
8e72a4f9 | 432 | %setup -q |
5d89ea99 ER |
433 | %patch2 -p1 |
434 | %patch3 -p1 | |
0303e2bb | 435 | %patch4 -p1 |
6889aefb ER |
436 | %patch5 -p0 |
437 | %patch6 -p0 | |
438 | %patch7 -p0 | |
8ac733fc | 439 | |
5d89ea99 ER |
440 | %if %{with zhone} |
441 | sed -i -e 's|.*#define.*ZHONE_HACK.*|#define ZHONE_HACK 1|g' channels/chan_zap.c | |
442 | %endif | |
443 | ||
496d7f51 | 444 | %if %{with rxfax} |
445 | cd apps | |
19b2566c | 446 | %patch10 -p0 |
fa4054d8 ER |
447 | cp %{SOURCE10} . |
448 | cp %{SOURCE11} . | |
496d7f51 | 449 | %endif |
450 | ||
9d92ff08 AM |
451 | %{?with_bluetooth:%patch12 -p1} |
452 | %{?with_zhonehack:%patch13 -p1} | |
5d89ea99 | 453 | |
fd02d532 AM |
454 | %if %{with bristuff} |
455 | %patch14 -p1 | |
456 | %patch15 -p1 | |
3facd2d9 | 457 | %patch16 -p1 |
fd02d532 | 458 | %endif |
36a72b9c | 459 | |
a149dc9c ER |
460 | # Fixup makefile so sound archives aren't downloaded/installed |
461 | %{__sed} -i -e 's/^all:.*$/all:/' sounds/Makefile | |
462 | %{__sed} -i -e 's/^install:.*$/install:/' sounds/Makefile | |
463 | ||
5d89ea99 | 464 | # avoid using it |
6889aefb | 465 | rm -rf imap |
6db22ae5 | 466 | |
8ac733fc | 467 | %build |
dd54f70d | 468 | rm -f pbx/.depend |
3074f789 | 469 | |
8c1b5e50 | 470 | %{__aclocal} -I autoconf |
6cd0c1d6 | 471 | %{__autoheader} |
7605fc79 AM |
472 | %{__autoconf} |
473 | ||
a149dc9c | 474 | export ASTCFLAGS="%{rpmcflags}" |
8e72a4f9 | 475 | export CPPFLAGS="%{rpmcppflags} -I/usr/include/openh323" |
476 | export WGET="/bin/true" | |
6889aefb ER |
477 | |
478 | # be sure to invoke ./configure with our flags | |
479 | cd menuselect/mxml | |
480 | %configure2_13 | |
481 | cd ../../ | |
482 | ||
483 | cd menuselect | |
484 | %{__aclocal} | |
485 | %{__autoheader} | |
486 | %{__autoconf} | |
487 | %configure | |
488 | cd .. | |
489 | ||
490 | cd main/editline | |
491 | %configure2_13 | |
492 | cd ../.. | |
493 | ||
6db22ae5 | 494 | %configure \ |
6cd0c1d6 | 495 | %{?with_bristuff:--with-gsmat=%{_prefix}} \ |
6889aefb ER |
496 | --with-imap=system \ |
497 | --with-gsm=/usr \ | |
498 | --with-libedit=yes | |
7605fc79 | 499 | |
71a03315 AM |
500 | # safe checks |
501 | %{?with_bristuff:grep '^#define HAVE_GSMAT 1' include/asterisk/autoconfig.h || exit 1} | |
502 | ||
7605fc79 AM |
503 | cp -f .cleancount .lastclean |
504 | ||
a149dc9c ER |
505 | %{__make} DEBUG= \ |
506 | OPTIMIZE= \ | |
507 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
508 | ASTDATADIR=%{_datadir}/asterisk \ | |
509 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
510 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
fd02d532 | 511 | %{?with_verbose:NOISY_BUILD=yes} \ |
e621aa3e | 512 | |
a149dc9c ER |
513 | rm apps/app_voicemail.o apps/app_directory.o |
514 | mv apps/app_voicemail.so apps/app_voicemail_plain.so | |
515 | mv apps/app_directory.so apps/app_directory_plain.so | |
516 | ||
517 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=IMAP_STORAGE/' menuselect.makeopts | |
518 | %{__make} DEBUG= \ | |
519 | OPTIMIZE= \ | |
520 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
521 | ASTDATADIR=%{_datadir}/asterisk \ | |
522 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
523 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
524 | %{?with_verbose:NOISY_BUILD=yes} \ | |
525 | ||
526 | rm apps/app_voicemail.o apps/app_directory.o | |
527 | mv apps/app_voicemail.so apps/app_voicemail_imap.so | |
528 | mv apps/app_directory.so apps/app_directory_imap.so | |
529 | ||
530 | %{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=ODBC_STORAGE/' menuselect.makeopts | |
531 | %{__make} DEBUG= \ | |
532 | OPTIMIZE= \ | |
533 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
534 | ASTDATADIR=%{_datadir}/asterisk \ | |
535 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
536 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
537 | %{?with_verbose:NOISY_BUILD=yes} \ | |
538 | ||
539 | rm apps/app_voicemail.o apps/app_directory.o | |
540 | mv apps/app_voicemail.so apps/app_voicemail_odbc.so | |
541 | mv apps/app_directory.so apps/app_directory_odbc.so | |
542 | ||
543 | # so that these modules don't get built again during the install phase | |
544 | touch apps/app_voicemail.o apps/app_directory.o | |
545 | touch apps/app_voicemail.so apps/app_directory.so | |
546 | ||
547 | # it requires doxygen - I don't know if we should do this... | |
548 | # - ??? | |
549 | %{__make} progdocs \ | |
550 | DEBUG= \ | |
551 | OPTIMIZE= \ | |
552 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
553 | ASTDATADIR=%{_datadir}/asterisk \ | |
554 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
555 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
556 | %{?with_verbose:NOISY_BUILD=yes} \ | |
557 | ||
558 | %{__make} \ | |
559 | DEBUG= \ | |
560 | OPTIMIZE= \ | |
561 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
562 | ASTDATADIR=%{_datadir}/asterisk \ | |
563 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
564 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
fd02d532 | 565 | %{?with_verbose:NOISY_BUILD=yes} \ |
2d4cecf8 AM |
566 | CHANNEL_LIBS+=chan_bluetooth.so || : |
567 | ||
0adeb087 | 568 | # rerun needed; asterisk wants that |
a149dc9c ER |
569 | %{__make} \ |
570 | DEBUG= \ | |
571 | OPTIMIZE= \ | |
572 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
573 | ASTDATADIR=%{_datadir}/asterisk \ | |
574 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
575 | ASTDBDIR=%{_localstatedir}/spool/asterisk \ | |
fd02d532 | 576 | %{?with_verbose:NOISY_BUILD=yes} \ |
e621aa3e | 577 | CHANNEL_LIBS+=chan_bluetooth.so |
39a285f2 | 578 | |
7db48369 AM |
579 | # safe checks |
580 | %{?with_bristuff:objdump -p channels/chan_zap.so | grep -qE 'NEEDED +libgsmat\.so' || exit 1} | |
581 | ||
8ac733fc PG |
582 | %install |
583 | rm -rf $RPM_BUILD_ROOT | |
046a2286 | 584 | install -d $RPM_BUILD_ROOT{/var/{log/asterisk/cdr-csv,spool/asterisk/monitor},/etc/{rc.d/init.d,sysconfig,logrotate.d}} |
8729ab54 | 585 | |
a9098aee | 586 | export ASTCFLAGS="%{rpmcflags}" |
7605fc79 | 587 | |
d54a6170 | 588 | %{__make} -j1 install \ |
87a2b1b8 | 589 | DESTDIR=$RPM_BUILD_ROOT |
d54a6170 | 590 | %{__make} -j1 samples \ |
a838f328 | 591 | DESTDIR=$RPM_BUILD_ROOT |
39a285f2 | 592 | |
a9098aee ER |
593 | %{__make} install \ |
594 | DEBUG= \ | |
595 | OPTIMIZE= \ | |
596 | DESTDIR=$RPM_BUILD_ROOT \ | |
597 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
598 | ASTDATADIR=%{_datadir}/asterisk \ | |
599 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
600 | ASTDBDIR=%{_localstatedir}/spool/asterisk | |
48b81789 | 601 | |
a9098aee ER |
602 | %{__make} samples \ |
603 | DEBUG= \ | |
604 | OPTIMIZE= \ | |
605 | DESTDIR=$RPM_BUILD_ROOT \ | |
606 | ASTVARRUNDIR=%{_localstatedir}/run/asterisk \ | |
607 | ASTDATADIR=%{_datadir}/asterisk \ | |
608 | ASTVARLIBDIR=%{_datadir}/asterisk \ | |
609 | ASTDBDIR=%{_localstatedir}/spool/asterisk | |
610 | ||
611 | rm $RPM_BUILD_ROOT%{_libdir}/asterisk/modules/app_directory.so | |
612 | rm $RPM_BUILD_ROOT%{_libdir}/asterisk/modules/app_voicemail.so | |
613 | install -D -p apps/app_directory_imap.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules | |
614 | install -D -p apps/app_voicemail_imap.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules | |
615 | install -D -p apps/app_directory_odbc.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules | |
616 | install -D -p apps/app_voicemail_odbc.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules | |
617 | install -D -p apps/app_directory_plain.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules | |
618 | install -D -p apps/app_voicemail_plain.so $RPM_BUILD_ROOT%{_libdir}/asterisk/modules | |
619 | ||
620 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name} | |
621 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name} | |
622 | cp -a %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/%{name} | |
623 | install -D -p doc/asterisk-mib.txt $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/ASTERISK-MIB.txt | |
624 | install -D -p doc/digium-mib.txt $RPM_BUILD_ROOT%{_datadir}/snmp/mibs/DIGIUM-MIB.txt | |
625 | ||
626 | # create some directories that need to be packaged | |
627 | install -d $RPM_BUILD_ROOT%{_datadir}/asterisk/moh | |
628 | install -d $RPM_BUILD_ROOT%{_datadir}/asterisk/sounds | |
629 | install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/asterisk | |
630 | install -d $RPM_BUILD_ROOT%{_localstatedir}/log/asterisk/cdr-custom | |
631 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/festival | |
632 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/monitor | |
633 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/outgoing | |
634 | install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/uploads | |
635 | ||
636 | # We're not going to package any of the sample AGI scripts | |
637 | rm -f $RPM_BUILD_ROOT%{_datadir}/asterisk/agi-bin/* | |
638 | ||
639 | # Don't package the sample voicemail user | |
640 | rm -rf $RPM_BUILD_ROOT%{_localstatedir}/spool/asterisk/voicemail/default | |
641 | ||
642 | # Don't package example phone provision configs | |
643 | rm -rf $RPM_BUILD_ROOT%{_datadir}/asterisk/phoneprov/* | |
644 | ||
645 | # these are compiled with -O0 and thus include unfortified code. | |
646 | rm -rf $RPM_BUILD_ROOT%{_sbindir}/hashtest | |
647 | rm -rf $RPM_BUILD_ROOT%{_sbindir}/hashtest2 | |
648 | ||
649 | rm -rf $RPM_BUILD_ROOT%{_datadir}/asterisk/firmware/iax/* | |
650 | ||
651 | find doc/api/html -name '*.map' -size 0 -delete | |
0adeb087 | 652 | |
de95e0fb JB |
653 | %clean |
654 | rm -rf $RPM_BUILD_ROOT | |
655 | ||
a149dc9c ER |
656 | %pre |
657 | %groupadd -g 188 asterisk | |
658 | %useradd -u 188 -r -s /sbin/nologin -d /var/lib/asterisk -M -c 'Asterisk User' -g asterisk asterisk | |
659 | ||
660 | %postun | |
661 | if [ "$1" = 0 ]; then | |
662 | %groupremove asterisk | |
663 | %userremove asterisk | |
664 | fi | |
665 | ||
666 | %pre dahdi | |
667 | /usr/sbin/usermod -a -G dahdi asterisk | |
668 | ||
669 | %pre misdn | |
670 | /usr/sbin/usermod -a -G misdn asterisk | |
671 | ||
80067fcb PG |
672 | %post |
673 | /sbin/chkconfig --add asterisk | |
a149dc9c ER |
674 | # use -n (NOOP) as restart would be breaking all current calls. |
675 | %service -n asterisk restart "Asterisk daemon" | |
80067fcb PG |
676 | |
677 | %preun | |
678 | if [ "$1" = "0" ]; then | |
fa4054d8 | 679 | %service asterisk stop |
80067fcb PG |
680 | /sbin/chkconfig --del asterisk |
681 | fi | |
682 | ||
8ac733fc PG |
683 | %files |
684 | %defattr(644,root,root,755) | |
a149dc9c ER |
685 | %doc README* *.txt ChangeLog BUGS CREDITS configs |
686 | %doc doc/{asterisk.sgml,PEERING} doc/{backtrace,callfiles,externalivr,macroexclusive,manager_1_1,modules,queue}.txt | |
687 | %doc doc/{rtp-packetization,siptls,smdi,sms,speechrec,ss7,video}.txt | |
de95e0fb | 688 | %attr(755,root,root) %{_sbindir}/* |
87a2b1b8 | 689 | %attr(754,root,root) /etc/rc.d/init.d/%{name} |
046a2286 | 690 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name} |
87a2b1b8 | 691 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} |
a149dc9c ER |
692 | |
693 | %attr(750,root,asterisk) %dir %{_sysconfdir}/asterisk | |
694 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/adsi.conf | |
695 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/adtranvofr.conf | |
696 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/agents.conf | |
697 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/alarmreceiver.conf | |
698 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/amd.conf | |
699 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/asterisk.adsi | |
700 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/asterisk.conf | |
701 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr.conf | |
702 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_custom.conf | |
703 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_manager.conf | |
704 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cli.conf | |
705 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/codecs.conf | |
706 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dnsmgr.conf | |
707 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dsp.conf | |
708 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dundi.conf | |
709 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/enum.conf | |
710 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extconfig.conf | |
711 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.ael | |
712 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.conf | |
713 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/features.conf | |
714 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/followme.conf | |
715 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/h323.conf | |
716 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/http.conf | |
717 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/iax.conf | |
718 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/iaxprov.conf | |
719 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/indications.conf | |
720 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/logger.conf | |
721 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/manager.conf | |
722 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/mgcp.conf | |
723 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/modules.conf | |
724 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/musiconhold.conf | |
725 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/muted.conf | |
726 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/osp.conf | |
727 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/phone.conf | |
728 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/phoneprov.conf | |
729 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/queuerules.conf | |
730 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/queues.conf | |
731 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/rpt.conf | |
732 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/rtp.conf | |
733 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/say.conf | |
734 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sip*.conf | |
735 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/sla.conf | |
736 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/smdi.conf | |
737 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/telcordia-1.adsi | |
738 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/udptl.conf | |
739 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/users.conf | |
740 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/vpb.conf | |
741 | ||
8ac733fc PG |
742 | %dir %{_libdir}/asterisk |
743 | %dir %{_libdir}/asterisk/modules | |
a149dc9c ER |
744 | |
745 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_adsiprog.so | |
746 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_alarmreceiver.so | |
747 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_amd.so | |
748 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_authenticate.so | |
749 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_cdr.so | |
750 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_chanisavail.so | |
751 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_channelredirect.so | |
752 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_chanspy.so | |
753 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_controlplayback.so | |
754 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_db.so | |
755 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dial.so | |
756 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dictate.so | |
757 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_directed_pickup.so | |
758 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_disa.so | |
759 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dumpchan.so | |
760 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_echo.so | |
761 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_exec.so | |
762 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_externalivr.so | |
763 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_followme.so | |
764 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_forkcdr.so | |
765 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_getcpeid.so | |
766 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_image.so | |
767 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_macro.so | |
768 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_milliwatt.so | |
769 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_mixmonitor.so | |
770 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_morsecode.so | |
771 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_nbscat.so | |
772 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_parkandannounce.so | |
773 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_playback.so | |
774 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_privacy.so | |
775 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_queue.so | |
776 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_readexten.so | |
777 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_readfile.so | |
778 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_read.so | |
779 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_record.so | |
780 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sayunixtime.so | |
781 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_senddtmf.so | |
782 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sendtext.so | |
783 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_setcallerid.so | |
784 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_sms.so | |
785 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_softhangup.so | |
786 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_speech_utils.so | |
787 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_stack.so | |
788 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_system.so | |
789 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_talkdetect.so | |
790 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_test.so | |
791 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_transfer.so | |
792 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_url.so | |
793 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_userevent.so | |
794 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_verbose.so | |
795 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_waitforring.so | |
796 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_waitforsilence.so | |
797 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_waituntil.so | |
798 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_while.so | |
799 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_zapateller.so | |
800 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_csv.so | |
801 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_custom.so | |
802 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_manager.so | |
803 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_agent.so | |
804 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_iax2.so | |
805 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_local.so | |
806 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_mgcp.so | |
807 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_phone.so | |
808 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_sip.so | |
809 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_adpcm.so | |
810 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_alaw.so | |
811 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_a_mu.so | |
812 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_g722.so | |
813 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_g726.so | |
814 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_gsm.so | |
815 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_lpc10.so | |
816 | #%attr(755,root,root) %{_libdir}/asterisk/modules/codec_resample.so | |
817 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_speex.so | |
818 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_ulaw.so | |
819 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g723.so | |
820 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g726.so | |
821 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_g729.so | |
822 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_gsm.so | |
823 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_h263.so | |
824 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_h264.so | |
825 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_jpeg.so | |
826 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_ogg_vorbis.so | |
827 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_pcm.so | |
828 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_sln.so | |
829 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_sln16.so | |
830 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_vox.so | |
831 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_wav_gsm.so | |
832 | %attr(755,root,root) %{_libdir}/asterisk/modules/format_wav.so | |
833 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_audiohookinherit.so | |
834 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_base64.so | |
835 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_blacklist.so | |
836 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_callerid.so | |
837 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_cdr.so | |
838 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_channel.so | |
839 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_config.so | |
840 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_cut.so | |
841 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_db.so | |
842 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_devstate.so | |
843 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_dialgroup.so | |
844 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_dialplan.so | |
845 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_enum.so | |
846 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_env.so | |
847 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_extstate.so | |
848 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_global.so | |
849 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_groupcount.so | |
850 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_iconv.so | |
851 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_lock.so | |
852 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_logic.so | |
853 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_math.so | |
854 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_md5.so | |
855 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_module.so | |
856 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_rand.so | |
857 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_realtime.so | |
858 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sha1.so | |
859 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_shell.so | |
860 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_speex.so | |
861 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_strings.so | |
862 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_sysinfo.so | |
863 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_timeout.so | |
864 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_uri.so | |
865 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_version.so | |
866 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_volume.so | |
867 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_ael.so | |
868 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_config.so | |
869 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_dundi.so | |
870 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_loopback.so | |
871 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_realtime.so | |
872 | %attr(755,root,root) %{_libdir}/asterisk/modules/pbx_spool.so | |
873 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_adsi.so | |
874 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ael_share.so | |
875 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_agi.so | |
876 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_clioriginate.so | |
877 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_convert.so | |
878 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_crypto.so | |
879 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_indications.so | |
880 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_http_post.so | |
881 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_limit.so | |
882 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_monitor.so | |
883 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_musiconhold.so | |
884 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_phoneprov.so | |
885 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_realtime.so | |
886 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_smdi.so | |
887 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_speech.so | |
888 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_pthread.so | |
889 | #%attr(755,root,root) %{_libdir}/asterisk/modules/test_dlinklists.so | |
890 | #%attr(755,root,root) %{_libdir}/asterisk/modules/test_heap.so | |
46bc3da8 | 891 | |
8ac733fc PG |
892 | %dir /var/lib/asterisk |
893 | %dir /var/lib/asterisk/agi-bin | |
a9098aee ER |
894 | %dir /usr/share/asterisk/images |
895 | %dir /usr/share/asterisk/keys | |
896 | ||
897 | /usr/share/asterisk/images/*.jpg | |
898 | /usr/share/asterisk/keys/*.pub | |
4c95d3c2 | 899 | /var/lib/asterisk/phoneprov |
a9098aee | 900 | /usr/share/asterisk/static-http |
8ac733fc | 901 | %dir /var/spool/asterisk |
9b09fef6 | 902 | %dir /var/spool/asterisk/monitor |
a0ad6913 | 903 | %dir /var/spool/asterisk/voicemail |
8729ab54 | 904 | %dir /var/log/asterisk |
1f0eb408 | 905 | %dir /var/log/asterisk/cdr-csv |
591f7fb9 | 906 | %{_mandir}/man8/asterisk.8* |
f5a8d2bc | 907 | %{_mandir}/man8/astgenkey.8* |
908 | %{_mandir}/man8/autosupport.8* | |
909 | %{_mandir}/man8/safe_asterisk.8* | |
d8121cb9 | 910 | %dir /var/lib/asterisk/firmware |
911 | %dir /var/lib/asterisk/firmware/iax | |
46bc3da8 | 912 | #/var/lib/asterisk/firmware/iax/iaxy.bin |
8ac733fc | 913 | |
a149dc9c ER |
914 | %files devel |
915 | %defattr(644,root,root,755) | |
916 | %doc doc/{CODING-GUIDELINES,{datastores,modules,valgrind}.txt} | |
917 | %dir %{_includedir}/asterisk | |
918 | %{_includedir}/asterisk/*.h | |
919 | %{_includedir}/asterisk.h | |
920 | ||
a149dc9c ER |
921 | %files apidocs |
922 | %defattr(644,root,root,755) | |
a9098aee | 923 | %doc doc/api/html/* |
a149dc9c ER |
924 | |
925 | %files ais | |
926 | %defattr(644,root,root,755) | |
927 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/ais.conf | |
928 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_ais.so | |
929 | ||
930 | %files alsa | |
931 | %defattr(644,root,root,755) | |
932 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/alsa.conf | |
933 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_alsa.so | |
934 | ||
935 | %files curl | |
936 | %defattr(644,root,root,755) | |
937 | %doc contrib/scripts/dbsep.cgi | |
938 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/dbsep.conf | |
939 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_curl.so | |
940 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_curl.so | |
941 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_curl.so | |
942 | ||
943 | %files dahdi | |
8ac733fc | 944 | %defattr(644,root,root,755) |
a149dc9c ER |
945 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/meetme.conf |
946 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/chan_dahdi.conf | |
947 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_flash.so | |
948 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_meetme.so | |
949 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_page.so | |
950 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dahdibarge.so | |
951 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dahdiras.so | |
952 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_dahdiscan.so | |
953 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_dahdi.so | |
954 | %attr(755,root,root) %{_libdir}/asterisk/modules/codec_dahdi.so | |
955 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_timing_dahdi.so | |
956 | ||
8ac733fc | 957 | %dir %{_includedir}/asterisk |
7605fc79 | 958 | %{_includedir}/asterisk.h |
a149dc9c ER |
959 | %{_includedir}/asterisk/*.h |
960 | ||
961 | %files fax | |
962 | %defattr(644,root,root,755) | |
963 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_fax.so | |
964 | ||
965 | %files festival | |
966 | %defattr(644,root,root,755) | |
967 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/festival.conf | |
968 | #%attr(770,root,asterisk) %dir %{_localstatedir}/spool/asterisk/festival | |
969 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_festival.so | |
970 | ||
971 | %files ices | |
972 | %defattr(644,root,root,755) | |
973 | %doc contrib/asterisk-ices.xml | |
974 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_ices.so | |
975 | ||
976 | %files jabber | |
977 | %defattr(644,root,root,755) | |
978 | %doc doc/jabber.txt | |
979 | %doc doc/jingle.txt | |
980 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/gtalk.conf | |
981 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/jabber.conf | |
982 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/jingle.conf | |
983 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_gtalk.so | |
984 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_jingle.so | |
985 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_jabber.so | |
986 | ||
987 | %files jack | |
988 | %defattr(644,root,root,755) | |
989 | #%attr(755,root,root) %{_libdir}/asterisk/modules/app_jack.so | |
990 | ||
991 | %files lua | |
992 | %defattr(644,root,root,755) | |
993 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions.lua | |
994 | #%attr(755,root,root) %{_libdir}/asterisk/modules/pbx_lua.so | |
995 | ||
996 | %files ldap | |
997 | %defattr(644,root,root,755) | |
998 | %doc doc/ldap.txt | |
999 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_ldap.conf | |
1000 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_ldap.so | |
1001 | ||
1002 | %files ldap-fds | |
1003 | %defattr(644,root,root,755) | |
1004 | #%{_sysconfdir}/dirsrv/schema/99asterisk.ldif | |
1005 | ||
1006 | %files minivm | |
1007 | %defattr(644,root,root,755) | |
1008 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/extensions_minivm.conf | |
1009 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/minivm.conf | |
1010 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_minivm.so | |
1011 | ||
1012 | %files misdn | |
1013 | %defattr(644,root,root,755) | |
1014 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/misdn.conf | |
1015 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_misdn.so | |
1016 | ||
1017 | %files odbc | |
1018 | %defattr(644,root,root,755) | |
1019 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_adaptive_odbc.conf | |
1020 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_odbc.conf | |
1021 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/func_odbc.conf | |
1022 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_odbc.conf | |
1023 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_adaptive_odbc.so | |
1024 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_odbc.so | |
1025 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_odbc.so | |
1026 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_odbc.so | |
1027 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_odbc.so | |
1028 | ||
1029 | %files oss | |
1030 | %defattr(644,root,root,755) | |
1031 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/oss.conf | |
1032 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_oss.so | |
1033 | ||
1034 | %files portaudio | |
1035 | %defattr(644,root,root,755) | |
1036 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/console.conf | |
1037 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_console.so | |
1038 | ||
1039 | %files postgresql | |
1040 | %defattr(644,root,root,755) | |
1041 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_pgsql.conf | |
1042 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_pgsql.conf | |
1043 | %doc contrib/scripts/realtime_pgsql.sql | |
1044 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_pgsql.so | |
1045 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_config_pgsql.so | |
1046 | ||
1047 | %files radius | |
1048 | %defattr(644,root,root,755) | |
1049 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_radius.so | |
1050 | ||
1051 | %files skinny | |
1052 | %defattr(644,root,root,755) | |
1053 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/skinny.conf | |
1054 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_skinny.so | |
1055 | ||
1056 | %files snmp | |
1057 | %defattr(644,root,root,755) | |
1058 | %doc doc/asterisk-mib.txt | |
1059 | %doc doc/digium-mib.txt | |
1060 | %doc doc/snmp.txt | |
1061 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/res_snmp.conf | |
1062 | %attr(755,root,root) %{_libdir}/asterisk/modules/res_snmp.so | |
a9098aee ER |
1063 | # XXX: system mibs dir |
1064 | %{_datadir}/snmp/mibs/ASTERISK-MIB.txt | |
1065 | %{_datadir}/snmp/mibs/DIGIUM-MIB.txt | |
a149dc9c ER |
1066 | |
1067 | %files sqlite | |
1068 | %defattr(644,root,root,755) | |
1069 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_sqlite3_custom.conf | |
1070 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_sqlite3_custom.so | |
1071 | ||
1072 | %files tds | |
1073 | %defattr(644,root,root,755) | |
1074 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/cdr_tds.conf | |
1075 | %attr(755,root,root) %{_libdir}/asterisk/modules/cdr_tds.so | |
1076 | ||
1077 | %files unistim | |
1078 | %defattr(644,root,root,755) | |
1079 | %doc doc/unistim.txt | |
1080 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/unistim.conf | |
1081 | %attr(755,root,root) %{_libdir}/asterisk/modules/chan_unistim.so | |
1082 | ||
1083 | %files usbradio | |
1084 | %defattr(644,root,root,755) | |
1085 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/usbradio.conf | |
1086 | #%attr(755,root,root) %{_libdir}/asterisk/modules/chan_usbradio.so | |
1087 | ||
1088 | %files voicemail | |
1089 | %defattr(644,root,root,755) | |
1090 | %attr(640,root,asterisk) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/asterisk/voicemail.conf | |
1091 | %attr(755,root,root) %{_libdir}/asterisk/modules/func_vmcount.so | |
1092 | ||
1093 | %files voicemail-imap | |
1094 | %defattr(644,root,root,755) | |
a9098aee ER |
1095 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_directory_imap.so |
1096 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_imap.so | |
a149dc9c ER |
1097 | |
1098 | %files voicemail-odbc | |
1099 | %defattr(644,root,root,755) | |
1100 | %doc doc/voicemail_odbc_postgresql.txt | |
a9098aee ER |
1101 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_directory_odbc.so |
1102 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_odbc.so | |
a149dc9c ER |
1103 | |
1104 | %files voicemail-plain | |
1105 | %defattr(644,root,root,755) | |
a9098aee ER |
1106 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_directory_plain.so |
1107 | %attr(755,root,root) %{_libdir}/asterisk/modules/app_voicemail_plain.so |