1 |
tv |
677122 |
%global __requires_exclude perl\\(Carp::Heavy\\) |
2 |
oden |
297552 |
%define _disable_ld_no_undefined 1 |
3 |
|
|
|
4 |
|
|
%define build_h323 0 |
5 |
|
|
%{?_without_h323: %global build_h323 0} |
6 |
|
|
%{?_with_h323: %global build_h323 1} |
7 |
|
|
|
8 |
|
|
%define build_misdn 0 |
9 |
|
|
%{?_without_misdn: %global build_misdn 0} |
10 |
|
|
%{?_with_misdn: %global build_misdn 1} |
11 |
|
|
|
12 |
|
|
%define build_odbc 0 |
13 |
|
|
%{?_without_odbc: %global build_odbc 0} |
14 |
|
|
%{?_with_odbc: %global build_odbc 1} |
15 |
|
|
|
16 |
|
|
%define build_oss 1 |
17 |
|
|
%{?_without_oss: %global build_oss 0} |
18 |
|
|
%{?_with_oss: %global build_oss 1} |
19 |
|
|
|
20 |
|
|
%define build_radius 1 |
21 |
|
|
%{?_without_radius: %global build_radius 0} |
22 |
|
|
%{?_with_radius: %global build_radius 1} |
23 |
|
|
|
24 |
|
|
%define build_tds 1 |
25 |
|
|
%{?_without_tds: %global build_tds 0} |
26 |
|
|
%{?_with_tds: %global build_tds 1} |
27 |
|
|
|
28 |
|
|
%define build_corosync 1 |
29 |
|
|
%{?_without_corosync: %global build_corosync 0} |
30 |
|
|
%{?_with_corosync: %global build_corosync 1} |
31 |
|
|
|
32 |
|
|
#define beta rc3 |
33 |
|
|
|
34 |
oden |
330160 |
%define major 1 |
35 |
|
|
%define libname %mklibname asteriskssl %{major} |
36 |
|
|
|
37 |
|
|
%if %{mgaversion} < 3 |
38 |
|
|
%define _tmpfilesdir /usr/lib/tmpfiles.d |
39 |
oden |
394855 |
%define _tmpfilescreate() /bin/systemd-tmpfiles --create \ |
40 |
oden |
394831 |
%{nil} |
41 |
colin |
404859 |
%define systemd_required_version 44 |
42 |
oden |
330160 |
%endif |
43 |
|
|
|
44 |
oden |
297552 |
Summary: The Open Source PBX |
45 |
|
|
Name: asterisk |
46 |
luigiwalser |
1186902 |
Version: 11.25.3 |
47 |
oden |
820042 |
Release: %mkrel %{?beta:0.0.%{beta}.}1 |
48 |
oden |
297552 |
License: GPLv2 |
49 |
|
|
Group: System/Servers |
50 |
|
|
URL: http://www.asterisk.org/ |
51 |
|
|
Source0: http://downloads.asterisk.org/pub/telephony/asterisk/%{?!beta:releases/}%{name}-%{version}%{?beta:-%{beta}}.tar.gz |
52 |
|
|
Source1: asterisk-logrotate |
53 |
luigiwalser |
1186902 |
Source2: %{name}-11.23.1-menuselect.makedeps |
54 |
|
|
Source3: %{name}-11.23.1-menuselect.makeopts |
55 |
oden |
297552 |
Source4: g72x_install |
56 |
|
|
Source5: asterisk-mp3.tar.bz2 |
57 |
|
|
Source6: asterisk.service |
58 |
|
|
Source7: asterisk-tmpfiles |
59 |
oden |
400321 |
# S8: svn checkout http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui |
60 |
|
|
Source8: asterisk-gui.tar.gz |
61 |
oden |
297552 |
Patch2: 0002-Modify-modules.conf-so-that-different-voicemail-modu.patch |
62 |
|
|
Patch50: asterisk-1.6.1-rc1-utils_pthread_fix.diff |
63 |
|
|
Patch51: asterisk-1.6.1-beta3-net-snmp_fix.diff |
64 |
|
|
Patch52: asterisk-1.6.1-beta3-ffmpeg_fix.diff |
65 |
oden |
330160 |
Patch53: asterisk-external_liblpc10.diff |
66 |
oden |
297552 |
Patch57: editline-include-missing-1.6.1-fix.diff |
67 |
|
|
Patch58: asterisk-neon-include-fix.patch |
68 |
oden |
613417 |
Patch59: asterisk-11.8.1-lua_fix.diff |
69 |
alien |
816853 |
Patch60: asterisk-11.5.0_opus+vp8.diff |
70 |
oden |
297552 |
Requires: mpg123 |
71 |
|
|
Requires: asterisk-core-sounds, asterisk-moh |
72 |
colin |
404859 |
Requires(post): systemd >= %{systemd_required_version} |
73 |
tv |
643449 |
BuildRequires: pkgconfig(alsa) |
74 |
oden |
297552 |
BuildRequires: autoconf >= 1:2.60 |
75 |
|
|
BuildRequires: automake1.9 >= 1.9.6 |
76 |
|
|
BuildRequires: bison |
77 |
tv |
643449 |
BuildRequires: pkgconfig(bluez) |
78 |
|
|
BuildRequires: pkgconfig(libcurl) |
79 |
oden |
297552 |
BuildRequires: dahdi-devel >= 2.0.0 |
80 |
tv |
643449 |
BuildRequires: pkgconfig(libavcodec) |
81 |
oden |
297552 |
BuildRequires: flex |
82 |
|
|
BuildRequires: freetds-devel >= 0.64 |
83 |
tv |
643449 |
BuildRequires: pkgconfig(gmime-2.6) |
84 |
oden |
297552 |
BuildRequires: gsm-devel |
85 |
tv |
643449 |
BuildRequires: pkgconfig(jack) |
86 |
|
|
BuildRequires: pkgconfig(krb5) |
87 |
|
|
BuildRequires: pkgconfig(libcap) |
88 |
|
|
BuildRequires: pkgconfig(libedit) |
89 |
oden |
297552 |
BuildRequires: libgcrypt-devel |
90 |
tv |
643449 |
BuildRequires: pkgconfig(gnutls) |
91 |
oden |
297552 |
BuildRequires: libgpg-error-devel |
92 |
|
|
BuildRequires: libgsm-devel |
93 |
|
|
BuildRequires: hoard-devel |
94 |
tv |
643449 |
BuildRequires: pkgconfig(libical) |
95 |
|
|
BuildRequires: pkgconfig(libidn) |
96 |
|
|
BuildRequires: pkgconfig(iksemel) |
97 |
|
|
BuildRequires: pkgconfig(libilbc) >= 1.1.1 |
98 |
oden |
297552 |
BuildRequires: mysql-devel |
99 |
|
|
BuildRequires: libnbs-devel |
100 |
tv |
643449 |
BuildRequires: pkgconfig(neon) |
101 |
|
|
BuildRequires: pkgconfig(ogg) |
102 |
|
|
BuildRequires: pkgconfig(popt) |
103 |
oden |
297552 |
BuildRequires: libpri-devel >= 1.4.12 |
104 |
|
|
BuildRequires: libss7-devel >= 1.0.2 |
105 |
|
|
BuildRequires: libtool |
106 |
|
|
BuildRequires: libtool-devel |
107 |
tv |
643449 |
BuildRequires: pkgconfig(vorbis) |
108 |
|
|
BuildRequires: pkgconfig(libxml-2.0) |
109 |
oden |
297552 |
BuildRequires: libzap-devel >= 1.0.1 |
110 |
|
|
BuildRequires: lm_sensors-devel |
111 |
|
|
BuildRequires: lpc10-devel |
112 |
tv |
643449 |
BuildRequires: pkgconfig(lua) |
113 |
oden |
297552 |
%if %{build_misdn} |
114 |
|
|
BuildRequires: isdn4k-utils-devel |
115 |
|
|
BuildRequires: isdn4net |
116 |
|
|
BuildRequires: misdn2-devel |
117 |
|
|
%endif |
118 |
tv |
643449 |
BuildRequires: pkgconfig(form) |
119 |
oden |
297552 |
BuildRequires: net-snmp-devel |
120 |
tv |
643449 |
BuildRequires: pkgconfig(libnewt) |
121 |
|
|
BuildRequires: pkgconfig(vorbis) |
122 |
oden |
297552 |
%if %{build_corosync} |
123 |
tv |
643449 |
BuildRequires: pkgconfig(corosync) |
124 |
oden |
297552 |
%endif |
125 |
|
|
BuildRequires: openldap-devel |
126 |
tv |
643449 |
BuildRequires: pkgconfig(libssl) |
127 |
oden |
297552 |
BuildRequires: openr2-devel |
128 |
tv |
643449 |
BuildRequires: pkgconfig(libosptk) >= 4.0.0 |
129 |
oden |
297552 |
BuildRequires: pam-devel |
130 |
|
|
BuildRequires: perl-devel |
131 |
tv |
643449 |
BuildRequires: pkgconfig(portaudio-2.0) >= 19 |
132 |
|
|
BuildRequires: pkgconfig(libpq) |
133 |
oden |
297552 |
BuildRequires: radiusclient-ng-devel |
134 |
|
|
BuildRequires: resample-devel |
135 |
tv |
643449 |
BuildRequires: pkgconfig(SDL_image) |
136 |
|
|
BuildRequires: pkgconfig(spandsp) |
137 |
|
|
BuildRequires: pkgconfig(speex) |
138 |
|
|
BuildRequires: pkgconfig(sqlite3) |
139 |
oden |
297552 |
BuildRequires: srtp-devel |
140 |
|
|
BuildRequires: tcp_wrappers-devel |
141 |
|
|
BuildRequires: termcap-devel |
142 |
tv |
643449 |
BuildRequires: pkgconfig(libtiff-4) |
143 |
|
|
BuildRequires: pkgconfig(uuid) |
144 |
oden |
297552 |
%if %{build_odbc} |
145 |
|
|
BuildRequires: unixODBC-devel |
146 |
|
|
%endif |
147 |
tv |
643449 |
BuildRequires: pkgconfig(libusb) |
148 |
oden |
297552 |
BuildRequires: wget |
149 |
tv |
643449 |
BuildRequires: pkgconfig(zlib) |
150 |
oden |
297552 |
BuildRequires: c-client-devel |
151 |
|
|
%if %{build_h323} |
152 |
|
|
BuildRequires: ooh323c-devel |
153 |
|
|
BuildRequires: openh323-devel >= 1.15.3 |
154 |
|
|
BuildRequires: pwlib-devel |
155 |
|
|
%endif |
156 |
oden |
651298 |
Requires: asterisk-plugins-pktccops = %{version}-%{release} |
157 |
|
|
Requires: asterisk-firmware = %{version}-%{release} |
158 |
oden |
297552 |
|
159 |
|
|
%description |
160 |
|
|
Asterisk is a complete PBX in software. It runs on Linux and provides |
161 |
|
|
all of the features you would expect from a PBX and more. Asterisk |
162 |
|
|
does voice over IP in three protocols, and can interoperate with |
163 |
|
|
almost all standards-based telephony equipment using relatively |
164 |
|
|
inexpensive hardware. |
165 |
|
|
|
166 |
oden |
330160 |
%package -n %{libname} |
167 |
|
|
Summary: The shared SSL library for Asterisk |
168 |
|
|
Group: System/Libraries |
169 |
|
|
|
170 |
|
|
%description -n %{libname} |
171 |
|
|
The shared SSL library for Asterisk. |
172 |
|
|
|
173 |
oden |
297552 |
%package addons |
174 |
|
|
Summary: Asterisk-addons metapackage |
175 |
|
|
Group: System/Servers |
176 |
|
|
Requires: asterisk = %{version}-%{release} |
177 |
|
|
Requires: asterisk-plugins-mp3 = %{version}-%{release} |
178 |
|
|
Requires: asterisk-plugins-mysql = %{version}-%{release} |
179 |
|
|
Requires: asterisk-plugins-ooh323 = %{version}-%{release} |
180 |
|
|
Requires: asterisk-plugins-saycountpl = %{version}-%{release} |
181 |
|
|
|
182 |
|
|
%description addons |
183 |
|
|
Contain this packages: asterisk-plugins-mp3, asterisk-plugins-mysql, asterisk-plugins-ooh323, asterisk-plugins-saycountpl |
184 |
|
|
|
185 |
|
|
%package firmware |
186 |
|
|
Summary: Firmware for the Digium S101I (IAXy) |
187 |
|
|
Group: System/Servers |
188 |
|
|
License: Redistributable, no modification permitted |
189 |
|
|
Requires: asterisk = %{version}-%{release} |
190 |
|
|
|
191 |
|
|
%description firmware |
192 |
|
|
Firmware for the Digium S101I (IAXy). |
193 |
|
|
|
194 |
|
|
%package devel |
195 |
|
|
Summary: Header files for building Asterisk modules |
196 |
|
|
Group: Development/C |
197 |
|
|
|
198 |
|
|
%description devel |
199 |
|
|
This package contains the development header files that are needed |
200 |
|
|
to compile 3rd party modules. |
201 |
|
|
|
202 |
|
|
%if %{build_corosync} |
203 |
|
|
%package plugins-corosync |
204 |
|
|
Summary: Modules for Asterisk that use corosync |
205 |
|
|
Group: System/Servers |
206 |
|
|
Requires: asterisk = %{version}-%{release} |
207 |
|
|
Obsoletes: asterisk-plugins-ais |
208 |
|
|
|
209 |
|
|
%description plugins-corosync |
210 |
|
|
Modules for Asterisk that use corosync. |
211 |
|
|
%endif |
212 |
|
|
|
213 |
|
|
%package plugins-alsa |
214 |
|
|
Summary: Modules for Asterisk that use Alsa sound drivers |
215 |
|
|
Group: System/Servers |
216 |
|
|
Requires: asterisk = %{version}-%{release} |
217 |
|
|
|
218 |
|
|
%description plugins-alsa |
219 |
|
|
Modules for Asterisk that use Alsa sound drivers. |
220 |
|
|
|
221 |
|
|
%package plugins-calendar |
222 |
|
|
Summary: Asterisk calendar support |
223 |
|
|
Group: System/Servers |
224 |
|
|
Requires: asterisk = %{version}-%{release} |
225 |
|
|
|
226 |
|
|
%description plugins-calendar |
227 |
|
|
Asterisk calendar support (ical, caldav, exchange, or ews) |
228 |
|
|
|
229 |
|
|
%package plugins-cel |
230 |
|
|
Summary: Asterisk Channel Event Logging |
231 |
|
|
Group: System/Servers |
232 |
|
|
Requires: asterisk = %{version}-%{release} |
233 |
|
|
|
234 |
|
|
%description plugins-cel |
235 |
|
|
Channel Event Logging is a mechanism to provide fine-grained event information |
236 |
|
|
that can be used to generate billing information. Such event information can |
237 |
|
|
be recorded to databases and files via pluggable backend modules. |
238 |
|
|
|
239 |
|
|
%package plugins-curl |
240 |
|
|
Summary: Modules for Asterisk that use cURL |
241 |
|
|
Group: System/Servers |
242 |
|
|
Requires: asterisk = %{version}-%{release} |
243 |
|
|
|
244 |
|
|
%description plugins-curl |
245 |
|
|
Modules for Asterisk that use cURL. |
246 |
|
|
|
247 |
|
|
%package plugins-dahdi |
248 |
|
|
Summary: Modules for Asterisk that use DAHDI |
249 |
|
|
Group: System/Servers |
250 |
|
|
Requires: asterisk = %{version}-%{release} |
251 |
|
|
Requires: dahdi-tools >= 2.0.0 |
252 |
|
|
|
253 |
|
|
%description plugins-dahdi |
254 |
|
|
Modules for Asterisk that use DAHDI. |
255 |
|
|
|
256 |
|
|
%package plugins-fax |
257 |
|
|
Summary: FAX plugins for Asterisk |
258 |
|
|
Group: System/Servers |
259 |
|
|
Requires: asterisk = %{version}-%{release} |
260 |
|
|
|
261 |
|
|
%description plugins-fax |
262 |
|
|
This package contains FAX plugins for Asterisk. |
263 |
|
|
|
264 |
|
|
%package plugins-festival |
265 |
|
|
Summary: Festival application for Asterisk |
266 |
|
|
Group: System/Servers |
267 |
|
|
Requires: asterisk = %{version}-%{release} |
268 |
|
|
Requires: festival |
269 |
|
|
|
270 |
|
|
%description plugins-festival |
271 |
|
|
Application for the Asterisk PBX that uses Festival to convert text to speech. |
272 |
|
|
|
273 |
|
|
%package plugins-ices |
274 |
|
|
Summary: Stream audio from Asterisk to an IceCast server |
275 |
|
|
Group: System/Servers |
276 |
|
|
Requires: asterisk = %{version}-%{release} |
277 |
|
|
Requires: ices |
278 |
|
|
|
279 |
|
|
%description plugins-ices |
280 |
|
|
Stream audio from Asterisk to an IceCast server. |
281 |
|
|
|
282 |
|
|
%package plugins-jabber |
283 |
|
|
Summary: Jabber support for Asterisk |
284 |
|
|
Group: System/Servers |
285 |
|
|
Requires: asterisk = %{version}-%{release} |
286 |
|
|
|
287 |
|
|
%description plugins-jabber |
288 |
|
|
This package contains Jabber support for Asterisk. |
289 |
|
|
|
290 |
|
|
%package plugins-jack |
291 |
|
|
Summary: JACK resources for Asterisk |
292 |
|
|
Group: System/Servers |
293 |
|
|
Requires: asterisk = %{version}-%{release} |
294 |
|
|
|
295 |
|
|
%description plugins-jack |
296 |
|
|
JACK resources for Asterisk. |
297 |
|
|
|
298 |
|
|
%package plugins-lua |
299 |
|
|
Summary: Lua resources for Asterisk |
300 |
|
|
Group: System/Servers |
301 |
|
|
Requires: asterisk = %{version}-%{release} |
302 |
|
|
|
303 |
|
|
%description plugins-lua |
304 |
|
|
Lua resources for Asterisk. |
305 |
|
|
|
306 |
|
|
%package plugins-ldap |
307 |
|
|
Summary: LDAP resources for Asterisk |
308 |
|
|
Group: System/Servers |
309 |
|
|
Requires: asterisk = %{version}-%{release} |
310 |
|
|
|
311 |
|
|
%description plugins-ldap |
312 |
|
|
LDAP resources for Asterisk. |
313 |
|
|
|
314 |
|
|
%if %{build_misdn} |
315 |
|
|
%package plugins-misdn |
316 |
|
|
Summary: This module adds mISDN support to the Asterisk PBX |
317 |
|
|
Group: System/Servers |
318 |
|
|
Requires: asterisk = %{version}-%{release} |
319 |
|
|
|
320 |
|
|
%description plugins-misdn |
321 |
|
|
This module adds mISDN support to the Asterisk PBX. mISDN is the |
322 |
|
|
(experimental) new ISDN4Linux stack, which adds support for |
323 |
|
|
driving cards in NT mode and thus connecting an ISDN phone to your |
324 |
|
|
computer. |
325 |
|
|
%endif |
326 |
|
|
|
327 |
|
|
%package plugins-minivm |
328 |
|
|
Summary: MiniVM applicaton for Asterisk |
329 |
|
|
Group: System/Servers |
330 |
|
|
Requires: asterisk = %{version}-%{release} |
331 |
|
|
|
332 |
|
|
%description plugins-minivm |
333 |
|
|
MiniVM application for Asterisk. |
334 |
|
|
|
335 |
|
|
%package plugins-mobile |
336 |
|
|
Summary: Asterisk channel driver for bluetooth phones and headsets |
337 |
|
|
Group: System/Servers |
338 |
tv |
643449 |
BuildRequires: pkgconfig(bluez) |
339 |
oden |
297552 |
Requires: %{_lib}bluez3 |
340 |
|
|
Requires: asterisk = %{version}-%{release} |
341 |
|
|
|
342 |
|
|
%description plugins-mobile |
343 |
|
|
Asterisk channel driver to allow Bluetooth cell/mobile phones to be |
344 |
|
|
used as FXO devices, and headsets as FXS devices. |
345 |
|
|
|
346 |
|
|
%package plugins-mp3 |
347 |
|
|
Summary: MP3 plugins for Asterisk |
348 |
|
|
Group: System/Servers |
349 |
|
|
Requires: asterisk = %{version}-%{release} |
350 |
|
|
|
351 |
|
|
%description plugins-mp3 |
352 |
|
|
This package contains MP3 support for Asterisk. |
353 |
|
|
|
354 |
|
|
%package plugins-mysql |
355 |
|
|
Summary: MySQL plugins for Asterisk |
356 |
|
|
Group: System/Servers |
357 |
|
|
Requires: asterisk = %{version}-%{release} |
358 |
|
|
|
359 |
|
|
%description plugins-mysql |
360 |
|
|
This package contains MySQL plugins for Asterisk. |
361 |
|
|
|
362 |
|
|
%if %{build_odbc} |
363 |
|
|
%package plugins-odbc |
364 |
|
|
Summary: Applications for Asterisk that use ODBC (except voicemail) |
365 |
|
|
Group: System/Servers |
366 |
|
|
Requires: asterisk = %{version}-%{release} |
367 |
|
|
|
368 |
|
|
%description plugins-odbc |
369 |
|
|
Applications for Asterisk that use ODBC (except voicemail) |
370 |
|
|
%endif |
371 |
|
|
|
372 |
|
|
%package plugins-ooh323 |
373 |
|
|
Summary: Objective System's H323 for Asterisk |
374 |
|
|
Group: System/Servers |
375 |
|
|
Requires: asterisk = %{version}-%{release} |
376 |
|
|
|
377 |
|
|
%description plugins-ooh323 |
378 |
|
|
Objective System's H323 for Asterisk. |
379 |
|
|
|
380 |
|
|
%if %{build_oss} |
381 |
|
|
%package plugins-oss |
382 |
|
|
Summary: Modules for Asterisk that use OSS sound drivers |
383 |
|
|
Group: System/Servers |
384 |
|
|
Requires: asterisk = %{version}-%{release} |
385 |
|
|
|
386 |
|
|
%description plugins-oss |
387 |
|
|
Modules for Asterisk that use OSS sound drivers. |
388 |
|
|
%endif |
389 |
|
|
|
390 |
|
|
%package plugins-pktccops |
391 |
|
|
Summary: Modules for Asterisk that use the IETF COPS protocol on PacketCable |
392 |
|
|
Group: System/Servers |
393 |
|
|
Requires: asterisk = %{version}-%{release} |
394 |
|
|
|
395 |
|
|
%description plugins-pktccops |
396 |
|
|
It's a subset or a "profile" of the IETF COPS protocol, extended for |
397 |
|
|
PacketCable specific usage. The IETF COPS RFC defines the extensions |
398 |
|
|
mechanism and the PacketCable standard uses and respects them. For |
399 |
|
|
example, IETF COPS defines an opaque field called "Client Specific |
400 |
|
|
Decision Data" and the PacketCable Standard defines how to fill it. |
401 |
|
|
Some IETF COPS messages are not used in the PC Standard (like SSC), so |
402 |
|
|
is a subset. |
403 |
|
|
|
404 |
|
|
%package plugins-portaudio |
405 |
|
|
Summary: Modules for Asterisk that use the portaudio library |
406 |
|
|
Group: System/Servers |
407 |
|
|
Requires: asterisk = %{version}-%{release} |
408 |
|
|
|
409 |
|
|
%description plugins-portaudio |
410 |
|
|
Modules for Asterisk that use the portaudio library. |
411 |
|
|
|
412 |
|
|
%package plugins-pgsql |
413 |
|
|
Summary: PostgreSQL plugins for Asterisk |
414 |
|
|
Group: System/Servers |
415 |
|
|
Requires: asterisk = %{version}-%{release} |
416 |
|
|
Provides: %{name}-plugins-postgresql = %{version}-%{release} |
417 |
|
|
|
418 |
|
|
%description plugins-pgsql |
419 |
|
|
This package contains PostgreSQL plugins for Asterisk. |
420 |
|
|
|
421 |
|
|
%if %{build_radius} |
422 |
|
|
%package plugins-radius |
423 |
|
|
Summary: Radiusclient plugins for Asterisk |
424 |
|
|
Group: System/Servers |
425 |
|
|
Requires: asterisk = %{version}-%{release} |
426 |
|
|
|
427 |
|
|
%description plugins-radius |
428 |
|
|
This package contains Radiusclient plugins for Asterisk. |
429 |
|
|
%endif |
430 |
|
|
|
431 |
|
|
%package plugins-saycountpl |
432 |
|
|
Summary: Modules for Asterisk that support the Polish grammar |
433 |
|
|
Group: System/Servers |
434 |
|
|
Requires: asterisk = %{version}-%{release} |
435 |
|
|
|
436 |
|
|
%description plugins-saycountpl |
437 |
|
|
Polish grammar has some funny rules for counting words. for example 1 zloty, 2 zlote, 5 zlotych. This application will take the words for 1, 2-4 and 5 and decide based on grammar rules which one to use with the number you pass to it. |
438 |
|
|
Example: SayCountPL(zloty,zlote,zlotych,122) will give: zlote |
439 |
|
|
|
440 |
|
|
|
441 |
|
|
%package plugins-skinny |
442 |
|
|
Summary: Modules for Asterisk that support the SCCP/Skinny protocol |
443 |
|
|
Group: System/Servers |
444 |
|
|
Requires: asterisk = %{version}-%{release} |
445 |
|
|
|
446 |
|
|
%description plugins-skinny |
447 |
|
|
Modules for Asterisk that support the SCCP/Skinny protocol. |
448 |
|
|
|
449 |
|
|
%package plugins-snmp |
450 |
|
|
Summary: Brief SNMP Agent / SubAgent support for Asterisk |
451 |
|
|
Group: System/Servers |
452 |
|
|
Requires: asterisk = %{version}-%{release} |
453 |
|
|
Requires: net-snmp |
454 |
|
|
|
455 |
|
|
%description plugins-snmp |
456 |
|
|
This package contains brief SNMP Agent / SubAgent support for Asterisk. |
457 |
|
|
|
458 |
|
|
%package plugins-speex |
459 |
|
|
Summary: SPEEX plugins for Asterisk |
460 |
|
|
Group: System/Servers |
461 |
|
|
Requires: asterisk = %{version}-%{release} |
462 |
|
|
|
463 |
|
|
%description plugins-speex |
464 |
|
|
This package contains SPEEX plugins for Asterisk. |
465 |
|
|
|
466 |
|
|
%package plugins-sqlite |
467 |
|
|
Summary: SQLite plugins for Asterisk |
468 |
|
|
Group: System/Servers |
469 |
|
|
Requires: asterisk = %{version}-%{release} |
470 |
|
|
|
471 |
|
|
%description plugins-sqlite |
472 |
|
|
This package contains SQLite plugins for Asterisk. |
473 |
|
|
|
474 |
|
|
%if %{build_tds} |
475 |
|
|
%package plugins-tds |
476 |
|
|
Summary: FreeTDS plugins for Asterisk |
477 |
|
|
Group: System/Servers |
478 |
|
|
Requires: asterisk = %{version}-%{release} |
479 |
|
|
|
480 |
|
|
%description plugins-tds |
481 |
|
|
This package contains FreeTDS plugins for Asterisk. |
482 |
|
|
%endif |
483 |
|
|
|
484 |
|
|
%package plugins-osp |
485 |
|
|
Summary: Open Settlement Protocol for Asterisk |
486 |
|
|
Group: System/Servers |
487 |
|
|
|
488 |
|
|
%description plugins-osp |
489 |
|
|
This package contains OSP (Open Settlement Protocol) support for Asterisk. |
490 |
|
|
|
491 |
|
|
%package plugins-unistim |
492 |
|
|
Summary: Unistim channel for Asterisk |
493 |
|
|
Group: System/Servers |
494 |
|
|
Requires: asterisk = %{version}-%{release} |
495 |
|
|
|
496 |
|
|
%description plugins-unistim |
497 |
|
|
Unistim channel for Asterisk. |
498 |
|
|
|
499 |
|
|
%package plugins-voicemail |
500 |
|
|
Summary: Common Voicemail Modules for Asterisk |
501 |
|
|
Group: System/Servers |
502 |
|
|
Requires: asterisk = %{version}-%{release} |
503 |
|
|
Requires: asterisk-plugins-voicemail-implementation = %{version}-%{release} |
504 |
|
|
Requires: sox |
505 |
|
|
Requires: sendmail-command |
506 |
|
|
|
507 |
|
|
%description plugins-voicemail |
508 |
|
|
Common Voicemail Modules for Asterisk. |
509 |
|
|
|
510 |
|
|
%package plugins-voicemail-imap |
511 |
|
|
Summary: Store voicemail on an IMAP server |
512 |
|
|
Group: System/Servers |
513 |
|
|
Requires: asterisk = %{version}-%{release} |
514 |
|
|
Requires: asterisk-plugins-voicemail = %{version}-%{release} |
515 |
|
|
Provides: asterisk-plugins-voicemail-implementation = %{version}-%{release} |
516 |
|
|
|
517 |
|
|
%description plugins-voicemail-imap |
518 |
|
|
Voicemail implementation for Asterisk that stores voicemail on an IMAP |
519 |
|
|
server. |
520 |
|
|
|
521 |
|
|
%if %{build_odbc} |
522 |
|
|
%package plugins-voicemail-odbc |
523 |
|
|
Summary: Store voicemail in a database using ODBC |
524 |
|
|
Group: System/Servers |
525 |
|
|
Requires: asterisk = %{version}-%{release} |
526 |
|
|
Requires: asterisk-plugins-voicemail = %{version}-%{release} |
527 |
|
|
Provides: asterisk-plugins-voicemail-implementation = %{version}-%{release} |
528 |
|
|
|
529 |
|
|
%description plugins-voicemail-odbc |
530 |
|
|
Voicemail implementation for Asterisk that uses ODBC to store |
531 |
|
|
voicemail in a database. |
532 |
|
|
%endif |
533 |
|
|
|
534 |
|
|
%package plugins-voicemail-plain |
535 |
|
|
Summary: Store voicemail on the local filesystem |
536 |
|
|
Group: System/Servers |
537 |
|
|
Requires: asterisk = %{version}-%{release} |
538 |
|
|
Requires: asterisk-plugins-voicemail = %{version}-%{release} |
539 |
|
|
Provides: asterisk-plugins-voicemail-implementation = %{version}-%{release} |
540 |
|
|
|
541 |
|
|
%description plugins-voicemail-plain |
542 |
|
|
Voicemail implementation for Asterisk that stores voicemail on the |
543 |
|
|
local filesystem. |
544 |
|
|
|
545 |
oden |
400321 |
%package gui |
546 |
|
|
Summary: Asterisk GUI |
547 |
|
|
Group: System/Servers |
548 |
|
|
Requires: asterisk = %{version}-%{release} |
549 |
|
|
|
550 |
|
|
%description gui |
551 |
|
|
Asterisk GUI is a framework for the creation of graphical interfaces for |
552 |
|
|
configuring Asterisk. Some sample graphical interfaces for specific vertical |
553 |
|
|
markets are included for reference or for actual use and extension. |
554 |
|
|
|
555 |
oden |
297552 |
%prep |
556 |
|
|
|
557 |
oden |
400321 |
%setup0 -q -n asterisk-%{version}%{?beta:-%{beta}} -a 5 -a 8 |
558 |
oden |
297552 |
|
559 |
|
|
find . -type d -perm 0700 -exec chmod 755 {} \; |
560 |
|
|
find . -type d -perm 0555 -exec chmod 755 {} \; |
561 |
|
|
find . -type f -perm 0555 -exec chmod 755 {} \; |
562 |
|
|
find . -type f -perm 0444 -exec chmod 644 {} \; |
563 |
|
|
|
564 |
|
|
for i in `find . -type d -name CVS` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do |
565 |
|
|
if [ -e "$i" ]; then rm -rf $i; fi >&/dev/null |
566 |
|
|
done |
567 |
|
|
|
568 |
|
|
%patch2 -p1 -b .voicemail |
569 |
|
|
## |
570 |
|
|
%patch50 -p1 -b .pthread |
571 |
|
|
%patch51 -p0 -b .net_snmp |
572 |
|
|
%patch52 -p1 -b .ffmpeg |
573 |
|
|
%patch53 -p0 -b .libplc10 |
574 |
|
|
%patch57 -p0 -b .editline |
575 |
oden |
330160 |
%patch58 -p1 -b .neon |
576 |
oden |
330169 |
%patch59 -p0 -b .lua |
577 |
alien |
816853 |
%patch60 -p1 -b .opus_vp8 |
578 |
oden |
297552 |
|
579 |
|
|
cp %{SOURCE2} menuselect.makedeps |
580 |
|
|
cp %{SOURCE3} menuselect.makeopts |
581 |
|
|
cp %{SOURCE4} g72x_install |
582 |
|
|
|
583 |
|
|
# Fixup makefile so sound archives aren't downloaded/installed |
584 |
|
|
%{__perl} -pi -e 's/^all:.*$/all:/' sounds/Makefile |
585 |
|
|
%{__perl} -pi -e 's/^install:.*$/install:/' sounds/Makefile |
586 |
|
|
|
587 |
|
|
# convert comments in one file to UTF-8 |
588 |
|
|
mv main/fskmodem.c main/fskmodem.c.old |
589 |
|
|
iconv -f iso-8859-1 -t utf-8 -o main/fskmodem.c main/fskmodem.c.old |
590 |
|
|
touch -r main/fskmodem.c.old main/fskmodem.c |
591 |
|
|
rm main/fskmodem.c.old |
592 |
|
|
|
593 |
|
|
chmod -x contrib/scripts/dbsep.cgi |
594 |
|
|
|
595 |
|
|
# lib64 fix |
596 |
oden |
330160 |
#find -name "Makefile" | xargs perl -pi -e "s|/usr/lib|%{_libdir}|g" |
597 |
|
|
#perl -pi -e "s|/lib\b|/%{_lib}|g" configure* autoconf/*.m4 |
598 |
|
|
#perl -pi -e "s|/lib/|/%{_lib}/|g" configure* autoconf/*.m4 |
599 |
oden |
297552 |
|
600 |
|
|
%build |
601 |
|
|
|
602 |
|
|
# if we are building for i386 promote the CPU arch to i486 for atomic operations support |
603 |
|
|
%ifarch i386 |
604 |
oden |
297931 |
%define optflags %{__global_cflags} -m32 -march=i486 -mtune=generic -fasynchronous-unwind-tables |
605 |
oden |
297552 |
%else |
606 |
oden |
297931 |
%define optflags %(rpm --eval %%{optflags}) |
607 |
oden |
297552 |
%endif |
608 |
|
|
|
609 |
|
|
./bootstrap.sh |
610 |
|
|
|
611 |
|
|
sed 's#localstatedir}/lib64#localstatedir}/lib#g' -i configure.ac |
612 |
|
|
|
613 |
oden |
980320 |
#pushd menuselect/mxml |
614 |
|
|
#%configure2_5x |
615 |
|
|
#popd |
616 |
oden |
297552 |
|
617 |
|
|
pushd menuselect |
618 |
|
|
%configure2_5x |
619 |
|
|
popd |
620 |
|
|
|
621 |
|
|
pushd main/editline |
622 |
|
|
%configure2_5x |
623 |
|
|
popd |
624 |
|
|
|
625 |
oden |
330160 |
%configure2_5x \ |
626 |
oden |
297552 |
--localstatedir=/var \ |
627 |
oden |
651298 |
--with-asound \ |
628 |
|
|
--with-bluetooth \ |
629 |
|
|
--with-cap \ |
630 |
|
|
--with-curses \ |
631 |
|
|
--with-crypto \ |
632 |
|
|
--with-dahdi \ |
633 |
|
|
--with-avcodec \ |
634 |
|
|
--with-gsm \ |
635 |
oden |
297552 |
--without-gtk2 \ |
636 |
oden |
651298 |
--with-gmime \ |
637 |
|
|
--with-hoard \ |
638 |
|
|
--with-ical \ |
639 |
|
|
--with-iconv \ |
640 |
|
|
--with-iksemel \ |
641 |
oden |
297552 |
--with-imap=system \ |
642 |
oden |
651298 |
--with-inotify \ |
643 |
oden |
297552 |
%if %{build_odbc} |
644 |
oden |
651298 |
--with-iodbc \ |
645 |
oden |
297552 |
%else |
646 |
|
|
--without-iodbc \ |
647 |
|
|
%endif |
648 |
oden |
651298 |
--with-jack \ |
649 |
oden |
297552 |
--without-kqueue \ |
650 |
oden |
651298 |
--with-ldap \ |
651 |
|
|
--with-libcurl \ |
652 |
|
|
--with-ltdl \ |
653 |
|
|
--with-lua \ |
654 |
oden |
297552 |
%if %{build_misdn} |
655 |
oden |
651298 |
--with-isdnnet \ |
656 |
|
|
--with-misdn \ |
657 |
|
|
--with-suppserv \ |
658 |
oden |
297552 |
%else |
659 |
|
|
--without-isdnnet \ |
660 |
|
|
--without-misdn \ |
661 |
|
|
--without-suppserv \ |
662 |
|
|
%endif |
663 |
oden |
651298 |
--with-mysqlclient \ |
664 |
|
|
--with-nbs \ |
665 |
|
|
--with-ncurses \ |
666 |
|
|
--with-neon \ |
667 |
|
|
--with-neon29 \ |
668 |
|
|
--with-netsnmp \ |
669 |
|
|
--with-newt \ |
670 |
|
|
--with-ogg \ |
671 |
oden |
297552 |
%if %{build_corosync} |
672 |
oden |
651298 |
--with-cpg \ |
673 |
oden |
297552 |
%else |
674 |
|
|
--without-cpg \ |
675 |
|
|
%endif |
676 |
oden |
651298 |
--with-openr2 \ |
677 |
|
|
--with-osptk \ |
678 |
oden |
297552 |
%if %{build_oss} |
679 |
|
|
--with-oss \ |
680 |
|
|
%else |
681 |
|
|
--without-oss \ |
682 |
|
|
%endif |
683 |
oden |
651298 |
--with-postgres \ |
684 |
|
|
--with-popt \ |
685 |
|
|
--with-portaudio \ |
686 |
|
|
--with-pri \ |
687 |
|
|
--with-radius \ |
688 |
|
|
--with-resample \ |
689 |
oden |
297552 |
%if %{build_h323} |
690 |
oden |
651298 |
--with-pwlib \ |
691 |
|
|
--with-h323 \ |
692 |
oden |
297552 |
%else |
693 |
|
|
--without-pwlib \ |
694 |
|
|
--without-h323 \ |
695 |
|
|
%endif |
696 |
oden |
651298 |
--with-sdl \ |
697 |
|
|
--with-SDL_image \ |
698 |
|
|
--with-sounds-cache \ |
699 |
|
|
--with-spandsp \ |
700 |
|
|
--with-ss7 \ |
701 |
|
|
--with-speex \ |
702 |
|
|
--with-speexdsp \ |
703 |
oden |
297552 |
--without-sqlite \ |
704 |
oden |
651298 |
--with-sqlite3 \ |
705 |
|
|
--with-srtp \ |
706 |
|
|
--with-ssl \ |
707 |
|
|
--with-tds \ |
708 |
|
|
--with-termcap \ |
709 |
|
|
--with-timerfd \ |
710 |
oden |
297552 |
--without-tinfo \ |
711 |
oden |
651298 |
--with-tonezone \ |
712 |
oden |
297552 |
%if %{build_odbc} |
713 |
oden |
651298 |
--with-unixodbc \ |
714 |
oden |
297552 |
%else |
715 |
|
|
--without-unixodbc \ |
716 |
|
|
%endif |
717 |
oden |
651298 |
--with-vorbis \ |
718 |
oden |
297552 |
--without-vpb \ |
719 |
|
|
--without-x11 \ |
720 |
oden |
651298 |
--with-z \ |
721 |
|
|
--with-ilbc \ |
722 |
|
|
--with-libedit \ |
723 |
oden |
297552 |
|
724 |
|
|
sed 's#localstatedir}/lib64#localstatedir}/lib#g' -i makeopts |
725 |
|
|
#fix --no-undefined |
726 |
|
|
sed -e 's/,--no-undefined -Wl//g' -i makeopts |
727 |
|
|
|
728 |
|
|
# fix some weirdos |
729 |
|
|
#GMIME_INCLUDE=`pkg-config --cflags gmime-2.6` |
730 |
|
|
#perl -pi -e "s|^GMIME_INCLUDE=.*|GMIME_INCLUDE=$GMIME_INCLUDE|g" makeopts |
731 |
|
|
|
732 |
|
|
%{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=FILE_STORAGE/' menuselect.makeopts |
733 |
colin |
321877 |
ASTCFLAGS="%{optflags}" make DEBUG= OPTIMIZE= ASTVARRUNDIR=/run/asterisk NOISY_BUILD=1 |
734 |
oden |
297552 |
|
735 |
|
|
rm apps/app_voicemail.o apps/app_directory.o |
736 |
|
|
mv apps/app_voicemail.so apps/app_voicemail_plain.so |
737 |
|
|
mv apps/app_directory.so apps/app_directory_plain.so |
738 |
|
|
|
739 |
|
|
%{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=IMAP_STORAGE/' menuselect.makeopts |
740 |
colin |
321877 |
ASTCFLAGS="%{optflags}" make DEBUG= OPTIMIZE= ASTVARRUNDIR=/run/asterisk NOISY_BUILD=1 |
741 |
oden |
297552 |
|
742 |
|
|
rm apps/app_voicemail.o apps/app_directory.o |
743 |
|
|
mv apps/app_voicemail.so apps/app_voicemail_imap.so |
744 |
|
|
mv apps/app_directory.so apps/app_directory_imap.so |
745 |
|
|
|
746 |
|
|
%if %{build_odbc} |
747 |
|
|
%{__sed} -i -e 's/^MENUSELECT_OPTS_app_voicemail=.*$/MENUSELECT_OPTS_app_voicemail=ODBC_STORAGE/' menuselect.makeopts |
748 |
colin |
321877 |
ASTCFLAGS="%{optflags}" make DEBUG= OPTIMIZE= ASTVARRUNDIR=/run/asterisk NOISY_BUILD=1 |
749 |
oden |
297552 |
|
750 |
|
|
rm apps/app_voicemail.o apps/app_directory.o |
751 |
|
|
mv apps/app_voicemail.so apps/app_voicemail_odbc.so |
752 |
|
|
mv apps/app_directory.so apps/app_directory_odbc.so |
753 |
|
|
%endif |
754 |
|
|
|
755 |
|
|
# so that these modules don't get built again during the install phase |
756 |
|
|
touch apps/app_voicemail.o apps/app_directory.o |
757 |
|
|
touch apps/app_voicemail.so apps/app_directory.so |
758 |
|
|
|
759 |
oden |
400321 |
pushd asterisk-gui |
760 |
|
|
%configure2_5x |
761 |
|
|
popd |
762 |
|
|
|
763 |
oden |
297552 |
%install |
764 |
colin |
321877 |
ASTCFLAGS="%{optflags}" make install DEBUG= OPTIMIZE= DESTDIR=%{buildroot} ASTVARRUNDIR=/run/asterisk |
765 |
|
|
ASTCFLAGS="%{optflags}" make samples DEBUG= OPTIMIZE= DESTDIR=%{buildroot} ASTVARRUNDIR=/run/asterisk |
766 |
oden |
297552 |
|
767 |
|
|
install -D -p -m 0644 %{S:1} %{buildroot}%{_sysconfdir}/logrotate.d/asterisk |
768 |
colin |
321760 |
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_unitdir}/asterisk.service |
769 |
oden |
297552 |
rm -f %{buildroot}%{_sbindir}/safe_asterisk |
770 |
colin |
321760 |
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_tmpfilesdir}/%{name}.conf |
771 |
oden |
297552 |
|
772 |
oden |
298260 |
#install -D -p -m 0644 contrib/editors/ael.vim %{buildroot}%{_datadir}/vim/syntax/ael.vim |
773 |
|
|
#install -D -p -m 0644 contrib/editors/asteriskvm.vim %{buildroot}%{_datadir}/vim/syntax/asteriskvm.vim |
774 |
oden |
297552 |
|
775 |
|
|
rm %{buildroot}%{_libdir}/asterisk/modules/app_directory.so |
776 |
|
|
rm %{buildroot}%{_libdir}/asterisk/modules/app_voicemail.so |
777 |
|
|
install -D -p -m 0755 apps/app_directory_imap.so %{buildroot}%{_libdir}/asterisk/modules/ |
778 |
|
|
install -D -p -m 0755 apps/app_voicemail_imap.so %{buildroot}%{_libdir}/asterisk/modules/ |
779 |
|
|
%if %{build_odbc} |
780 |
|
|
install -D -p -m 0755 apps/app_directory_odbc.so %{buildroot}%{_libdir}/asterisk/modules/ |
781 |
|
|
install -D -p -m 0755 apps/app_voicemail_odbc.so %{buildroot}%{_libdir}/asterisk/modules/ |
782 |
|
|
%endif |
783 |
|
|
install -D -p -m 0755 apps/app_directory_plain.so %{buildroot}%{_libdir}/asterisk/modules/ |
784 |
|
|
install -D -p -m 0755 apps/app_voicemail_plain.so %{buildroot}%{_libdir}/asterisk/modules/ |
785 |
|
|
|
786 |
|
|
# create some directories that need to be packaged |
787 |
colin |
321877 |
make installdirs DESTDIR=%{buildroot} ASTVARRUNDIR=/run/asterisk |
788 |
oden |
297552 |
mkdir -p %{buildroot}/var/spool/asterisk/outgoing |
789 |
|
|
|
790 |
|
|
# We're not going to package any of the sample AGI scripts |
791 |
|
|
rm -f %{buildroot}/var/lib/asterisk/agi-bin/* |
792 |
|
|
|
793 |
|
|
# Don't package the sample voicemail user |
794 |
|
|
rm -rf %{buildroot}/var/spool/asterisk/voicemail/default |
795 |
|
|
|
796 |
|
|
# Don't package example phone provision configs |
797 |
|
|
rm -rf %{buildroot}/var/lib/asterisk/phoneprov/* |
798 |
|
|
|
799 |
|
|
# these are compiled with -O0 and thus include unfortified code. |
800 |
|
|
rm -rf %{buildroot}%{_sbindir}/hashtest |
801 |
|
|
rm -rf %{buildroot}%{_sbindir}/hashtest2 |
802 |
|
|
|
803 |
oden |
330160 |
rm -f %{buildroot}%{_sysconfdir}/asterisk/res_config_sqlite.conf |
804 |
|
|
|
805 |
oden |
297552 |
touch %{name}-devel.filelist |
806 |
|
|
|
807 |
oden |
400321 |
pushd asterisk-gui |
808 |
|
|
%makeinstall_std |
809 |
|
|
popd |
810 |
|
|
|
811 |
oden |
297552 |
# fix ghost files |
812 |
|
|
touch %{buildroot}/var/lib/asterisk/astdb |
813 |
|
|
touch %{buildroot}/var/log/asterisk/console |
814 |
|
|
touch %{buildroot}/var/log/asterisk/debug |
815 |
|
|
touch %{buildroot}/var/log/asterisk/messages |
816 |
|
|
touch %{buildroot}/var/log/asterisk/queue_log |
817 |
|
|
touch %{buildroot}/var/log/asterisk/event_log |
818 |
|
|
touch %{buildroot}/var/log/asterisk/cdr-csv/Master.csv |
819 |
|
|
touch %{buildroot}/var/log/asterisk/h323_log |
820 |
|
|
|
821 |
|
|
# remove unused files |
822 |
|
|
%if !%{build_odbc} |
823 |
|
|
rm -f %{buildroot}/%{_sysconfdir}/asterisk/cdr_adaptive_odbc.conf |
824 |
|
|
rm -f %{buildroot}/%{_sysconfdir}/asterisk/cdr_odbc.conf |
825 |
|
|
rm -f %{buildroot}/%{_sysconfdir}/asterisk/cel_odbc.conf |
826 |
|
|
rm -f %{buildroot}/%{_sysconfdir}/asterisk/func_odbc.conf |
827 |
|
|
rm -f %{buildroot}/%{_sysconfdir}/asterisk/res_odbc.conf |
828 |
|
|
%endif |
829 |
|
|
%if !%{build_misdn} |
830 |
|
|
rm -f %{buildroot}/%{_sysconfdir}/asterisk/misdn.conf |
831 |
|
|
%endif |
832 |
|
|
%if !%{build_oss} |
833 |
|
|
rm -f %{buildroot}/%{_sysconfdir}/asterisk/oss.conf |
834 |
|
|
%endif |
835 |
|
|
|
836 |
|
|
%pre |
837 |
|
|
%_pre_useradd asterisk /var/lib/asterisk /bin/sh |
838 |
akien |
1101824 |
gpasswd -a asterisk dialout 1>/dev/null || : |
839 |
oden |
297552 |
|
840 |
|
|
%post |
841 |
|
|
%create_ghostfile /var/lib/asterisk/astdb asterisk asterisk 640 |
842 |
|
|
%create_ghostfile /var/log/asterisk/console asterisk asterisk 640 |
843 |
|
|
%create_ghostfile /var/log/asterisk/debug asterisk asterisk 640 |
844 |
|
|
%create_ghostfile /var/log/asterisk/messages asterisk asterisk 640 |
845 |
|
|
%create_ghostfile /var/log/asterisk/queue_log asterisk asterisk 640 |
846 |
|
|
%create_ghostfile /var/log/asterisk/event_log asterisk asterisk 640 |
847 |
|
|
%create_ghostfile /var/log/asterisk/cdr-csv/Master.csv asterisk asterisk 640 |
848 |
|
|
%create_ghostfile /var/log/asterisk/h323_log asterisk asterisk 640 |
849 |
|
|
echo "Adding setuid root to /usr/bin/mpg123, needed for MOH" |
850 |
|
|
chmod u+s %{_bindir}/mpg123 |
851 |
colin |
321760 |
if [[ -e %{_libdir}/asterisk/modules/codec_g729.so ]]; then |
852 |
|
|
sh %{_docdir}/g72x_install |
853 |
oden |
297552 |
fi |
854 |
|
|
|
855 |
colin |
321760 |
%_tmpfilescreate %{name} |
856 |
|
|
%_post_service %{name} |
857 |
|
|
|
858 |
oden |
297552 |
%preun |
859 |
|
|
if [ "$1" = 0 ]; then |
860 |
|
|
echo "Removing setuid root from /usr/bin/mpg123" |
861 |
|
|
chmod u-s %{_bindir}/mpg123 |
862 |
|
|
fi |
863 |
|
|
|
864 |
|
|
# Remove the G72x stuff |
865 |
|
|
rm -f /usr/share/doc/asterisk/README.g72x.txt |
866 |
|
|
rm -f /usr/$LIBNAME/asterisk/modules/codec_g723.so |
867 |
|
|
rm -f /usr/$LIBNAME/asterisk/modules/codec_g729.so |
868 |
|
|
rm -f /usr/bin/g729_my_enc |
869 |
|
|
rm -f /usr/bin/g729_my_dec |
870 |
|
|
rm -f /usr/bin/astconv |
871 |
|
|
|
872 |
colin |
321760 |
%_preun_service %{name} |
873 |
oden |
297552 |
|
874 |
|
|
%postun |
875 |
akien |
1101824 |
gpasswd -d asterisk dialout 1>/dev/null || : |
876 |
oden |
297552 |
%_postun_userdel asterisk |
877 |
|
|
|
878 |
|
|
%pre plugins-dahdi |
879 |
|
|
%{_sbindir}/usermod -a -G dahdi asterisk |
880 |
|
|
|
881 |
|
|
%if %{build_misdn} |
882 |
|
|
%pre plugins-misdn |
883 |
|
|
%{_sbindir}/usermod -a -G misdn asterisk |
884 |
|
|
%endif |
885 |
|
|
|
886 |
|
|
%pre plugins-mobile |
887 |
|
|
if [[ -e %{_sysconfdir}/asterisk/mobile.conf ]] ; then |
888 |
|
|
mv -f %{_sysconfdir}/asterisk/{,chan_}mobile.conf |
889 |
|
|
fi |
890 |
|
|
|
891 |
oden |
330160 |
%files -n %{libname} |
892 |
|
|
%attr(0755,root,root) %{_libdir}/libasteriskssl.so.1 |
893 |
|
|
|
894 |
oden |
297552 |
%files |
895 |
|
|
%doc README* *.txt ChangeLog BUGS CREDITS configs |
896 |
|
|
%doc doc/asterisk.sgml g72x_install |
897 |
|
|
%doc contrib/realtime/mysql |
898 |
colin |
321760 |
%{_unitdir}/asterisk.service |
899 |
|
|
%attr(0644,root,root) %{_tmpfilesdir}/%{name}.conf |
900 |
oden |
297552 |
%attr(0750,asterisk,asterisk) %dir %{_sysconfdir}/asterisk |
901 |
oden |
330160 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/acl.conf |
902 |
oden |
297552 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/adsi.conf |
903 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/agents.conf |
904 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/alarmreceiver.conf |
905 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/amd.conf |
906 |
oden |
330160 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/app_skel.conf |
907 |
oden |
297552 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/asterisk.adsi |
908 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/asterisk.conf |
909 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/ccss.conf |
910 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cdr.conf |
911 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cdr_custom.conf |
912 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cdr_manager.conf |
913 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cdr_syslog.conf |
914 |
oden |
330160 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cli_aliases.conf |
915 |
oden |
297552 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cli.conf |
916 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cli_permissions.conf |
917 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/codecs.conf |
918 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/confbridge.conf |
919 |
oden |
330160 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/config_test.conf |
920 |
oden |
297552 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/dnsmgr.conf |
921 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/dsp.conf |
922 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/dundi.conf |
923 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/enum.conf |
924 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/extconfig.conf |
925 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/extensions.ael |
926 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/extensions.conf |
927 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/features.conf |
928 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/followme.conf |
929 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/h323.conf |
930 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/http.conf |
931 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/iax.conf |
932 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/iaxprov.conf |
933 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/indications.conf |
934 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/logger.conf |
935 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/manager.conf |
936 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/mgcp.conf |
937 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/modules.conf |
938 |
oden |
330160 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/motif.conf |
939 |
oden |
297552 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/musiconhold.conf |
940 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/muted.conf |
941 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/phone.conf |
942 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/phoneprov.conf |
943 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/queuerules.conf |
944 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/queues.conf |
945 |
oden |
330160 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_stun_monitor.conf |
946 |
oden |
297552 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/rtp.conf |
947 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/say.conf |
948 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/sip.conf |
949 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/sip_notify.conf |
950 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/sla.conf |
951 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/smdi.conf |
952 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/telcordia-1.adsi |
953 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/udptl.conf |
954 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/users.conf |
955 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/vpb.conf |
956 |
oden |
330160 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/xmpp.conf |
957 |
oden |
297552 |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/logrotate.d/asterisk |
958 |
|
|
%dir %{_libdir}/asterisk |
959 |
|
|
%dir %{_libdir}/asterisk/modules |
960 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_adsiprog.so |
961 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_alarmreceiver.so |
962 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_amd.so |
963 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_authenticate.so |
964 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_cdr.so |
965 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_chanisavail.so |
966 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_channelredirect.so |
967 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_chanspy.so |
968 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_confbridge.so |
969 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_controlplayback.so |
970 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_db.so |
971 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_dial.so |
972 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_dictate.so |
973 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_directed_pickup.so |
974 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_disa.so |
975 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_dumpchan.so |
976 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_echo.so |
977 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_exec.so |
978 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_externalivr.so |
979 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_followme.so |
980 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_forkcdr.so |
981 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_getcpeid.so |
982 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_image.so |
983 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_ivrdemo.so |
984 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_macro.so |
985 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_milliwatt.so |
986 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_mixmonitor.so |
987 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_morsecode.so |
988 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_nbscat.so |
989 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_originate.so |
990 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_parkandannounce.so |
991 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_playback.so |
992 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_playtones.so |
993 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_privacy.so |
994 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_queue.so |
995 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_readexten.so |
996 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_readfile.so |
997 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_read.so |
998 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_record.so |
999 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_saycounted.so |
1000 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_sayunixtime.so |
1001 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_senddtmf.so |
1002 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_sendtext.so |
1003 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_setcallerid.so |
1004 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_skel.so |
1005 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_sms.so |
1006 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_softhangup.so |
1007 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_speech_utils.so |
1008 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_stack.so |
1009 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_system.so |
1010 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_talkdetect.so |
1011 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_test.so |
1012 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_transfer.so |
1013 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_url.so |
1014 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_userevent.so |
1015 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_waitforring.so |
1016 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_waitforsilence.so |
1017 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_waituntil.so |
1018 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_verbose.so |
1019 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_while.so |
1020 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_zapateller.so |
1021 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/bridge_builtin_features.so |
1022 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/bridge_multiplexed.so |
1023 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/bridge_simple.so |
1024 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/bridge_softmix.so |
1025 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_csv.so |
1026 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_custom.so |
1027 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_manager.so |
1028 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_syslog.so |
1029 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_agent.so |
1030 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_bridge.so |
1031 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_iax2.so |
1032 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_local.so |
1033 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_mgcp.so |
1034 |
oden |
330160 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_motif.so |
1035 |
oden |
297552 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_multicast_rtp.so |
1036 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_nbs.so |
1037 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_phone.so |
1038 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_sip.so |
1039 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_adpcm.so |
1040 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_alaw.so |
1041 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_a_mu.so |
1042 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_g722.so |
1043 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_g726.so |
1044 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_gsm.so |
1045 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_ilbc.so |
1046 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_lpc10.so |
1047 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_resample.so |
1048 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_ulaw.so |
1049 |
alien |
816853 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_opus.so |
1050 |
oden |
297552 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_g719.so |
1051 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_g723.so |
1052 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_g726.so |
1053 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_g729.so |
1054 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_gsm.so |
1055 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_h263.so |
1056 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_h264.so |
1057 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_ilbc.so |
1058 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_jpeg.so |
1059 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_ogg_vorbis.so |
1060 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_pcm.so |
1061 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_siren14.so |
1062 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_siren7.so |
1063 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_sln.so |
1064 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_wav_gsm.so |
1065 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_wav.so |
1066 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_vox.so |
1067 |
alien |
816853 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_vp8.so |
1068 |
oden |
330160 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_aes.so |
1069 |
oden |
297552 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_audiohookinherit.so |
1070 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_base64.so |
1071 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_blacklist.so |
1072 |
oden |
330160 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_callcompletion.so |
1073 |
oden |
297552 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_callerid.so |
1074 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_cdr.so |
1075 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_channel.so |
1076 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_config.so |
1077 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_cut.so |
1078 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_db.so |
1079 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_devstate.so |
1080 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_dialgroup.so |
1081 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_dialplan.so |
1082 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_enum.so |
1083 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_env.so |
1084 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_extstate.so |
1085 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_frame_trace.so |
1086 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_global.so |
1087 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_groupcount.so |
1088 |
oden |
330160 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_hangupcause.so |
1089 |
oden |
297552 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_iconv.so |
1090 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_jitterbuffer.so |
1091 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_lock.so |
1092 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_logic.so |
1093 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_math.so |
1094 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_md5.so |
1095 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_module.so |
1096 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_pitchshift.so |
1097 |
oden |
330160 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_presencestate.so |
1098 |
oden |
297552 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_rand.so |
1099 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_realtime.so |
1100 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_sha1.so |
1101 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_shell.so |
1102 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_sprintf.so |
1103 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_srv.so |
1104 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_strings.so |
1105 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_sysinfo.so |
1106 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_timeout.so |
1107 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_uri.so |
1108 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_version.so |
1109 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_volume.so |
1110 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/pbx_ael.so |
1111 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/pbx_config.so |
1112 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/pbx_dundi.so |
1113 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/pbx_loopback.so |
1114 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/pbx_realtime.so |
1115 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/pbx_spool.so |
1116 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_adsi.so |
1117 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_ael_share.so |
1118 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_agi.so |
1119 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_clialiases.so |
1120 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_clioriginate.so |
1121 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_convert.so |
1122 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_crypto.so |
1123 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_format_attr_celt.so |
1124 |
oden |
330160 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_format_attr_h263.so |
1125 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_format_attr_h264.so |
1126 |
oden |
297552 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_format_attr_silk.so |
1127 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_http_post.so |
1128 |
oden |
330160 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_http_websocket.so |
1129 |
oden |
297552 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_limit.so |
1130 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_monitor.so |
1131 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_musiconhold.so |
1132 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_mutestream.so |
1133 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_phoneprov.so |
1134 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_realtime.so |
1135 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_rtp_asterisk.so |
1136 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_rtp_multicast.so |
1137 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_security_log.so |
1138 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_smdi.so |
1139 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_speech.so |
1140 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_srtp.so |
1141 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_stun_monitor.so |
1142 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_timing_pthread.so |
1143 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_timing_timerfd.so |
1144 |
oden |
330160 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_xmpp.so |
1145 |
oden |
297552 |
%attr(0755,root,root) %{_sbindir}/aelparse |
1146 |
|
|
%attr(0755,root,root) %{_sbindir}/astcanary |
1147 |
|
|
%attr(0755,root,root) %{_sbindir}/astdb2bdb |
1148 |
|
|
%attr(0755,root,root) %{_sbindir}/astdb2sqlite3 |
1149 |
|
|
%attr(0755,root,root) %{_sbindir}/asterisk |
1150 |
|
|
%attr(0755,root,root) %{_sbindir}/astgenkey |
1151 |
|
|
%attr(0755,root,root) %{_sbindir}/astman |
1152 |
|
|
%attr(0755,root,root) %{_sbindir}/autosupport |
1153 |
|
|
%attr(0755,root,root) %{_sbindir}/check_expr |
1154 |
|
|
%attr(0755,root,root) %{_sbindir}/check_expr2 |
1155 |
|
|
%attr(0755,root,root) %{_sbindir}/conf2ael |
1156 |
|
|
%attr(0755,root,root) %{_sbindir}/muted |
1157 |
|
|
%attr(0755,root,root) %{_sbindir}/rasterisk |
1158 |
|
|
%attr(0755,root,root) %{_sbindir}/refcounter |
1159 |
|
|
%attr(0755,root,root) %{_sbindir}/smsq |
1160 |
|
|
%attr(0755,root,root) %{_sbindir}/stereorize |
1161 |
|
|
%attr(0755,root,root) %{_sbindir}/streamplayer |
1162 |
|
|
%{_mandir}/man8/asterisk.8* |
1163 |
|
|
%{_mandir}/man8/astgenkey.8* |
1164 |
|
|
%{_mandir}/man8/autosupport.8* |
1165 |
|
|
%{_mandir}/man8/safe_asterisk.8* |
1166 |
oden |
559067 |
%{_mandir}/man8/astdb2bdb.8* |
1167 |
|
|
%{_mandir}/man8/astdb2sqlite3.8* |
1168 |
oden |
297552 |
%attr(0750,asterisk,asterisk) %dir /var/lib/asterisk |
1169 |
|
|
%attr(0750,asterisk,asterisk) %dir /var/lib/asterisk/agi-bin |
1170 |
|
|
%attr(0750,asterisk,asterisk) /var/lib/asterisk/documentation |
1171 |
|
|
%attr(0750,asterisk,asterisk) /var/lib/asterisk/images |
1172 |
|
|
%attr(0750,asterisk,asterisk) /var/lib/asterisk/keys |
1173 |
|
|
%attr(0750,asterisk,asterisk) /var/lib/asterisk/phoneprov |
1174 |
|
|
%attr(0750,asterisk,asterisk) %dir /var/log/asterisk |
1175 |
|
|
%attr(0750,asterisk,asterisk) %dir /var/log/asterisk/cdr-csv |
1176 |
|
|
%attr(0750,asterisk,asterisk) %dir /var/log/asterisk/cdr-custom |
1177 |
|
|
%attr(0750,asterisk,asterisk) %dir /var/spool/asterisk |
1178 |
|
|
%attr(0770,asterisk,asterisk) %dir /var/spool/asterisk/monitor |
1179 |
|
|
%attr(0770,asterisk,asterisk) %dir /var/spool/asterisk/outgoing |
1180 |
|
|
%attr(0750,asterisk,asterisk) %dir /var/spool/asterisk/tmp |
1181 |
|
|
%attr(0750,asterisk,asterisk) %dir /var/spool/asterisk/voicemail |
1182 |
|
|
%attr(0640,asterisk,asterisk) %ghost /var/lib/asterisk/astdb |
1183 |
|
|
%attr(0640,asterisk,asterisk) %ghost /var/log/asterisk/cdr-csv/Master.csv |
1184 |
|
|
%attr(0640,asterisk,asterisk) %ghost /var/log/asterisk/console |
1185 |
|
|
%attr(0640,asterisk,asterisk) %ghost /var/log/asterisk/debug |
1186 |
|
|
%attr(0640,asterisk,asterisk) %ghost /var/log/asterisk/event_log |
1187 |
|
|
%attr(0640,asterisk,asterisk) %ghost /var/log/asterisk/h323_log |
1188 |
|
|
%attr(0640,asterisk,asterisk) %ghost /var/log/asterisk/messages |
1189 |
|
|
%attr(0640,asterisk,asterisk) %ghost /var/log/asterisk/queue_log |
1190 |
oden |
298260 |
#%attr(0640,asterisk,asterisk) %{_datadir}/vim/syntax/ael.vim |
1191 |
|
|
#%attr(0640,asterisk,asterisk) %{_datadir}/vim/syntax/asteriskvm.vim |
1192 |
oden |
297552 |
|
1193 |
|
|
%files devel -f %{name}-devel.filelist |
1194 |
|
|
%dir %{_includedir}/asterisk |
1195 |
|
|
%dir %{_includedir}/asterisk/doxygen |
1196 |
|
|
%{_includedir}/asterisk.h |
1197 |
|
|
%{_includedir}/asterisk/*.h |
1198 |
|
|
%{_includedir}/asterisk/doxygen/*.h |
1199 |
oden |
330160 |
%attr(0755,root,root) %{_libdir}/libasteriskssl.so |
1200 |
oden |
297552 |
|
1201 |
|
|
%files addons |
1202 |
|
|
|
1203 |
|
|
%files firmware |
1204 |
|
|
%attr(0750,asterisk,asterisk) /var/lib/asterisk/firmware |
1205 |
|
|
|
1206 |
|
|
%if %{build_corosync} |
1207 |
|
|
%files plugins-corosync |
1208 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_corosync.conf |
1209 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_corosync.so |
1210 |
|
|
%endif |
1211 |
|
|
|
1212 |
|
|
%files plugins-alsa |
1213 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/alsa.conf |
1214 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_alsa.so |
1215 |
|
|
|
1216 |
|
|
%files plugins-calendar |
1217 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/calendar.conf |
1218 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_calendar.so |
1219 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_calendar_caldav.so |
1220 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_calendar_ews.so |
1221 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_calendar_exchange.so |
1222 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_calendar_icalendar.so |
1223 |
|
|
|
1224 |
|
|
%files plugins-cel |
1225 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cel.conf |
1226 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cel_custom.conf |
1227 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_celgenuserevent.so |
1228 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cel_custom.so |
1229 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cel_manager.so |
1230 |
|
|
|
1231 |
|
|
%files plugins-curl |
1232 |
|
|
%doc contrib/scripts/dbsep.cgi |
1233 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/dbsep.conf |
1234 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_curl.conf |
1235 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_curl.so |
1236 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_config_curl.so |
1237 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_curl.so |
1238 |
|
|
|
1239 |
|
|
%files plugins-dahdi |
1240 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/meetme.conf |
1241 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/chan_dahdi.conf |
1242 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_flash.so |
1243 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_meetme.so |
1244 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_page.so |
1245 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_dahdibarge.so |
1246 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_dahdiras.so |
1247 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_dahdi.so |
1248 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_dahdi.so |
1249 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_timing_dahdi.so |
1250 |
|
|
|
1251 |
|
|
%files plugins-fax |
1252 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_fax.conf |
1253 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_fax.so |
1254 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_fax_spandsp.so |
1255 |
|
|
|
1256 |
|
|
%files plugins-festival |
1257 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/festival.conf |
1258 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_festival.so |
1259 |
|
|
|
1260 |
|
|
%files plugins-ices |
1261 |
|
|
%doc contrib/asterisk-ices.xml |
1262 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_ices.so |
1263 |
|
|
|
1264 |
|
|
%files plugins-jabber |
1265 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/gtalk.conf |
1266 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/jabber.conf |
1267 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/jingle.conf |
1268 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_gtalk.so |
1269 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_jingle.so |
1270 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_jabber.so |
1271 |
|
|
|
1272 |
|
|
%files plugins-jack |
1273 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_jack.so |
1274 |
|
|
|
1275 |
|
|
%files plugins-lua |
1276 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/extensions.lua |
1277 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/pbx_lua.so |
1278 |
|
|
|
1279 |
|
|
%files plugins-ldap |
1280 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_ldap.conf |
1281 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_config_ldap.so |
1282 |
|
|
|
1283 |
|
|
%files plugins-minivm |
1284 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/extensions_minivm.conf |
1285 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/minivm.conf |
1286 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_minivm.so |
1287 |
|
|
|
1288 |
|
|
%if %{build_misdn} |
1289 |
|
|
%files plugins-misdn |
1290 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/misdn.conf |
1291 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_misdn.so |
1292 |
|
|
%endif |
1293 |
|
|
|
1294 |
|
|
%files plugins-mobile |
1295 |
|
|
%doc configs/chan_mobile.conf.sample |
1296 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/chan_mobile.conf |
1297 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_mobile.so |
1298 |
|
|
|
1299 |
|
|
%files plugins-mp3 |
1300 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_mp3.so |
1301 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/format_mp3.so |
1302 |
|
|
|
1303 |
|
|
%files plugins-mysql |
1304 |
|
|
%doc contrib/realtime/mysql/*.sql |
1305 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/app_mysql.conf |
1306 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cdr_mysql.conf |
1307 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_config_mysql.conf |
1308 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_mysql.so |
1309 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_mysql.so |
1310 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_config_mysql.so |
1311 |
|
|
|
1312 |
|
|
%if %{build_odbc} |
1313 |
|
|
%files plugins-odbc |
1314 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cdr_adaptive_odbc.conf |
1315 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cdr_odbc.conf |
1316 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cel_odbc.conf |
1317 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/func_odbc.conf |
1318 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_odbc.conf |
1319 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_adaptive_odbc.so |
1320 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_odbc.so |
1321 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_odbc.so |
1322 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_config_odbc.so |
1323 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_odbc.so |
1324 |
|
|
%endif |
1325 |
|
|
|
1326 |
|
|
%files plugins-ooh323 |
1327 |
oden |
330160 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/ooh323.conf |
1328 |
oden |
297552 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_ooh323.so |
1329 |
|
|
|
1330 |
|
|
%if %{build_oss} |
1331 |
|
|
%files plugins-oss |
1332 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/oss.conf |
1333 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_oss.so |
1334 |
|
|
%endif |
1335 |
|
|
|
1336 |
|
|
%files plugins-osp |
1337 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/osp.conf |
1338 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_osplookup.so |
1339 |
|
|
|
1340 |
|
|
%files plugins-pktccops |
1341 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_pktccops.conf |
1342 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_pktccops.so |
1343 |
|
|
|
1344 |
|
|
%files plugins-portaudio |
1345 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/console.conf |
1346 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_console.so |
1347 |
|
|
|
1348 |
|
|
%files plugins-pgsql |
1349 |
|
|
%doc contrib/realtime/postgresql/realtime.sql |
1350 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cdr_pgsql.conf |
1351 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cel_pgsql.conf |
1352 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_pgsql.conf |
1353 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_pgsql.so |
1354 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cel_pgsql.so |
1355 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_config_pgsql.so |
1356 |
|
|
|
1357 |
|
|
%files plugins-radius |
1358 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cel_radius.so |
1359 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_radius.so |
1360 |
|
|
|
1361 |
|
|
%files plugins-saycountpl |
1362 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_saycountpl.so |
1363 |
|
|
|
1364 |
|
|
%files plugins-skinny |
1365 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/skinny.conf |
1366 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_skinny.so |
1367 |
|
|
|
1368 |
|
|
%files plugins-snmp |
1369 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_snmp.conf |
1370 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_snmp.so |
1371 |
|
|
|
1372 |
|
|
%files plugins-sqlite |
1373 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cdr_sqlite3_custom.conf |
1374 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cel_sqlite3_custom.conf |
1375 |
oden |
330160 |
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/res_config_sqlite3.conf |
1376 |
oden |
297552 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_sqlite3_custom.so |
1377 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cel_sqlite3_custom.so |
1378 |
oden |
330160 |
%attr(0755,root,root) %{_libdir}/asterisk/modules/res_config_sqlite3.so |
1379 |
oden |
297552 |
|
1380 |
|
|
%files plugins-speex |
1381 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/codec_speex.so |
1382 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_speex.so |
1383 |
|
|
|
1384 |
|
|
%files plugins-tds |
1385 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cel_tds.conf |
1386 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/cdr_tds.conf |
1387 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cel_tds.so |
1388 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/cdr_tds.so |
1389 |
|
|
|
1390 |
|
|
%files plugins-unistim |
1391 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/unistim.conf |
1392 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/chan_unistim.so |
1393 |
|
|
|
1394 |
|
|
%files plugins-voicemail |
1395 |
|
|
%attr(0640,asterisk,asterisk) %config(noreplace) %{_sysconfdir}/asterisk/voicemail.conf |
1396 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/func_vmcount.so |
1397 |
|
|
|
1398 |
|
|
%files plugins-voicemail-imap |
1399 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_directory_imap.so |
1400 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_voicemail_imap.so |
1401 |
|
|
|
1402 |
|
|
%if %{build_odbc} |
1403 |
|
|
%files plugins-voicemail-odbc |
1404 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_directory_odbc.so |
1405 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_voicemail_odbc.so |
1406 |
|
|
%endif |
1407 |
|
|
|
1408 |
|
|
%files plugins-voicemail-plain |
1409 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_directory_plain.so |
1410 |
|
|
%attr(0755,root,root) %{_libdir}/asterisk/modules/app_voicemail_plain.so |
1411 |
|
|
|
1412 |
oden |
400321 |
%files gui |
1413 |
|
|
%doc asterisk-gui/LICENSE asterisk-gui/README asterisk-gui/developer_info |
1414 |
|
|
%dir %attr(0750,asterisk,asterisk) /var/lib/asterisk/gui_backups |
1415 |
oden |
406927 |
%dir %attr(0750,asterisk,asterisk) /var/lib/asterisk/static-http |
1416 |
oden |
400321 |
%dir %attr(0755,asterisk,asterisk) /var/lib/asterisk/static-http/config |
1417 |
|
|
%dir %attr(0755,asterisk,asterisk) /var/lib/asterisk/static-http/config/stylesheets |
1418 |
|
|
%dir %attr(0755,asterisk,asterisk) /var/lib/asterisk/static-http/config/images |
1419 |
|
|
%dir %attr(0755,asterisk,asterisk) /var/lib/asterisk/static-http/config/private |
1420 |
|
|
%dir %attr(0755,asterisk,asterisk) /var/lib/asterisk/static-http/config/private/bkps |
1421 |
|
|
%dir %attr(0755,asterisk,asterisk) /var/lib/asterisk/static-http/config/js |
1422 |
|
|
%dir %attr(0755,asterisk,asterisk) /var/lib/asterisk/scripts |
1423 |
|
|
%attr(0644,asterisk,asterisk) /var/lib/asterisk/static-http/index.html |
1424 |
|
|
%attr(0644,asterisk,asterisk) /var/lib/asterisk/static-http/config/*.html |
1425 |
|
|
%attr(0644,asterisk,asterisk) /var/lib/asterisk/static-http/config/stylesheets/* |
1426 |
|
|
%attr(0644,asterisk,asterisk) /var/lib/asterisk/static-http/config/images/* |
1427 |
|
|
%attr(0644,asterisk,asterisk) /var/lib/asterisk/static-http/config/js/* |
1428 |
|
|
%attr(0755,asterisk,asterisk) /var/lib/asterisk/scripts/* |
1429 |
oden |
406929 |
%attr(0644,asterisk,asterisk) /var/lib/asterisk/static-http/*.html |
1430 |
|
|
%attr(0644,asterisk,asterisk) /var/lib/asterisk/static-http/*.css |
1431 |
|
|
%attr(0644,asterisk,asterisk) /var/lib/asterisk/static-http/*.js |
1432 |
|
|
%attr(0644,asterisk,asterisk) /var/lib/asterisk/static-http/*.xml |