]>
Commit | Line | Data |
---|---|---|
38e0bfb5 | 1 | ###################################################################################################################### |
72628d2e | 2 | # |
3 | # spec file for package freeswitch | |
4 | # | |
5 | # includes module(s): freeswitch-devel freeswitch-codec-passthru-amr freeswitch-codec-passthru-amrwb freeswitch-codec-passthru-g729 | |
b7623326 | 6 | # freeswitch-codec-passthru-g7231 freeswitch-lua freeswitch-perl freeswitch-python freeswitch-spidermonkey freeswitch-v8 |
048ee41e | 7 | # freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-hu freeswitch-lang-ru freeswitch-freetdm |
72628d2e | 8 | # |
9 | # Initial Version Copyright (C) 2007 Peter Nixon and Michal Bielicki, All Rights Reserved. | |
10 | # | |
11 | # This file is part of: | |
12 | # FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application | |
6e7d5d08 | 13 | # Copyright (C) 2005-2014, Anthony Minessale II <anthm@freeswitch.org> |
72628d2e | 14 | # |
15 | # This file and all modifications and additions to the pristine package are under the same license as the package itself. | |
16 | # | |
17 | # Contributor(s): Mike Jerris | |
5b38c22e KR |
18 | # Brian West |
19 | # Anthony Minessale II <anthm@freeswitch.org> | |
20 | # Raul Fragoso | |
21 | # Rupa Shomaker | |
22 | # Marc Olivier Chouinard | |
23 | # Raymond Chandler | |
24 | # Ken Rice <krice@freeswitch.org> | |
72aea1f5 | 25 | # Chris Rienzo <crienzo@grasshopper.com> |
72628d2e | 26 | # |
7a147e47 | 27 | # Maintainer(s): Ken Rice <krice@freeswitch.org> |
72628d2e | 28 | # |
38e0bfb5 | 29 | ###################################################################################################################### |
3ce98c4e MB |
30 | # Module build settings |
31 | %define build_sng_isdn 0 | |
32 | %define build_sng_ss7 0 | |
33 | %define build_sng_tc 0 | |
81c29bff | 34 | %define build_py26_esl 0 |
e7d04724 KR |
35 | %define build_timerfd 0 |
36 | %define build_mod_esl 0 | |
72aea1f5 CR |
37 | %define build_mod_rayo 1 |
38 | %define build_mod_ssml 1 | |
e7d04724 | 39 | |
3ce98c4e MB |
40 | %{?with_sang_tc:%define build_sng_tc 1 } |
41 | %{?with_sang_isdn:%define build_sng_isdn 1 } | |
42 | %{?with_sang_ss7:%define build_sng_ss7 1 } | |
81c29bff | 43 | %{?with_py26_esl:%define build_py26_esl 1 } |
e7d04724 KR |
44 | %{?with_timerfd:%define build_timerfd 1 } |
45 | %{?with_mod_esl:%define build_mod_esl 1 } | |
46 | ||
47 | %define version %{VERSION_NUMBER} | |
48 | %define release %{BUILD_NUMBER} | |
3ce98c4e | 49 | |
38e0bfb5 | 50 | ###################################################################################################################### |
72628d2e | 51 | # |
febad39b | 52 | # disable rpath checking |
e7d04724 KR |
53 | #%define __arch_install_post /usr/lib/rpm/check-buildroot |
54 | #%define _prefix /usr | |
55 | #%define prefix %{_prefix} | |
56 | #%define sysconfdir /etc/freeswitch | |
57 | #%define _sysconfdir %{sysconfdir} | |
58 | #%define logfiledir /var/log/freeswitch | |
59 | #%define _logfiledir %{logfiledir} | |
60 | #%define runtimedir /var/run/freeswitch | |
61 | #%define _runtimedir %{runtimedir} | |
62 | ||
63 | ###################################################################################################################### | |
64 | # Layout of packages FHS (Redhat/SUSE), FS (Standard FreeSWITCH layout using /usr/local), OPT (/opt based layout) | |
65 | %define packagelayout FHS | |
66 | ||
67 | %define PREFIX %{_prefix} | |
68 | %define EXECPREFIX %{_exec_prefix} | |
69 | %define BINDIR %{_bindir} | |
70 | %define SBINDIR %{_sbindir} | |
71 | %define LIBEXECDIR %{_libexecdir}/%name | |
72 | %define SYSCONFDIR %{_sysconfdir}/%name | |
73 | %define SHARESTATEDIR %{_sharedstatedir}/%name | |
74 | %define LOCALSTATEDIR %{_localstatedir}/lib/%name | |
75 | %define LIBDIR %{_libdir} | |
76 | %define INCLUDEDIR %{_includedir} | |
77 | %define _datarootdir %{_prefix}/share | |
78 | %define DATAROOTDIR %{_datarootdir} | |
79 | %define DATADIR %{_datadir} | |
80 | %define INFODIR %{_infodir} | |
81 | %define LOCALEDIR %{_datarootdir}/locale | |
82 | %define MANDIR %{_mandir} | |
83 | %define DOCDIR %{_defaultdocdir}/%name | |
84 | %define HTMLDIR %{_defaultdocdir}/%name/html | |
85 | %define DVIDIR %{_defaultdocdir}/%name/dvi | |
86 | %define PDFDIR %{_defaultdocdir}/%name/pdf | |
87 | %define PSDIR %{_defaultdocdir}/%name/ps | |
88 | %define LOGFILEDIR /var/log/%name | |
89 | %define MODINSTDIR %{_libdir}/%name/mod | |
90 | %define RUNDIR %{_localstatedir}/run/%name | |
91 | %define DBDIR %{LOCALSTATEDIR}/db | |
92 | %define HTDOCSDIR %{_datarootdir}/%name/htdocs | |
93 | %define SOUNDSDIR %{_datarootdir}/%name/sounds | |
94 | %define GRAMMARDIR %{_datarootdir}/%name/grammar | |
95 | %define SCRIPTDIR %{_datarootdir}/%name/scripts | |
96 | %define RECORDINGSDIR %{LOCALSTATEDIR}/recordings | |
97 | %define PKGCONFIGDIR %{_datarootdir}/%name/pkgconfig | |
98 | %define HOMEDIR %{LOCALSTATEDIR} | |
99 | ||
78cc2f40 | 100 | |
72628d2e | 101 | Name: freeswitch |
102 | Summary: FreeSWITCH open source telephony platform | |
e7d04724 | 103 | License: MPL1.1 |
72628d2e | 104 | Group: Productivity/Telephony/Servers |
e7d04724 KR |
105 | Version: %{version} |
106 | Release: %{release}%{?dist} | |
72628d2e | 107 | URL: http://www.freeswitch.org/ |
e7d04724 | 108 | Packager: Ken Rice |
78cc2f40 | 109 | Vendor: http://www.freeswitch.org/ |
72628d2e | 110 | |
38e0bfb5 | 111 | ###################################################################################################################### |
72628d2e | 112 | # |
38e0bfb5 | 113 | # Source files and where to get them |
72628d2e | 114 | # |
38e0bfb5 | 115 | ###################################################################################################################### |
a39025fd | 116 | Source0: http://files.freeswitch.org/%{name}-%{version}.tar.bz2 |
3ce98c4e | 117 | Source1: http://files.freeswitch.org/downloads/libs/celt-0.10.0.tar.gz |
9ec1e865 CR |
118 | Source2: http://files.freeswitch.org/downloads/libs/flite-1.5.4-current.tar.bz2 |
119 | Source3: http://files.freeswitch.org/downloads/libs/lame-3.98.4.tar.gz | |
1a4ee982 | 120 | Source4: http://files.freeswitch.org/downloads/libs/libshout-2.2.2.tar.gz |
a39025fd | 121 | Source5: http://files.freeswitch.org/downloads/libs/mpg123-1.13.2.tar.gz |
b8a5cac2 | 122 | #Source6: http://files.freeswitch.org/downloads/libs/openldap-2.4.11.tar.gz |
ab670497 | 123 | Source6: http://files.freeswitch.org/downloads/libs/pocketsphinx-0.7.tar.gz |
f5cc10bc | 124 | Source7: http://files.freeswitch.org/downloads/libs/soundtouch-1.7.1.tar.gz |
ab670497 KR |
125 | Source8: http://files.freeswitch.org/downloads/libs/sphinxbase-0.7.tar.gz |
126 | Source9: http://files.freeswitch.org/downloads/libs/communicator_semi_6000_20080321.tar.gz | |
127 | Source10: http://files.freeswitch.org/downloads/libs/libmemcached-0.32.tar.gz | |
128 | Source11: http://files.freeswitch.org/downloads/libs/json-c-0.9.tar.gz | |
23534be6 | 129 | Source12: http://files.freeswitch.org/downloads/libs/opus-1.1.tar.gz |
b7623326 | 130 | Source13: http://files.freeswitch.org/downloads/libs/v8-3.24.14.tar.bz2 |
1a4ee982 | 131 | Prefix: %{prefix} |
72628d2e | 132 | |
133 | ||
38e0bfb5 | 134 | ###################################################################################################################### |
72628d2e | 135 | # |
1a4ee982 | 136 | # Build Dependencies |
72628d2e | 137 | # |
38e0bfb5 | 138 | ###################################################################################################################### |
78cc2f40 MJ |
139 | |
140 | %if 0%{?suse_version} > 100 | |
141 | #BuildRequires: openldap2-devel | |
142 | BuildRequires: lzo-devel | |
143 | %else | |
b8a5cac2 | 144 | #BuildRequires: openldap-devel |
78cc2f40 MJ |
145 | %endif |
146 | BuildRequires: autoconf | |
147 | BuildRequires: automake | |
148 | BuildRequires: curl-devel | |
149 | BuildRequires: gcc-c++ | |
150 | BuildRequires: gnutls-devel | |
151 | BuildRequires: libtool >= 1.5.17 | |
152 | BuildRequires: ncurses-devel | |
153 | BuildRequires: openssl-devel | |
154 | BuildRequires: perl | |
93f774a7 | 155 | %if 0%{?fedora_version} >= 8 || 0%{?rhel} >= 6 |
7438e24d | 156 | BuildRequires: perl-ExtUtils-Embed |
157 | %endif | |
78cc2f40 | 158 | BuildRequires: pkgconfig |
93f774a7 | 159 | %if 0%{?rhel} < 6 && 0%{?fedora} <= 6 |
78cc2f40 | 160 | BuildRequires: termcap |
af0dc500 | 161 | %endif |
78cc2f40 MJ |
162 | BuildRequires: unixODBC-devel |
163 | BuildRequires: gdbm-devel | |
164 | BuildRequires: db4-devel | |
165 | BuildRequires: python-devel | |
166 | BuildRequires: libogg-devel | |
167 | BuildRequires: libvorbis-devel | |
1e723764 | 168 | BuildRequires: libjpeg-devel |
78cc2f40 MJ |
169 | #BuildRequires: mono-devel |
170 | BuildRequires: alsa-lib-devel | |
171 | BuildRequires: which | |
172 | BuildRequires: zlib-devel | |
493125bd | 173 | BuildRequires: e2fsprogs-devel |
1a4ee982 | 174 | BuildRequires: libtheora-devel |
3ce98c4e MB |
175 | BuildRequires: libxml2-devel |
176 | BuildRequires: bison | |
81c29bff MB |
177 | %if %{build_py26_esl} |
178 | BuildRequires: python26-devel | |
179 | Requires: python26 | |
180 | %endif | |
72628d2e | 181 | Requires: alsa-lib |
182 | Requires: libogg | |
183 | Requires: libvorbis | |
184 | Requires: curl | |
185 | Requires: ncurses | |
186 | Requires: openssl | |
187 | Requires: unixODBC | |
188 | Requires: libjpeg | |
b8a5cac2 | 189 | #Requires: openldap |
72628d2e | 190 | Requires: db4 |
191 | Requires: gdbm | |
192 | Requires: zlib | |
55960b55 MB |
193 | Requires: libtiff |
194 | Requires: python | |
1a4ee982 | 195 | Requires: libtheora |
3ce98c4e | 196 | Requires: libxml2 |
78cc2f40 MJ |
197 | |
198 | %if %{?suse_version:1}0 | |
199 | %if 0%{?suse_version} > 910 | |
200 | #BuildRequires: autogen | |
201 | %endif | |
202 | %endif | |
203 | ||
204 | %if 0%{?suse_version} > 800 | |
205 | #PreReq: /usr/sbin/useradd /usr/sbin/groupadd | |
206 | PreReq: %insserv_prereq %fillup_prereq | |
207 | %endif | |
208 | ||
72628d2e | 209 | |
38e0bfb5 | 210 | ###################################################################################################################### |
72628d2e | 211 | # |
38e0bfb5 | 212 | # Where the packages are going to be built |
72628d2e | 213 | # |
38e0bfb5 | 214 | ###################################################################################################################### |
78cc2f40 MJ |
215 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
216 | ||
217 | %description | |
218 | FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice | |
219 | and chat driven products scaling from a soft-phone up to a soft-switch. It can be used as a | |
220 | simple switching engine, a media gateway or a media server to host IVR applications using | |
221 | simple scripts or XML to control the callflow. | |
222 | ||
93f8288c | 223 | We support various communication technologies such as SIP, H.323 and GoogleTalk making |
78cc2f40 MJ |
224 | it easy to interface with other open source PBX systems such as sipX, OpenPBX, Bayonne, YATE or Asterisk. |
225 | ||
226 | We also support both wide and narrow band codecs making it an ideal solution to bridge legacy | |
227 | devices to the future. The voice channels and the conference bridge module all can operate | |
228 | at 8, 16 or 32 kilohertz and can bridge channels of different rates. | |
229 | ||
230 | FreeSWITCH runs on several operating systems including Windows, Max OS X, Linux, BSD and Solaris | |
231 | on both 32 and 64 bit platforms. | |
232 | ||
233 | Our developers are heavily involved in open source and have donated code and other resources to | |
234 | other telephony projects including sipXecs, OpenSER, Asterisk, CodeWeaver and OpenPBX. | |
235 | ||
72628d2e | 236 | |
38e0bfb5 | 237 | ###################################################################################################################### |
72628d2e | 238 | # |
38e0bfb5 MB |
239 | # Sub Package definitions. Description and Runtime Requirements go here |
240 | # What goes into which package is in the files section after the whole build enchilada | |
72628d2e | 241 | # |
38e0bfb5 | 242 | ###################################################################################################################### |
72628d2e | 243 | |
244 | ||
78cc2f40 MJ |
245 | %package devel |
246 | Summary: Development package for FreeSWITCH open source telephony platform | |
247 | Group: System/Libraries | |
248 | Requires: %{name} = %{version}-%{release} | |
249 | ||
250 | %description devel | |
251 | FreeSWITCH development files | |
252 | ||
e7d04724 KR |
253 | ###################################################################################################################### |
254 | # FreeSWITCH Application Modules | |
255 | ###################################################################################################################### | |
256 | %package application-abstraction | |
257 | Summary: FreeSWITCH mod_abstraction | |
78cc2f40 MJ |
258 | Group: System/Libraries |
259 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 260 | |
e7d04724 KR |
261 | %description application-abstraction |
262 | Provide an abstraction to FreeSWITCH API calls | |
263 | ||
264 | %package application-avmd | |
265 | Summary: FreeSWITCH voicemail detector | |
266 | Group: System/Libraries | |
267 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 268 | |
e7d04724 KR |
269 | %description application-avmd |
270 | Provide an voicemail beep detector for FreeSWITCH | |
78cc2f40 | 271 | |
e7d04724 KR |
272 | %package application-blacklist |
273 | Summary: FreeSWITCH blacklist module | |
78cc2f40 MJ |
274 | Group: System/Libraries |
275 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 276 | |
e7d04724 KR |
277 | %description application-blacklist |
278 | Provide black/white listing of various fields used for routing calls in | |
279 | FreeSWITCH | |
78cc2f40 | 280 | |
e7d04724 KR |
281 | %package application-callcenter |
282 | Summary: FreeSWITCH mod_callcenter Call Queuing Application | |
78cc2f40 MJ |
283 | Group: System/Libraries |
284 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 285 | |
e7d04724 KR |
286 | %description application-callcenter |
287 | Provide Automated Call Distribution capabilities for FreeSWITCH | |
78cc2f40 | 288 | |
e7d04724 KR |
289 | %package application-cidlookup |
290 | Summary: FreeSWITCH mod_cidlookup | |
78cc2f40 MJ |
291 | Group: System/Libraries |
292 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 293 | |
e7d04724 KR |
294 | %description application-cidlookup |
295 | Provide FreeSWITCH access to third party CallerID Name Databases via HTTP | |
78cc2f40 | 296 | |
e7d04724 KR |
297 | %package application-conference |
298 | Summary: FreeSWITCH mod_conference | |
299 | Group: System/Libraries | |
300 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 301 | |
e7d04724 KR |
302 | %description application-conference |
303 | Provide FreeSWITCH Conference Bridge Services. | |
78cc2f40 | 304 | |
e7d04724 KR |
305 | %package application-curl |
306 | Summary: FreeSWITCH mod_curl | |
307 | Group: System/Libraries | |
308 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 309 | |
e7d04724 KR |
310 | %description application-curl |
311 | Provide FreeSWITCH dialplan access to CURL | |
78cc2f40 | 312 | |
e7d04724 KR |
313 | %package application-db |
314 | Summary: FreeSWITCH mod_db | |
315 | Group: System/Libraries | |
316 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 317 | |
e7d04724 KR |
318 | %description application-db |
319 | mod_db implements an API and dialplan interface to a database backend for | |
320 | FreeSWITCH. The database can either be in sqlite or ODBC. It also provides | |
321 | support for group dialing and provides database backed limit interface. | |
78cc2f40 | 322 | |
e7d04724 KR |
323 | %package application-directory |
324 | Summary: FreeSWITCH mod_directory | |
78cc2f40 MJ |
325 | Group: System/Libraries |
326 | Requires: %{name} = %{version}-%{release} | |
327 | ||
e7d04724 KR |
328 | %description application-directory |
329 | Provides FreeSWITCH mod_directory, a dial by name directory application. | |
78cc2f40 | 330 | |
e7d04724 KR |
331 | %package application-distributor |
332 | Summary: FreeSWITCH mod_distributor | |
333 | Group: System/Libraries | |
334 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 335 | |
e7d04724 KR |
336 | %description application-distributor |
337 | Provides FreeSWITCH mod_distributor, a simple round-robbin style distribution | |
338 | to call gateways. | |
339 | ||
340 | %package application-easyroute | |
341 | Summary: FreeSWITCH mod_easyroute | |
78cc2f40 | 342 | Group: System/Libraries |
e7d04724 | 343 | Requires: %{name} = %{version}-%{release} |
78cc2f40 | 344 | |
e7d04724 KR |
345 | %description application-easyroute |
346 | Provides FreeSWITCH mod_easyroute, a simple, easy to use DB Backed DID routing | |
347 | Engine. Uses ODBC to connect to the DB of your choice. | |
78cc2f40 | 348 | |
e7d04724 KR |
349 | %package application-enum |
350 | Summary: FreeSWITCH mod_enum | |
046fb90d | 351 | Group: System/Libraries |
e7d04724 | 352 | Requires: %{name} = %{version}-%{release} |
78cc2f40 | 353 | |
e7d04724 KR |
354 | %description application-enum |
355 | Provides FreeSWITCH mod_enum, a ENUM dialplan, with API and Dialplan extensions | |
356 | supporting ENUM lookups. | |
78cc2f40 | 357 | |
e7d04724 KR |
358 | %package application-esf |
359 | Summary: FreeSWITCH mod_esf | |
046fb90d | 360 | Group: System/Libraries |
e7d04724 | 361 | Requires: %{name} = %{version}-%{release} |
78cc2f40 | 362 | |
e7d04724 KR |
363 | %description application-esf |
364 | Provides FreeSWITCH mod_esf, Extra Sip Functionality such as Multicast Support | |
78cc2f40 | 365 | |
e7d04724 KR |
366 | %if %{build_mod_esl} |
367 | %package application-esl | |
368 | Summary: FreeSWITCH mod_esl | |
046fb90d | 369 | Group: System/Libraries |
e7d04724 | 370 | Requires: %{name} = %{version}-%{release} |
78cc2f40 | 371 | |
e7d04724 KR |
372 | %description application-esl |
373 | Provides FreeSWITCH mod_esl, add api commands for remote ESL commands | |
374 | %endif | |
78cc2f40 | 375 | |
e7d04724 KR |
376 | %package application-expr |
377 | Summary: FreeSWITCH mod_expr | |
046fb90d | 378 | Group: System/Libraries |
e7d04724 | 379 | Requires: %{name} = %{version}-%{release} |
0630c54c | 380 | |
e7d04724 KR |
381 | %description application-expr |
382 | Provides FreeSWITCH mod_expr, implements Brian Allen Vanderburg's ExprEval | |
383 | expression evaluation library for FreeSWITCH. | |
0630c54c | 384 | |
e7d04724 KR |
385 | %package application-fifo |
386 | Summary: FreeSWITCH mod_fifo | |
387 | Group: System/Libraries | |
388 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 389 | |
e7d04724 KR |
390 | %description application-fifo |
391 | Provides FreeSWITCH mod_fifo, a parking-like app which allows you to make | |
392 | custom call queues | |
78cc2f40 | 393 | |
e7d04724 KR |
394 | %package application-fsk |
395 | Summary: FreeSWITCH mod_fsk | |
396 | Group: System/Libraries | |
397 | Requires: %{name} = %{version}-%{release} | |
78cc2f40 | 398 | |
e7d04724 KR |
399 | %description application-fsk |
400 | Provides FreeSWITCH mod_fsk, a module to send and receive information via | |
401 | Frequency-shift keying | |
3ce98c4e | 402 | |
e7d04724 KR |
403 | %package application-fsv |
404 | Summary: FreeSWITCH mod_fsv | |
405 | Group: System/Libraries | |
3ce98c4e | 406 | Requires: %{name} = %{version}-%{release} |
3ce98c4e | 407 | |
e7d04724 KR |
408 | %description application-fsv |
409 | Provides FreeSWITCH mod_fsk, implements functions to record and play back video | |
3ce98c4e | 410 | |
e7d04724 KR |
411 | %package application-hash |
412 | Summary: FreeSWITCH mod_hash | |
413 | Group: System/Libraries | |
414 | Requires: %{name} = %{version}-%{release} | |
3ce98c4e | 415 | |
e7d04724 KR |
416 | %description application-hash |
417 | Provides FreeSWITCH mod_hash, implements an API and application interface for | |
418 | manipulating a hash table. It also provides a limit backend. | |
3ce98c4e | 419 | |
e7d04724 KR |
420 | %package application-httapi |
421 | Summary: FreeSWITCH mod_httapi | |
422 | Group: System/Libraries | |
423 | Requires: %{name} = %{version}-%{release} | |
3ce98c4e | 424 | |
e7d04724 KR |
425 | %description application-httapi |
426 | Provides FreeSWITCH mod_httapi, provides an HTTP based Telephony API using a | |
427 | standard FreeSWITCH application interface as well as a cached http file format | |
428 | interface | |
3ce98c4e | 429 | |
e7d04724 KR |
430 | %package application-http-cache |
431 | Summary: FreeSWITCH mod_http_cache | |
432 | Group: System/Libraries | |
433 | Requires: %{name} = %{version}-%{release} | |
3ce98c4e | 434 | |
e7d04724 KR |
435 | %description application-http-cache |
436 | Provides FreeSWITCH mod_http_cache, allows one to make a HTTP GET request to | |
437 | cache a document. The primary use case is to download and cache audio files | |
438 | from a web server. | |
3ce98c4e | 439 | |
e7d04724 KR |
440 | %package application-lcr |
441 | Summary: FreeSWITCH mod_lcr | |
442 | Group: System/Libraries | |
443 | Requires: %{name} = %{version}-%{release} | |
3ce98c4e | 444 | |
e7d04724 KR |
445 | %description application-lcr |
446 | Provides FreeSWITCH mod_lcr, provide basic Least Cost Routing Services | |
3ce98c4e | 447 | |
e7d04724 KR |
448 | %package application-limit |
449 | Summary: FreeSWITCH mod_limit | |
450 | Group: System/Libraries | |
451 | Requires: %{name} = %{version}-%{release} | |
3ce98c4e | 452 | |
e7d04724 KR |
453 | %description application-limit |
454 | Provides FreeSWITCH mod_limit, provide application to limit both concurrent and call per time period | |
3ce98c4e | 455 | |
e7d04724 KR |
456 | %package application-memcache |
457 | Summary: FreeSWITCH mod_memcache | |
3ce98c4e MB |
458 | Group: System/Libraries |
459 | Requires: %{name} = %{version}-%{release} | |
3ce98c4e | 460 | |
e7d04724 KR |
461 | %description application-memcache |
462 | Provides FreeSWITCH mod_memcache, implements an API interface to memcached which | |
463 | is a "high-performance, distributed memory object caching system, generic in | |
464 | nature, but intended for use in speeding up dynamic web applications by | |
465 | alleviating database load." | |
3ce98c4e | 466 | |
e7d04724 KR |
467 | %package application-nibblebill |
468 | Summary: FreeSWITCH mod_nibblebill | |
469 | Group: System/Libraries | |
470 | Requires: %{name} = %{version}-%{release} | |
72628d2e | 471 | |
e7d04724 KR |
472 | %description application-nibblebill |
473 | Provides FreeSWITCH mod_nibblebill, provides a credit/debit module for | |
474 | FreeSWITCH to allow real-time debiting of credit or cash from a database | |
475 | while calls are in progress. | |
78cc2f40 | 476 | |
e7d04724 KR |
477 | %package application-redis |
478 | Summary: FreeSWITCH mod_redis | |
479 | Group: System/Libraries | |
480 | Requires: %{name} = %{version}-%{release} | |
481 | ||
482 | %description application-redis | |
483 | Provides FreeSWITCH mod_redis, access to the redis key value pair db system from | |
484 | FreeSWITCH | |
485 | ||
486 | %package application-rss | |
487 | Summary: FreeSWITCH mod_rss | |
488 | Group: System/Libraries | |
489 | Requires: %{name} = %{version}-%{release} | |
490 | ||
491 | %description application-rss | |
492 | Provides FreeSWITCH mod_rss, edisrse and read an XML based RSS feed, then read | |
493 | the entries aloud via a TTS engine | |
494 | ||
495 | %package application-sms | |
496 | Summary: FreeSWITCH mod_sms | |
497 | Group: System/Libraries | |
498 | Requires: %{name} = %{version}-%{release} | |
499 | ||
500 | %description application-sms | |
501 | Provides FreeSWITCH mod_sms, provide a way to route messages in freeswitch, | |
502 | potentially allowing one to build a powerful chatting system like in XMPP using | |
503 | using SIP SIMPLE on SIP clients | |
504 | ||
505 | %package application-snapshot | |
506 | Summary: FreeSWITCH mod_snapshot | |
507 | Group: System/Libraries | |
508 | Requires: %{name} = %{version}-%{release} | |
509 | ||
510 | %description application-snapshot | |
511 | Provides FreeSWITCH mod_snapshot, allows recording a sliding window of audio | |
512 | and taking snapshots to disk. | |
513 | ||
514 | %package application-snom | |
515 | Summary: FreeSWITCH mod_snom | |
516 | Group: System/Libraries | |
517 | Requires: %{name} = %{version}-%{release} | |
518 | ||
519 | %description application-snom | |
520 | Provides FreeSWITCH mod_snom, an application for controlling the functionality | |
521 | and appearance of the programmable softkeys on Snom phones | |
522 | ||
523 | %package application-soundtouch | |
524 | Summary: FreeSWITCH mod_soundtouch | |
525 | Group: System/Libraries | |
526 | Requires: %{name} = %{version}-%{release} | |
527 | ||
528 | %description application-soundtouch | |
529 | Provides FreeSWITCH mod_soundtouch, uses the soundtouch library, which can do | |
530 | pitch shifting and other audio effects, so you can pipe the audio of a call | |
531 | (or any other channel audio) through this module and achieve those effects. You | |
532 | can specifically adjust pitch, rate, and tempo. | |
533 | ||
534 | %package application-spy | |
535 | Summary: FreeSWITCH mod_spy | |
536 | Group: System/Libraries | |
537 | Requires: %{name} = %{version}-%{release} | |
538 | ||
539 | %description application-spy | |
540 | Provides FreeSWITCH mod_spy, implements userspy application which provides | |
541 | persistent eavesdrop on all channels bridged to a certain user | |
542 | ||
543 | %package application-stress | |
544 | Summary: FreeSWITCH mod_stress | |
545 | Group: System/Libraries | |
546 | Requires: %{name} = %{version}-%{release} | |
547 | ||
548 | %description application-stress | |
549 | Provides FreeSWITCH mod_stress. mod_stress attempts to detect stress in a | |
550 | person's voice and generates FreeSWITCH events based on that data. | |
551 | ||
552 | %package application-valet_parking | |
553 | Summary: FreeSWITCH mod_valet_parking | |
554 | Group: System/Libraries | |
555 | Requires: %{name} = %{version}-%{release} | |
556 | ||
557 | %description application-valet_parking | |
558 | Provides FreeSWITCH mod_valet_parking. Provides 'Call Parking' in the switch | |
559 | as opposed to on the phone and allows for a number of options to handle call | |
560 | retrieval | |
561 | ||
562 | %package application-voicemail | |
563 | Summary: FreeSWITCH mod_voicemail | |
564 | Group: System/Libraries | |
565 | Requires: %{name} = %{version}-%{release} | |
566 | ||
567 | %description application-voicemail | |
568 | Provides FreeSWITCH mod_voicemail. Implements Voicemail Application | |
569 | ||
570 | %package application-voicemail-ivr | |
571 | Summary: FreeSWITCH mod_voicemail_ivr | |
572 | Group: System/Libraries | |
573 | Requires: %{name} = %{version}-%{release} | |
574 | ||
575 | %description application-voicemail-ivr | |
576 | Provides FreeSWITCH mod_voicemail_ivr. Provides a custimizable audio navigation | |
577 | system for backend voicemail systems | |
78cc2f40 | 578 | |
38e0bfb5 | 579 | ###################################################################################################################### |
e7d04724 | 580 | # FreeSWITCH ASR TTS Modules |
38e0bfb5 | 581 | ###################################################################################################################### |
e7d04724 KR |
582 | |
583 | %package asrtts-flite | |
584 | Summary: FreeSWITCH mod_flite | |
585 | Group: System/Libraries | |
586 | Requires: %{name} = %{version}-%{release} | |
587 | ||
588 | %description asrtts-flite | |
589 | Provides FreeSWITCH mod_flite, a interface to the flite text to speech engine | |
590 | ||
591 | %package asrtts-pocketsphinx | |
592 | Summary: FreeSWITCH mod_pocketsphinx | |
593 | Group: System/Libraries | |
594 | Requires: %{name} = %{version}-%{release} | |
595 | ||
596 | %description asrtts-pocketsphinx | |
597 | Provides FreeSWITCH mod_pocketsphinx, a interface to the OpenSource | |
598 | Pocketsphinx speech recognition engine | |
599 | ||
600 | %package asrtts-tts-commandline | |
601 | Summary: FreeSWITCH mod_tts_commandline | |
602 | Group: System/Libraries | |
603 | Requires: %{name} = %{version}-%{release} | |
604 | ||
605 | %description asrtts-tts-commandline | |
606 | Provides FreeSWITCH mod_tts_commandline, Run a command line and play the | |
607 | output file. | |
608 | ||
609 | %package asrtts-unimrcp | |
610 | Summary: FreeSWITCH mod_unimrcp | |
611 | Group: System/Libraries | |
612 | Requires: %{name} = %{version}-%{release} | |
613 | ||
614 | %description asrtts-unimrcp | |
615 | Provides FreeSWITCH mod_unimrcp, allows communication with Media Resource | |
616 | Control Protocol (MRCP) servers | |
617 | ||
38e0bfb5 | 618 | ###################################################################################################################### |
e7d04724 | 619 | # FreeSWITCH Codec Modules |
38e0bfb5 | 620 | ###################################################################################################################### |
2b11b807 | 621 | |
e7d04724 KR |
622 | %package codec-passthru-amr |
623 | Summary: Pass-through AMR Codec support for FreeSWITCH open source telephony platform | |
624 | Group: System/Libraries | |
625 | Requires: %{name} = %{version}-%{release} | |
626 | Conflicts: codec-amr | |
627 | ||
628 | %description codec-passthru-amr | |
629 | Pass-through AMR Codec support for FreeSWITCH open source telephony platform | |
630 | ||
631 | %package codec-passthru-amrwb | |
632 | Summary: Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform | |
633 | Group: System/Libraries | |
634 | Requires: %{name} = %{version}-%{release} | |
635 | Conflicts: codec-amrwb | |
636 | ||
637 | %description codec-passthru-amrwb | |
638 | Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform | |
639 | ||
640 | %package codec-bv | |
641 | Summary: BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform | |
642 | Group: System/Libraries | |
643 | Requires: %{name} = %{version}-%{release} | |
644 | ||
645 | %description codec-bv | |
646 | BroadVoice16 and BroadVoice32 WideBand Codec support for FreeSWITCH open source telephony platform | |
647 | ||
648 | %package codec-celt | |
649 | Summary: CELT ultra low delay Codec support for FreeSWITCH open source telephony platform | |
650 | Group: System/Libraries | |
651 | Requires: %{name} = %{version}-%{release} | |
652 | ||
653 | %description codec-celt | |
654 | CELT ultra low delay Codec support for FreeSWITCH open source telephony platform | |
655 | ||
656 | %package codec-codec2 | |
657 | Summary: Codec2 Narrow Band Codec support for FreeSWITCH open source telephony platform | |
658 | Group: System/Libraries | |
659 | Requires: %{name} = %{version}-%{release} | |
660 | ||
661 | %description codec-codec2 | |
662 | CODEC2 narrow band codec support for FreeSWITCH open source telephony platform. | |
663 | CODEC2 was created by the developers of Speex. | |
664 | ||
665 | %package codec-passthru-g723_1 | |
666 | Summary: Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform | |
667 | Group: System/Libraries | |
668 | Requires: %{name} = %{version}-%{release} | |
669 | Conflicts: codec-g723_1 | |
670 | ||
671 | %description codec-passthru-g723_1 | |
672 | Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform | |
673 | ||
674 | %package codec-passthru-g729 | |
675 | Summary: Pass-through g729 Codec support for FreeSWITCH open source telephony platform | |
676 | Group: System/Libraries | |
677 | Requires: %{name} = %{version}-%{release} | |
678 | Conflicts: codec-com-g729 | |
679 | ||
680 | %description codec-passthru-g729 | |
681 | Pass-through g729 Codec support for FreeSWITCH open source telephony platform | |
682 | ||
683 | %package codec-h26x | |
684 | Summary: H.263/H.264 Video Codec support for FreeSWITCH open source telephony platform | |
685 | Group: System/Libraries | |
686 | Requires: %{name} = %{version}-%{release} | |
687 | ||
688 | %description codec-h26x | |
689 | H.263/H.264 Video Codec support for FreeSWITCH open source telephony platform | |
690 | ||
691 | %package codec-ilbc | |
692 | Summary: iLCB Codec support for FreeSWITCH open source telephony platform | |
693 | Group: System/Libraries | |
694 | Requires: %{name} = %{version}-%{release} | |
695 | ||
696 | %description codec-ilbc | |
697 | iLBC Codec support for FreeSWITCH open source telephony platform | |
698 | ||
699 | %package codec-isac | |
700 | Summary: iSAC Codec support for FreeSWITCH open source telephony platform | |
701 | Group: System/Libraries | |
702 | Requires: %{name} = %{version}-%{release} | |
703 | ||
704 | %description codec-isac | |
705 | iSAC Codec support for FreeSWITCH open source telephony platform | |
706 | ||
16133053 KR |
707 | %package codec-vp8 |
708 | Summary: vp8 Codec support for FreeSWITCH open source telephony platform | |
709 | Group: System/Libraries | |
710 | Requires: %{name} = %{version}-%{release} | |
711 | ||
712 | %description codec-vp8 | |
713 | iSAC Codec support for FreeSWITCH open source telephony platform | |
714 | ||
e7d04724 KR |
715 | %package codec-mp4v |
716 | Summary: MP4V Video Codec support for FreeSWITCH open source telephony platform | |
717 | Group: System/Libraries | |
718 | Requires: %{name} = %{version}-%{release} | |
719 | ||
720 | %description codec-mp4v | |
721 | MP4V Video Codec support for FreeSWITCH open source telephony platform | |
722 | ||
723 | %package codec-opus | |
724 | Summary: Opus Codec support for FreeSWITCH open source telephony platform | |
725 | Group: System/Libraries | |
726 | Requires: %{name} = %{version}-%{release} | |
727 | ||
728 | %description codec-opus | |
729 | OPUS Codec support for FreeSWITCH open source telephony platform | |
730 | ||
731 | %if %{build_sng_tc} | |
732 | %package sangoma-codec | |
733 | Summary: Sangoma D100 and D500 Codec Card Support | |
734 | Group: System/Libraries | |
735 | Requires: %{name} = %{version}-%{release} | |
736 | Requires: sng-tc-linux | |
737 | BuildRequires: sng-tc-linux | |
738 | ||
739 | %description sangoma-codec | |
740 | Sangoma D100 and D500 Codec Card Support | |
741 | ||
742 | %endif | |
743 | ||
744 | %package codec-silk | |
745 | Summary: Silk Codec support for FreeSWITCH open source telephony platform | |
746 | Group: System/Libraries | |
747 | Requires: %{name} = %{version}-%{release} | |
748 | ||
749 | %description codec-silk | |
750 | Silk Codec (from Skype) support for FreeSWITCH open source telephony platform | |
751 | ||
752 | %package codec-siren | |
753 | Summary: Siren Codec support for FreeSWITCH open source telephony platform | |
754 | Group: System/Libraries | |
755 | Requires: %{name} = %{version}-%{release} | |
756 | ||
757 | %description codec-siren | |
758 | Siren Codec support for FreeSWITCH open source telephony platform. Using | |
759 | mod_siren in a commercial product will require you to acquire a patent license | |
760 | directly from Polycom(R) for your company. | |
761 | see http://www.polycom.com/usa/en/company/about_us/technology/siren_g7221/siren_g7221.html | |
762 | and http://www.polycom.com/usa/en/company/about_us/technology/siren14_g7221c/siren14_g7221c.html | |
763 | At the time of this packaging, Polycom does not charge for licensing. | |
764 | ||
e7d04724 KR |
765 | %package codec-theora |
766 | Summary: Theora Video Codec support for FreeSWITCH open source telephony platform | |
767 | Group: System/Libraries | |
768 | Requires: %{name} = %{version}-%{release} | |
769 | ||
770 | %description codec-theora | |
771 | Theora Video Codec support for FreeSWITCH open source telephony platform. | |
772 | ||
773 | ###################################################################################################################### | |
774 | # FreeSWITCH Directory Modules | |
775 | ###################################################################################################################### | |
776 | ||
b8a5cac2 KR |
777 | #%package directory-ldap |
778 | #Summary: LDAP Directory support for FreeSWITCH open source telephony platform | |
779 | #Group: System/Libraries | |
780 | #Requires: %{name} = %{version}-%{release} | |
e7d04724 | 781 | |
b8a5cac2 KR |
782 | #%description directory-ldap |
783 | #LDAP Directory support for FreeSWITCH open source telephony platform. | |
e7d04724 KR |
784 | |
785 | ###################################################################################################################### | |
786 | # FreeSWITCH Endpoint Modules | |
787 | ###################################################################################################################### | |
788 | ||
789 | %package endpoint-dingaling | |
790 | Summary: Generic XMPP support for FreeSWITCH open source telephony platform | |
791 | Group: System/Libraries | |
792 | Requires: %{name} = %{version}-%{release} | |
793 | ||
794 | %description endpoint-dingaling | |
795 | XMPP support for FreeSWITCH open source telephony platform. Allows FreeSWITCH | |
796 | to be used as a client for GoogleTalk or other XMPP Servers. | |
797 | ||
798 | #%package endpoint-gsmopen | |
799 | #Summary: Generic GSM enpoint support for FreeSWITCH open source telephony platform | |
800 | #Group: System/Libraries | |
801 | #Requires: %{name} = %{version}-%{release} | |
802 | # | |
803 | #%description endpoint-gsmopen | |
804 | #GSMopen is an endpoint (channel driver) that allows an SMS to be sent or | |
805 | #received from FreeSWITCH as well as incoming and outgoing GSM voice calls. | |
806 | #SMS is handled via the standard CHAT API in FreeSWITCH. | |
807 | ||
808 | #%package endpoint-h323 | |
809 | #Summary: H.323 enpoint support for FreeSWITCH open source telephony platform | |
810 | #Group: System/Libraries | |
811 | #Requires: %{name} = %{version}-%{release} | |
812 | # | |
813 | #%description endpoint-h323 | |
814 | #H.323 enpoint support for FreeSWITCH open source telephony platform | |
815 | ||
816 | #%package endpoint-khomp | |
817 | #Summary: khomp endpoint support for FreeSWITCH open source telephony platform | |
818 | #Group: System/Libraries | |
819 | #Requires: %{name} = %{version}-%{release} | |
820 | # | |
821 | #%description endpoint-khomp | |
822 | #Khomp hardware endpoint support for FreeSWITCH open source telephony platform. | |
823 | ||
824 | %package endpoint-portaudio | |
825 | Summary: PortAudio endpoint support for FreeSWITCH open source telephony platform | |
826 | Group: System/Libraries | |
827 | Requires: %{name} = %{version}-%{release} | |
828 | Requires: alsa-lib | |
829 | BuildRequires: alsa-lib-devel | |
830 | ||
831 | %description endpoint-portaudio | |
832 | PortAudio endpoint support for FreeSWITCH open source telephony platform. | |
833 | ||
834 | %package endpoint-rtmp | |
835 | Summary: RTPM Endpoint support for FreeSWITCH open source telephony platform | |
836 | Group: System/Libraries | |
837 | Requires: %{name} = %{version}-%{release} | |
838 | ||
839 | %description endpoint-rtmp | |
840 | RTMP Endpoint support for FreeSWITCH open source telephony platform. Allows FreeSWITCH | |
841 | to be used from a RTMP client. See http://wiki.freeswitch.org/wiki/Mod_rtmp#Flex_Client | |
842 | for the OpenSouce FreeSWITCH backed Client. | |
843 | ||
844 | %package endpoint-skinny | |
845 | Summary: Skinny/SCCP endpoint support for FreeSWITCH open source telephony platform | |
846 | Group: System/Libraries | |
847 | Requires: %{name} = %{version}-%{release} | |
848 | ||
849 | %description endpoint-skinny | |
850 | SCCP/Skinny support for FreeSWITCH open source telephony platform. | |
851 | ||
852 | %package freetdm | |
853 | Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH | |
854 | Group: System/Libraries | |
855 | Requires: %{name} = %{version}-%{release} | |
856 | ||
857 | %description freetdm | |
858 | FreeTDM | |
859 | ||
860 | %if %{build_sng_isdn} | |
861 | ||
862 | %package freetdm-sng-isdn | |
863 | Summary: Sangoma ISDN Module for FreeTDM | |
864 | Group: System/Libraries | |
865 | Requires: %{name} = %{version}-%{release} | |
866 | Requires: %{name}-freetdm = %{version}-%{release} | |
867 | Requires: wanpipe | |
868 | Requires: libsng_isdn | |
869 | BuildRequires: wanpipe | |
870 | BuildRequires: libsng_isdn | |
871 | ||
872 | %description freetdm-sng-isdn | |
873 | Sangoma ISDN Module for freetdm | |
874 | ||
875 | %endif | |
876 | ||
877 | %if %{build_sng_ss7} | |
878 | ||
879 | %package freetdm-sng-ss7 | |
880 | Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH, Sangoma SS7 Module | |
881 | Group: System/Libraries | |
882 | Requires: %{name} = %{version}-%{release} | |
883 | Requires: %{name}-freetdm = %{version}-%{release} | |
884 | Requires: wanpipe | |
885 | Requires: libsng_ss7 | |
886 | BuildRequires: wanpipe | |
887 | BuildRequires: libsng_ss7 | |
888 | %if 0%{?fedora_version} >= 8 || 0%{?rhel} >= 6 | |
889 | Requires: openssl098e | |
890 | BuildRequires: openssl098e | |
891 | %endif | |
892 | ||
893 | %description freetdm-sng-ss7 | |
894 | Sangoma SMG-SS7 drivers for FreeTDM | |
895 | ||
896 | %endif | |
897 | ||
898 | %package endpoint-skypopen | |
899 | Summary: Skype Endpoint | |
900 | Group: System/Libraries | |
901 | Requires: %{name} = %{version}-%{release} | |
902 | Requires: libX11 | |
903 | BuildRequires: libX11-devel | |
904 | ||
905 | %description endpoint-skypopen | |
906 | This software (Skypopen) uses the Skype API but is not endorsed, certified or | |
907 | otherwise approved in any way by Skype. Skypopen is an endpoint (channel | |
908 | driver) that uses the Skype client as an interface to the Skype network, and | |
909 | allows incoming and outgoing Skype calls to/from FreeSWITCH (that can be | |
910 | bridged, originated, answered, etc. as in all other endpoints, e.g. Sofia-SIP). | |
911 | ||
912 | ###################################################################################################################### | |
913 | # FreeSWITCH Event Handler Modules | |
914 | ###################################################################################################################### | |
915 | ||
916 | %package event-cdr-mongodb | |
917 | Summary: MongoDB CDR Logger for the FreeSWITCH open source telephony platform | |
918 | Group: System/Libraries | |
919 | Requires: %{name} = %{version}-%{release} | |
920 | ||
921 | %description event-cdr-mongodb | |
922 | MongoDB CDR Logger for FreeSWITCH | |
923 | ||
924 | %package event-cdr-pg-csv | |
925 | Summary: PostgreSQL CDR Logger for the FreeSWITCH open source telephony platform | |
926 | Group: System/Libraries | |
927 | Requires: %{name} = %{version}-%{release} | |
928 | Requires: postgresql-libs | |
929 | BuildRequires: postgresql-devel | |
930 | ||
931 | %description event-cdr-pg-csv | |
932 | PostgreSQL CDR Logger for FreeSWITCH. | |
933 | ||
934 | %package event-cdr-sqlite | |
935 | Summary: SQLite CDR Logger for the FreeSWITCH open source telephony platform | |
936 | Group: System/Libraries | |
937 | Requires: %{name} = %{version}-%{release} | |
938 | ||
939 | %description event-cdr-sqlite | |
940 | SQLite CDR Logger for FreeSWITCH. | |
941 | ||
942 | %package event-erlang-event | |
943 | Summary: Erlang Event Module for the FreeSWITCH open source telephony platform | |
944 | Group: System/Libraries | |
945 | Requires: %{name} = %{version}-%{release} | |
946 | Requires: erlang | |
947 | BuildRequires: erlang | |
948 | ||
949 | %description event-erlang-event | |
950 | Erlang Event Module for FreeSWITCH. | |
951 | ||
952 | %package event-multicast | |
953 | Summary: Multicast Event System for the FreeSWITCH open source telephony platform | |
954 | Group: System/Libraries | |
955 | Requires: %{name} = %{version}-%{release} | |
956 | ||
957 | %description event-multicast | |
958 | Multicast Event System for FreeSWITCH. | |
959 | ||
960 | #%package event-zmq | |
961 | #Summary: ZeroMQ Event System for the FreeSWITCH open source telephony platform | |
962 | #Group: System/Libraries | |
963 | #Requires: %{name} = %{version}-%{release} | |
964 | # | |
965 | #%description event-zmq | |
966 | #ZeroMQ Event System for FreeSWITCH. | |
967 | ||
968 | %package event-json-cdr | |
969 | Summary: JSON CDR Logger for the FreeSWITCH open source telephony platform | |
970 | Group: System/Libraries | |
971 | Requires: %{name} = %{version}-%{release} | |
972 | ||
973 | %description event-json-cdr | |
974 | JSON CDR Logger for FreeSWITCH. | |
975 | ||
72aea1f5 CR |
976 | %if %{build_mod_rayo} |
977 | %package event-rayo | |
978 | Summary: Rayo (XMPP 3PCC) server for the FreeSWITCH open source telephony platform | |
979 | Group: System/Libraries | |
980 | Requires: %{name} = %{version}-%{release} | |
981 | ||
982 | %description event-rayo | |
983 | Rayo 3PCC for FreeSWITCH. http://rayo.org http://xmpp.org/extensions/xep-0327.html | |
984 | Rayo is an XMPP protocol extension for third-party control of telephone calls. | |
985 | %endif | |
986 | ||
e7d04724 KR |
987 | %package event-snmp |
988 | Summary: SNMP stats reporter for the FreeSWITCH open source telephony platform | |
989 | Group: System/Libraries | |
990 | Requires: %{name} = %{version}-%{release} | |
991 | Requires: net-snmp | |
992 | BuildRequires: net-snmp-devel | |
993 | ||
994 | %description event-snmp | |
995 | SNMP stats reporter for the FreeSWITCH open source telephony platform | |
996 | ||
997 | ###################################################################################################################### | |
998 | # FreeSWITCH Media Format Modules | |
999 | ###################################################################################################################### | |
1000 | ||
1001 | %package format-local-stream | |
1002 | Summary: Local File Streamer for the FreeSWITCH open source telephony platform | |
1003 | Group: System/Libraries | |
1004 | Requires: %{name} = %{version}-%{release} | |
1005 | ||
1006 | %description format-local-stream | |
1007 | Local File Streamer for FreeSWITCH. It streams files from a directory and | |
1008 | multiple channels connected to the same stream will hear the same (looped) | |
1009 | file playback .. similar to a shoutcast stream. Useful for Music-on-hold type | |
1010 | scenarios. | |
1011 | ||
1012 | %package format-native-file | |
1013 | Summary: Native Media File support for the FreeSWITCH open source telephony platform | |
1014 | Group: System/Libraries | |
1015 | Requires: %{name} = %{version}-%{release} | |
1016 | ||
1017 | %description format-native-file | |
1018 | The native file module is designed to make it easy to play sound files where no | |
1019 | transcoding is necessary. The default FreeSWITCH sound files are in wav format. | |
1020 | Generally, these require transcoding when being played to callers. However, if | |
1021 | a native format sound file is available then FreeSWITCH can use it. | |
1022 | ||
1023 | %package format-portaudio-stream | |
1024 | Summary: PortAudio Media Steam support for the FreeSWITCH open source telephony platform | |
1025 | Group: System/Libraries | |
1026 | Requires: %{name} = %{version}-%{release} | |
1027 | ||
1028 | %description format-portaudio-stream | |
1029 | Portaudio Streaming interface Audio for FreeSWITCH | |
1030 | ||
1031 | %package format-shell-stream | |
1032 | Summary: Implements Media Steaming from arbitrary shell commands for the FreeSWITCH open source telephony platform | |
1033 | Group: System/Libraries | |
1034 | Requires: %{name} = %{version}-%{release} | |
1035 | ||
1036 | %description format-shell-stream | |
1037 | Mod shell stream is a FreeSWITCH module to allow you to stream audio from an | |
1038 | arbitrary shell command. You could use it to read audio from a database, from | |
1039 | a soundcard, etc. | |
1040 | ||
1041 | %package format-mod-shout | |
1042 | Summary: Implements Media Steaming from arbitrary shell commands for the FreeSWITCH open source telephony platform | |
1043 | Group: System/Libraries | |
1044 | Requires: %{name} = %{version}-%{release} | |
1045 | ||
1046 | %description format-mod-shout | |
1047 | Mod Shout is a FreeSWITCH module to allow you to stream audio from MP3s or a i | |
1048 | shoutcast stream. | |
1049 | ||
72aea1f5 CR |
1050 | %if %{build_mod_ssml} |
1051 | %package format-ssml | |
1052 | Summary: Adds Speech Synthesis Markup Language (SSML) parser format for the FreeSWITCH open source telephony platform | |
1053 | Group: System/Libraries | |
1054 | Requires: %{name} = %{version}-%{release} | |
1055 | ||
1056 | %description format-ssml | |
1057 | mod_ssml is a FreeSWITCH module that renders SSML into audio. This module requires a text-to-speech module for speech synthesis. | |
1058 | %endif | |
1059 | ||
e7d04724 KR |
1060 | %package format-tone-stream |
1061 | Summary: Implements TGML Tone Generation for the FreeSWITCH open source telephony platform | |
1062 | Group: System/Libraries | |
1063 | Requires: %{name} = %{version}-%{release} | |
1064 | ||
1065 | %description format-tone-stream | |
1066 | Implements TGML Tone Generation for the FreeSWITCH open source telephony platform | |
1067 | ||
1068 | ###################################################################################################################### | |
1069 | # FreeSWITCH Programing Language Modules | |
1070 | ###################################################################################################################### | |
1071 | ||
1072 | %package lua | |
1073 | Summary: Lua support for the FreeSWITCH open source telephony platform | |
1074 | Group: System/Libraries | |
1075 | Requires: %{name} = %{version}-%{release} | |
1076 | ||
1077 | %description lua | |
1078 | ||
1079 | %package perl | |
1080 | Summary: Perl support for the FreeSWITCH open source telephony platform | |
1081 | Group: System/Libraries | |
1082 | Requires: %{name} = %{version}-%{release} | |
1083 | Requires: perl | |
1084 | ||
1085 | %description perl | |
1086 | ||
1087 | %package python | |
1088 | Summary: Python support for the FreeSWITCH open source telephony platform | |
1089 | Group: System/Libraries | |
1090 | Requires: %{name} = %{version}-%{release} | |
1091 | Requires: python | |
1092 | ||
1093 | %description python | |
1094 | ||
1095 | %package spidermonkey | |
1096 | Summary: JavaScript support for the FreeSWITCH open source telephony platform | |
1097 | Group: System/Libraries | |
b7623326 | 1098 | Requires: %{name} = %{version}-%{release} |
e7d04724 KR |
1099 | |
1100 | %description spidermonkey | |
1101 | ||
b7623326 PO |
1102 | %package v8 |
1103 | Summary: JavaScript support for the FreeSWITCH open source telephony platform, using Google V8 JavaScript engine | |
1104 | Group: System/Libraries | |
1105 | Requires: %{name} = %{version}-%{release} | |
1106 | ||
1107 | %description v8 | |
1108 | ||
e7d04724 KR |
1109 | ###################################################################################################################### |
1110 | # FreeSWITCH Say Modules | |
1111 | ###################################################################################################################### | |
1112 | ||
1113 | %package lang-en | |
1114 | Summary: Provides english language dependand modules and speech config for the FreeSWITCH Open Source telephone platform. | |
1115 | Group: System/Libraries | |
1116 | Requires: %{name} = %{version}-%{release} | |
1117 | ||
1118 | %description lang-en | |
1119 | English language phrases module and directory structure for say module and voicemail | |
1120 | ||
1121 | %package lang-ru | |
1122 | Summary: Provides russian language dependand modules and speech config for the FreeSWITCH Open Source telephone platform. | |
1123 | Group: System/Libraries | |
1124 | Requires: %{name} = %{version}-%{release} | |
1125 | ||
1126 | %description lang-ru | |
1127 | Russian language phrases module and directory structure for say module and voicemail | |
1128 | ||
1129 | %package lang-fr | |
1130 | Summary: Provides french language dependend modules and speech config for the FreeSWITCH Open Source telephone platform. | |
1131 | Group: System/Libraries | |
1132 | Requires: %{name} = %{version}-%{release} | |
1133 | ||
1134 | %description lang-fr | |
1135 | French language phrases module and directory structure for say module and voicemail | |
1136 | ||
1137 | %package lang-de | |
1138 | Summary: Provides german language dependend modules and speech config for the FreeSWITCH Open Source telephone platform. | |
1139 | Group: System/Libraries | |
1140 | Requires: %{name} = %{version}-%{release} | |
1141 | ||
1142 | %description lang-de | |
1143 | German language phrases module and directory structure for say module and voicemail | |
1144 | ||
1145 | %package lang-he | |
1146 | Summary: Provides hebrew language dependend modules and speech config for the FreeSWITCH Open Source telephone platform. | |
1147 | Group: System/Libraries | |
1148 | Requires: %{name} = %{version}-%{release} | |
1149 | ||
1150 | %description lang-he | |
1151 | Hebrew language phrases module and directory structure for say module and voicemail | |
1152 | ||
35a141c4 KR |
1153 | %package lang-es |
1154 | Summary: Provides Spanish language dependend modules and speech config for the FreeSWITCH Open Source telephone platform. | |
1155 | Group: System/Libraries | |
1156 | Requires: %{name} = %{version}-%{release} | |
1157 | ||
1158 | %description lang-es | |
1159 | Spanish language phrases module and directory structure for say module and voicemail | |
1160 | ||
1161 | %package lang-pt | |
1162 | Summary: Provides Portugese language dependend modules and speech config for the FreeSWITCH Open Source telephone platform. | |
1163 | Group: System/Libraries | |
1164 | Requires: %{name} = %{version}-%{release} | |
1165 | ||
1166 | %description lang-pt | |
79b26b8e CR |
1167 | Portugese language phrases module and directory structure for say module and voicemail |
1168 | ||
1169 | %package lang-sv | |
1170 | Summary: Provides Swedish language dependend modules and speech config for the FreeSWITCH Open Source telephone platform. | |
1171 | Group: System/Libraries | |
1172 | Requires: %{name} = %{version}-%{release} | |
1173 | ||
1174 | %description lang-sv | |
1175 | Swedish language phrases module and directory structure for say module and voicemail | |
35a141c4 | 1176 | |
e7d04724 KR |
1177 | ###################################################################################################################### |
1178 | # FreeSWITCH Timer Modules | |
1179 | ###################################################################################################################### | |
1180 | ||
1181 | %package timer-posix | |
1182 | Summary: Provides posix timer for the FreeSWITCH Open Source telephone platform. | |
1183 | Group: System/Libraries | |
1184 | Requires: %{name} = %{version}-%{release} | |
1185 | ||
1186 | %description timer-posix | |
1187 | Provides posix timer for the FreeSWITCH Open Source telephone platform. | |
1188 | ||
1189 | %if %{build_timerfd} | |
1190 | %package timer-timerfd | |
1191 | Summary: Provides Linux Timerfs based timer for the FreeSWITCH Open Source telephone platform. | |
1192 | Group: System/Libraries | |
1193 | Requires: %{name} = %{version}-%{release} | |
1194 | ||
1195 | %description timer-timerfd | |
1196 | Provides Linux Timerfs based timer for the FreeSWITCH Open Source telephone | |
1197 | platform. | |
1198 | %endif | |
1199 | ||
1200 | ###################################################################################################################### | |
1201 | # FreeSWITCH XML INT Modules | |
1202 | ###################################################################################################################### | |
1203 | ||
1204 | %package xml-cdr | |
1205 | Summary: Provides XML CDR interface for the FreeSWITCH Open Source telephone platform. | |
1206 | Group: System/Libraries | |
1207 | Requires: %{name} = %{version}-%{release} | |
1208 | ||
1209 | %description xml-cdr | |
1210 | Provides XML CDR interface for the FreeSWITCH Open Source telephone platform. | |
1211 | ||
1212 | %package xml-curl | |
1213 | Summary: Provides XML Curl interface for the FreeSWITCH Open Source telephone platform. | |
1214 | Group: System/Libraries | |
1215 | Requires: %{name} = %{version}-%{release} | |
1216 | ||
1217 | %description xml-curl | |
1218 | Provides XML Curl interface for the FreeSWITCH Open Source telephone platform. | |
1219 | Pull dynamic XML configs for FreeSWITCH over HTTP. | |
1220 | ||
1221 | %package xml-rpc | |
1222 | Summary: Provides XML-RPC interface for the FreeSWITCH Open Source telephone platform. | |
1223 | Group: System/Libraries | |
1224 | Requires: %{name} = %{version}-%{release} | |
1225 | ||
1226 | %description xml-rpc | |
1227 | Provides XML-RPC interface for the FreeSWITCH Open Source telephone platform. | |
1228 | ||
1229 | ###################################################################################################################### | |
1230 | # FreeSWITCH basic config module | |
1231 | ###################################################################################################################### | |
1232 | ||
1233 | %package config-vanilla | |
1234 | Summary: Basic vanilla config set for the FreeSWITCH Open Source telephone platform. | |
1235 | Group: System/Libraries | |
1236 | Requires: %{name} = %{version}-%{release} | |
1237 | Requires: freeswitch-application-abstraction | |
1238 | Requires: freeswitch-application-avmd | |
1239 | Requires: freeswitch-application-blacklist | |
1240 | Requires: freeswitch-application-callcenter | |
1241 | Requires: freeswitch-application-cidlookup | |
1242 | Requires: freeswitch-application-conference | |
1243 | Requires: freeswitch-application-curl | |
1244 | Requires: freeswitch-application-db | |
1245 | Requires: freeswitch-application-directory | |
1246 | Requires: freeswitch-application-distributor | |
1247 | Requires: freeswitch-application-easyroute | |
1248 | Requires: freeswitch-application-enum | |
1249 | Requires: freeswitch-application-esf | |
1250 | Requires: freeswitch-application-expr | |
1251 | Requires: freeswitch-application-fifo | |
1252 | Requires: freeswitch-application-fsk | |
1253 | Requires: freeswitch-application-fsv | |
1254 | Requires: freeswitch-application-hash | |
1255 | Requires: freeswitch-application-httapi | |
1256 | Requires: freeswitch-application-http-cache | |
1257 | Requires: freeswitch-application-lcr | |
1258 | Requires: freeswitch-application-limit | |
1259 | Requires: freeswitch-application-memcache | |
1260 | Requires: freeswitch-application-nibblebill | |
1261 | Requires: freeswitch-application-redis | |
1262 | Requires: freeswitch-application-rss | |
1263 | Requires: freeswitch-application-sms | |
1264 | Requires: freeswitch-application-snapshot | |
1265 | Requires: freeswitch-application-snom | |
1266 | Requires: freeswitch-application-soundtouch | |
1267 | Requires: freeswitch-application-spy | |
1268 | Requires: freeswitch-application-stress | |
1269 | Requires: freeswitch-application-valet_parking | |
1270 | Requires: freeswitch-application-voicemail | |
1271 | Requires: freeswitch-application-voicemail-ivr | |
1272 | Requires: freeswitch-codec-passthru-amr | |
1273 | Requires: freeswitch-codec-bv | |
1274 | Requires: freeswitch-codec-passthru-g723_1 | |
1275 | Requires: freeswitch-codec-passthru-g729 | |
1276 | Requires: freeswitch-codec-h26x | |
1277 | Requires: freeswitch-codec-ilbc | |
1278 | Requires: freeswitch-codec-siren | |
e7d04724 KR |
1279 | Requires: freeswitch-format-local-stream |
1280 | Requires: freeswitch-format-native-file | |
1281 | Requires: freeswitch-format-portaudio-stream | |
1282 | Requires: freeswitch-format-tone-stream | |
1283 | Requires: freeswitch-lang-en | |
1284 | ||
1285 | %description config-vanilla | |
1286 | Basic vanilla config set for the FreeSWITCH Open Source telephone platform. | |
1287 | ||
1288 | ###################################################################################################################### | |
1289 | # | |
1290 | # Unpack and prepare Source archives, copy stuff around etc .. | |
1291 | # | |
1292 | ###################################################################################################################### | |
1293 | ||
1294 | %prep | |
1295 | %setup -b0 -q | |
1296 | cp %{SOURCE1} libs/ | |
1297 | cp %{SOURCE2} libs/ | |
1298 | cp %{SOURCE3} libs/ | |
1299 | cp %{SOURCE4} libs/ | |
1300 | cp %{SOURCE5} libs/ | |
1301 | cp %{SOURCE6} libs/ | |
1302 | cp %{SOURCE7} libs/ | |
1303 | cp %{SOURCE8} libs/ | |
1304 | cp %{SOURCE9} libs/ | |
1305 | cp %{SOURCE10} libs/ | |
1306 | cp %{SOURCE11} libs/ | |
1307 | cp %{SOURCE12} libs/ | |
e7d04724 KR |
1308 | |
1309 | ###################################################################################################################### | |
1310 | # | |
1311 | # Start the Build process | |
1312 | # | |
1313 | ###################################################################################################################### | |
1314 | %build | |
1315 | %ifos linux | |
1316 | %if 0%{?suse_version} > 1000 && 0%{?suse_version} < 1030 | |
1317 | export CFLAGS="$CFLAGS -fstack-protector" | |
1318 | %endif | |
1319 | %if 0%{?fedora_version} >= 8 | |
1320 | export QA_RPATHS=$[ 0x0001|0x0002 ] | |
1321 | %endif | |
1322 | %endif | |
1323 | ||
1324 | ###################################################################################################################### | |
1325 | # | |
1326 | # Here the modules that will be build get defined | |
1327 | # | |
1328 | ###################################################################################################################### | |
1329 | ###################################################################################################################### | |
1330 | # | |
1331 | # Application Modules | |
1332 | # | |
1333 | ###################################################################################################################### | |
1334 | APPLICATION_MODULES_AC="applications/mod_abstraction applications/mod_avmd applications/mod_blacklist \ | |
1335 | applications/mod_callcenter applications/mod_cidlookup \ | |
1336 | applications/mod_commands applications/mod_conference applications/mod_curl" | |
1337 | APPLICATION_MODULES_DE="applications/mod_db applications/mod_directory applications/mod_distributor \ | |
1338 | applications/mod_dptools applications/mod_easyroute applications/mod_enum applications/mod_esf \ | |
1339 | applications/mod_expr " | |
1340 | ||
1341 | %if %{build_mod_esl} | |
1342 | APPLICATION_MODULES_DE+="applications/mod_esl" | |
1343 | %endif | |
1344 | ||
1345 | APPLICATION_MODULES_FR="applications/mod_fifo applications/mod_fsk applications/mod_fsv applications/mod_hash \ | |
1346 | applications/mod_httapi applications/mod_http_cache applications/mod_lcr applications/mod_limit \ | |
1347 | applications/mod_memcache applications/mod_nibblebill applications/mod_redis applications/mod_rss" | |
1348 | ||
1349 | APPLICATION_MODULES_SZ="applications/mod_sms applications/mod_snapshot applications/mod_snom applications/mod_soundtouch \ | |
1350 | applications/mod_spandsp applications/mod_spy applications/mod_stress \ | |
1351 | applications/mod_valet_parking applications/mod_voicemail \ | |
1352 | applications/mod_voicemail_ivr" | |
1353 | ||
1354 | APPLICATIONS_MODULES="$APPLICATION_MODULES_AC $APPLICATION_MODULES_DE $APPLICATION_MODULES_FR $APPLICATION_MODULES_SZ" | |
1355 | ||
1356 | ###################################################################################################################### | |
1357 | # | |
38e0bfb5 | 1358 | # Automatic Speech Recognition and Text To Speech Modules |
72628d2e | 1359 | # |
38e0bfb5 | 1360 | ###################################################################################################################### |
e7d04724 KR |
1361 | ASR_TTS_MODULES="asr_tts/mod_flite asr_tts/mod_pocketsphinx asr_tts/mod_tts_commandline asr_tts/mod_unimrcp" |
1362 | ||
38e0bfb5 | 1363 | ###################################################################################################################### |
72628d2e | 1364 | # |
38e0bfb5 | 1365 | # Codecs |
72628d2e | 1366 | # |
38e0bfb5 | 1367 | ###################################################################################################################### |
e7d04724 KR |
1368 | CODECS_MODULES="codecs/mod_amr codecs/mod_amrwb codecs/mod_bv codecs/mod_celt codecs/mod_codec2 codecs/mod_g723_1 \ |
1369 | codecs/mod_g729 codecs/mod_h26x codecs/mod_ilbc codecs/mod_isac codecs/mod_mp4v codecs/mod_opus codecs/mod_silk \ | |
e425307e | 1370 | codecs/mod_siren codecs/mod_theora codecs/mod_vp8" |
3ce98c4e MB |
1371 | # |
1372 | %if %{build_sng_tc} | |
1373 | CODECS_MODULES+="codecs/mod_sangoma_codec" | |
1374 | %endif | |
e7d04724 | 1375 | |
38e0bfb5 | 1376 | ###################################################################################################################### |
72628d2e | 1377 | # |
38e0bfb5 | 1378 | # Dialplan Modules |
72628d2e | 1379 | # |
38e0bfb5 | 1380 | ###################################################################################################################### |
e7d04724 KR |
1381 | DIALPLANS_MODULES="dialplans/mod_dialplan_directory dialplans/mod_dialplan_xml" |
1382 | #DISABLED DIALPLANS dialplans/mod_dialplan_asterisk | |
38e0bfb5 | 1383 | ###################################################################################################################### |
72628d2e | 1384 | # |
38e0bfb5 | 1385 | # Directory Modules |
72628d2e | 1386 | # |
38e0bfb5 | 1387 | ###################################################################################################################### |
78cc2f40 | 1388 | DIRECTORIES_MODULES="" |
e7d04724 | 1389 | |
38e0bfb5 | 1390 | ###################################################################################################################### |
72628d2e | 1391 | # |
38e0bfb5 | 1392 | # Endpoints |
72628d2e | 1393 | # |
38e0bfb5 | 1394 | ###################################################################################################################### |
e7d04724 KR |
1395 | ENDPOINTS_MODULES="endpoints/mod_dingaling ../../libs/freetdm/mod_freetdm \ |
1396 | endpoints/mod_loopback endpoints/mod_portaudio endpoints/mod_rtmp \ | |
1397 | endpoints/mod_skinny endpoints/mod_skypopen endpoints/mod_sofia" | |
1398 | ||
1399 | ## DISABLED MODULES DUE TO BUILD ISSUES endpoints/mod_gsmopen endpoints/mod_h323 endpoints/mod_khomp | |
1a4ee982 | 1400 | |
38e0bfb5 | 1401 | ###################################################################################################################### |
72628d2e | 1402 | # |
38e0bfb5 | 1403 | # Event Handlers |
72628d2e | 1404 | # |
38e0bfb5 | 1405 | ###################################################################################################################### |
e7d04724 KR |
1406 | EVENT_HANDLERS_MODULES="event_handlers/mod_cdr_csv event_handlers/mod_cdr_pg_csv event_handlers/mod_cdr_sqlite \ |
1407 | event_handlers/mod_cdr_mongodb event_handlers/mod_erlang_event event_handlers/mod_event_multicast \ | |
1408 | event_handlers/mod_event_socket event_handlers/mod_json_cdr \ | |
1409 | event_handlers/mod_snmp" | |
72aea1f5 CR |
1410 | %if %{build_mod_rayo} |
1411 | EVENT_HANDLERS_MODULES+=" event_handlers/mod_rayo" | |
1412 | %endif | |
e7d04724 KR |
1413 | |
1414 | #### BUILD ISSUES NET RESOLVED FOR RELEASE event_handlers/mod_event_zmq | |
38e0bfb5 | 1415 | ###################################################################################################################### |
72628d2e | 1416 | # |
38e0bfb5 | 1417 | # File and Audio Format Handlers |
72628d2e | 1418 | # |
38e0bfb5 | 1419 | ###################################################################################################################### |
eb218cf9 | 1420 | FORMATS_MODULES="formats/mod_local_stream formats/mod_native_file formats/mod_portaudio_stream \ |
e7d04724 | 1421 | formats/mod_shell_stream formats/mod_shout formats/mod_sndfile formats/mod_tone_stream" |
72aea1f5 CR |
1422 | %if %{build_mod_ssml} |
1423 | FORMATS_MODULES+=" formats/mod_ssml" | |
1424 | %endif | |
1a4ee982 | 1425 | |
38e0bfb5 | 1426 | ###################################################################################################################### |
72628d2e | 1427 | # |
38e0bfb5 | 1428 | # Embedded Languages |
72628d2e | 1429 | # |
38e0bfb5 | 1430 | ###################################################################################################################### |
79b26b8e CR |
1431 | LANGUAGES_MODULES="languages/mod_lua languages/mod_perl languages/mod_python languages/mod_spidermonkey " |
1432 | #LANGUAGES_MODULES+="languages/mod_v8" | |
e7d04724 | 1433 | |
38e0bfb5 | 1434 | ###################################################################################################################### |
72628d2e | 1435 | # |
38e0bfb5 | 1436 | # Logging Modules |
72628d2e | 1437 | # |
38e0bfb5 | 1438 | ###################################################################################################################### |
78cc2f40 | 1439 | LOGGERS_MODULES="loggers/mod_console loggers/mod_logfile loggers/mod_syslog" |
e7d04724 | 1440 | |
38e0bfb5 | 1441 | ###################################################################################################################### |
72628d2e | 1442 | # |
38e0bfb5 | 1443 | # Phrase engine language modules |
72628d2e | 1444 | # |
38e0bfb5 | 1445 | ###################################################################################################################### |
9059fb91 | 1446 | SAY_MODULES="say/mod_say_de say/mod_say_en say/mod_say_fr say/mod_say_he say/mod_say_ru say/mod_say_sv" |
e7d04724 | 1447 | |
38e0bfb5 | 1448 | ###################################################################################################################### |
72628d2e | 1449 | # |
38e0bfb5 | 1450 | # Timers |
72628d2e | 1451 | # |
38e0bfb5 | 1452 | ###################################################################################################################### |
e7d04724 KR |
1453 | TIMERS_MODULES="timers/mod_posix_timer " |
1454 | %if %{build_timerfd} | |
1455 | TIMERS_MODULES+="timers/mod_timerfd" | |
1456 | %endif | |
1457 | ||
38e0bfb5 | 1458 | ###################################################################################################################### |
72628d2e | 1459 | # |
38e0bfb5 | 1460 | # XML Modules |
72628d2e | 1461 | # |
38e0bfb5 | 1462 | ###################################################################################################################### |
72628d2e | 1463 | XML_INT_MODULES="xml_int/mod_xml_cdr xml_int/mod_xml_curl xml_int/mod_xml_rpc" |
e7d04724 | 1464 | |
38e0bfb5 | 1465 | ###################################################################################################################### |
72628d2e | 1466 | # |
38e0bfb5 | 1467 | # Create one environment variable out of all the module defs |
72628d2e | 1468 | # |
38e0bfb5 | 1469 | ###################################################################################################################### |
e7d04724 | 1470 | MYMODULES="$APPLICATIONS_MODULES $CODECS_MODULES $DIALPLANS_MODULES $DIRECTORIES_MODULES \ |
1a4ee982 MB |
1471 | $ENDPOINTS_MODULES $ASR_TTS_MODULES $EVENT_HANDLERS_MODULES $FORMATS_MODULES $LANGUAGES_MODULES $LOGGERS_MODULES \ |
1472 | $SAY_MODULES $TIMERS_MODULES $XML_INT_MODULES" | |
78cc2f40 | 1473 | |
38e0bfb5 | 1474 | ###################################################################################################################### |
72628d2e | 1475 | # |
38e0bfb5 | 1476 | # Create Modules build list and set variables |
72628d2e | 1477 | # |
38e0bfb5 | 1478 | ###################################################################################################################### |
72628d2e | 1479 | |
78cc2f40 MJ |
1480 | export MODULES=$MYMODULES |
1481 | test ! -f modules.conf || rm -f modules.conf | |
1482 | touch modules.conf | |
1483 | for i in $MODULES; do echo $i >> modules.conf; done | |
1484 | export VERBOSE=yes | |
2519493a | 1485 | export DESTDIR=%{buildroot}/ |
78cc2f40 MJ |
1486 | export PKG_CONFIG_PATH=/usr/bin/pkg-config:$PKG_CONFIG_PATH |
1487 | export ACLOCAL_FLAGS="-I /usr/share/aclocal" | |
1488 | ||
38e0bfb5 | 1489 | ###################################################################################################################### |
72628d2e | 1490 | # |
38e0bfb5 | 1491 | # Bootstrap, Configure and Build the whole enchilada |
72628d2e | 1492 | # |
38e0bfb5 | 1493 | ###################################################################################################################### |
72628d2e | 1494 | |
78cc2f40 MJ |
1495 | if test ! -f Makefile.in |
1496 | then | |
bb90d52d | 1497 | ./bootstrap.sh |
78cc2f40 MJ |
1498 | fi |
1499 | ||
e7d04724 KR |
1500 | %configure -C \ |
1501 | --prefix=%{PREFIX} \ | |
1502 | --exec-prefix=%{EXECPREFIX} \ | |
1503 | --bindir=%{BINDIR} \ | |
1504 | --sbindir=%{SBINDIR} \ | |
1505 | --libexecdir=%{LIBEXECDIR} \ | |
1506 | --sharedstatedir=%{SHARESTATEDIR} \ | |
1507 | --localstatedir=%{LOCALSTATEDIR} \ | |
1508 | --libdir=%{LIBDIR} \ | |
1509 | --includedir=%{INCLUDEDIR} \ | |
1510 | --datadir=%{DATADIR} \ | |
1511 | --infodir=%{INFODIR} \ | |
1512 | --mandir=%{MANDIR} \ | |
1513 | --with-logfiledir=%{LOGFILEDIR} \ | |
1514 | --with-modinstdir=%{MODINSTDIR} \ | |
1515 | --with-rundir=%{RUNDIR} \ | |
1516 | --with-dbdir=%{DBDIR} \ | |
1517 | --with-htdocsdir=%{HTDOCSDIR} \ | |
1518 | --with-soundsdir=%{SOUNDSDIR} \ | |
1519 | --enable-core-odbc-support \ | |
1520 | --enable-core-libedit-support \ | |
1521 | --with-grammardir=%{GRAMMARDIR} \ | |
1522 | --with-scriptdir=%{SCRIPTDIR} \ | |
1523 | --with-recordingsdir=%{RECORDINGSDIR} \ | |
1524 | --with-pkgconfigdir=%{PKGCONFIGDIR} \ | |
1525 | --with-odbc \ | |
1526 | --with-erlang \ | |
1527 | --with-openssl \ | |
1528 | %{?configure_options} | |
1529 | ||
1530 | unset MODULES | |
78cc2f40 MJ |
1531 | %{__make} |
1532 | ||
3ce98c4e MB |
1533 | cd libs/esl |
1534 | %{__make} pymod | |
72628d2e | 1535 | |
81c29bff | 1536 | |
38e0bfb5 | 1537 | ###################################################################################################################### |
72628d2e | 1538 | # |
38e0bfb5 | 1539 | # Install it and create some required dirs and links |
72628d2e | 1540 | # |
38e0bfb5 | 1541 | ###################################################################################################################### |
78cc2f40 | 1542 | %install |
78cc2f40 | 1543 | |
2519493a | 1544 | %{__make} DESTDIR=%{buildroot} install |
78cc2f40 | 1545 | |
78cc2f40 | 1546 | # Create a log dir |
2519493a | 1547 | %{__mkdir} -p %{buildroot}%{prefix}/log |
7cefb227 LD |
1548 | %{__mkdir} -p %{buildroot}%{logfiledir} |
1549 | %{__mkdir} -p %{buildroot}%{runtimedir} | |
78cc2f40 | 1550 | |
3ce98c4e MB |
1551 | #install the esl stuff |
1552 | cd libs/esl | |
1553 | %{__make} DESTDIR=%{buildroot} pymod-install | |
81c29bff MB |
1554 | |
1555 | %if %{build_py26_esl} | |
1556 | #install esl for python 26 | |
1557 | %{__make} clean | |
1558 | sed -i s/python\ /python26\ /g python/Makefile | |
1559 | %{__make} pymod | |
1560 | %{__mkdir} -p %{buildroot}/usr/lib/python2.6/site-packages | |
1561 | %{__make} DESTDIR=%{buildroot} pymod-install | |
1562 | %endif | |
1563 | ||
3ce98c4e MB |
1564 | cd ../.. |
1565 | ||
78cc2f40 MJ |
1566 | %ifos linux |
1567 | # Install init files | |
1568 | # On SuSE: | |
1569 | %if 0%{?suse_version} > 100 | |
2519493a | 1570 | %{__install} -D -m 744 build/freeswitch.init.suse %{buildroot}/etc/rc.d/init.d/freeswitch |
78cc2f40 MJ |
1571 | %else |
1572 | # On RedHat like | |
2519493a | 1573 | %{__install} -D -m 0755 build/freeswitch.init.redhat %{buildroot}/etc/rc.d/init.d/freeswitch |
78cc2f40 | 1574 | %endif |
b85fd0f4 | 1575 | # On SuSE make /usr/sbin/rcfreeswitch a link to /etc/rc.d/init.d/freeswitch |
78cc2f40 | 1576 | %if 0%{?suse_version} > 100 |
2519493a MJ |
1577 | %{__mkdir} -p %{buildroot}/usr/sbin |
1578 | %{__ln_s} -f /etc/rc.d/init.d/freeswitch %{buildroot}/usr/sbin/rcfreeswitch | |
78cc2f40 MJ |
1579 | %endif |
1580 | # Add the sysconfiguration file | |
2519493a | 1581 | %{__install} -D -m 744 build/freeswitch.sysconfig %{buildroot}/etc/sysconfig/freeswitch |
78cc2f40 | 1582 | # Add monit file |
2519493a | 1583 | %{__install} -D -m 644 build/freeswitch.monitrc %{buildroot}/etc/monit.d/freeswitch.monitrc |
78cc2f40 | 1584 | %endif |
3ce98c4e MB |
1585 | ###################################################################################################################### |
1586 | # | |
1587 | # Remove files that are not wanted if they exist | |
1588 | # | |
1589 | ###################################################################################################################### | |
1590 | ||
1591 | %if %{build_sng_ss7} | |
1592 | #do not delete a thing | |
1593 | %else | |
e7d04724 | 1594 | %{__rm} -f %{buildroot}/%{MODINSTDIR}/ftmod_sangoma_ss7* |
3ce98c4e MB |
1595 | %endif |
1596 | %if %{build_sng_isdn} | |
1597 | #do not delete a thing | |
1598 | %else | |
e7d04724 | 1599 | %{__rm} -f %{buildroot}/%{MODINSTDIR}/ftmod_sangoma_isdn* |
3ce98c4e MB |
1600 | %endif |
1601 | ||
78cc2f40 MJ |
1602 | |
1603 | ||
38e0bfb5 | 1604 | ###################################################################################################################### |
72628d2e | 1605 | # |
38e0bfb5 | 1606 | # Add a freeswitch user with group daemon that will own the whole enchilada |
72628d2e | 1607 | # |
38e0bfb5 | 1608 | ###################################################################################################################### |
78cc2f40 MJ |
1609 | %pre |
1610 | %ifos linux | |
ae7aa36f MB |
1611 | if ! /usr/bin/id freeswitch &>/dev/null; then |
1612 | /usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d %{prefix} freeswitch || \ | |
1613 | %logmsg "Unexpected error adding user \"freeswitch\". Aborting installation." | |
1614 | fi | |
78cc2f40 MJ |
1615 | %endif |
1616 | ||
1617 | %post | |
1618 | %{?run_ldconfig:%run_ldconfig} | |
1619 | # Make FHS2.0 happy | |
e7d04724 KR |
1620 | # %{__mkdir} -p /etc/opt |
1621 | # %{__ln_s} -f %{sysconfdir} /etc%{prefix} | |
1622 | ||
1623 | chown freeswitch:daemon /var/log/freeswitch /var/run/freeswitch | |
78cc2f40 MJ |
1624 | |
1625 | chkconfig --add freeswitch | |
1626 | ||
1627 | %postun | |
38e0bfb5 | 1628 | ###################################################################################################################### |
72628d2e | 1629 | # |
38e0bfb5 | 1630 | # On uninstallation get rid of the freeswitch user |
72628d2e | 1631 | # |
38e0bfb5 | 1632 | ###################################################################################################################### |
78cc2f40 | 1633 | %{?run_ldconfig:%run_ldconfig} |
ae7aa36f MB |
1634 | if [ $1 -eq 0 ]; then |
1635 | userdel freeswitch || %logmsg "User \"freeswitch\" could not be deleted." | |
1636 | fi | |
78cc2f40 MJ |
1637 | |
1638 | %clean | |
2519493a | 1639 | %{__rm} -rf %{buildroot} |
78cc2f40 MJ |
1640 | |
1641 | %files | |
38e0bfb5 | 1642 | ###################################################################################################################### |
72628d2e | 1643 | # |
38e0bfb5 | 1644 | # What to install where ... first set default permissions |
72628d2e | 1645 | # |
38e0bfb5 | 1646 | ###################################################################################################################### |
79b26b8e CR |
1647 | %defattr(-,root,root) |
1648 | ||
38e0bfb5 | 1649 | ###################################################################################################################### |
72628d2e | 1650 | # |
38e0bfb5 | 1651 | # Directories |
72628d2e | 1652 | # |
38e0bfb5 | 1653 | ###################################################################################################################### |
72628d2e | 1654 | # |
38e0bfb5 | 1655 | #################################### Basic Directory Structure ####################################################### |
72628d2e | 1656 | # |
e7d04724 | 1657 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir} |
702cc9d4 | 1658 | %dir %attr(0750, freeswitch, daemon) %{LOCALSTATEDIR} |
e7d04724 KR |
1659 | %dir %attr(0750, freeswitch, daemon) %{DBDIR} |
1660 | %dir %attr(0750, freeswitch, daemon) %{GRAMMARDIR} | |
1661 | %dir %attr(0750, freeswitch, daemon) %{HTDOCSDIR} | |
7cefb227 LD |
1662 | %dir %attr(0750, freeswitch, daemon) %{logfiledir} |
1663 | %dir %attr(0750, freeswitch, daemon) %{runtimedir} | |
e7d04724 | 1664 | %dir %attr(0750, freeswitch, daemon) %{SCRIPTDIR} |
72628d2e | 1665 | # |
38e0bfb5 | 1666 | #################################### Config Directory Structure ####################################################### |
72628d2e | 1667 | # |
e7d04724 KR |
1668 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs |
1669 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan | |
1670 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan/default | |
1671 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan/public | |
1672 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/dialplan/skinny-patterns | |
1673 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/directory | |
1674 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/directory/default | |
1675 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/jingle_profiles | |
1676 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang | |
1677 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/mrcp_profiles | |
1678 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/sip_profiles | |
1679 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/sip_profiles/external | |
1680 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/sip_profiles/internal | |
1681 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/skinny_profiles | |
72628d2e | 1682 | # |
38e0bfb5 | 1683 | #################################### Grammar Directory Structure ##################################################### |
72628d2e | 1684 | # |
e7d04724 KR |
1685 | %dir %attr(0750, freeswitch, daemon) %{GRAMMARDIR}/model |
1686 | %dir %attr(0750, freeswitch, daemon) %{GRAMMARDIR}/model/communicator | |
1687 | %ifos linux | |
1688 | %config(noreplace) %attr(0644, freeswitch, daemon) /etc/monit.d/freeswitch.monitrc | |
1689 | %endif | |
1690 | ||
1691 | ||
1692 | ###################################################################################################################### | |
1693 | # | |
1694 | # Other FÃles | |
1695 | # | |
1696 | ###################################################################################################################### | |
1697 | %config(noreplace) %attr(0640, freeswitch, daemon) %{HTDOCSDIR}/* | |
1698 | %ifos linux | |
1699 | /etc/rc.d/init.d/freeswitch | |
1700 | /etc/sysconfig/freeswitch | |
1701 | %if 0%{?suse_version} > 100 | |
1702 | /usr/sbin/rcfreeswitch | |
1703 | %endif | |
1704 | %endif | |
78cc2f40 | 1705 | %ifos linux |
79b26b8e | 1706 | %dir %attr(0750,-,-) /etc/monit.d |
78cc2f40 | 1707 | %endif |
38e0bfb5 | 1708 | ###################################################################################################################### |
72628d2e | 1709 | # |
e7d04724 KR |
1710 | # Binaries |
1711 | # | |
1712 | ###################################################################################################################### | |
79b26b8e | 1713 | %attr(0755,-,-) %{prefix}/bin/* |
e7d04724 | 1714 | %{LIBDIR}/libfreeswitch*.so* |
38e0bfb5 | 1715 | ###################################################################################################################### |
72628d2e | 1716 | # |
e7d04724 | 1717 | # Modules in Alphabetical Order, please keep them that way.. |
e9145cf9 MB |
1718 | # |
1719 | ###################################################################################################################### | |
e7d04724 KR |
1720 | %{MODINSTDIR}/mod_cdr_csv.so* |
1721 | %{MODINSTDIR}/mod_console.so* | |
1722 | %{MODINSTDIR}/mod_commands.so* | |
1723 | %{MODINSTDIR}/mod_dialplan_directory.so* | |
1724 | %{MODINSTDIR}/mod_dialplan_xml.so* | |
1725 | %{MODINSTDIR}/mod_dptools.so* | |
1726 | %{MODINSTDIR}/mod_event_socket.so* | |
1727 | %{MODINSTDIR}/mod_logfile.so* | |
1728 | %{MODINSTDIR}/mod_loopback.so* | |
1729 | %{MODINSTDIR}/mod_native_file.so* | |
1730 | %{MODINSTDIR}/mod_sndfile.so* | |
1731 | %{MODINSTDIR}/mod_sofia.so* | |
1732 | %{MODINSTDIR}/mod_spandsp.so* | |
1733 | %{MODINSTDIR}/mod_syslog.so* | |
1734 | %{MODINSTDIR}/mod_tone_stream.so* | |
1735 | %{MODINSTDIR}/mod_xml_rpc.so* | |
e9145cf9 MB |
1736 | ###################################################################################################################### |
1737 | # | |
e7d04724 | 1738 | # Package for the developer |
72628d2e | 1739 | # |
38e0bfb5 | 1740 | ###################################################################################################################### |
e7d04724 | 1741 | %files devel |
e7d04724 KR |
1742 | %{LIBDIR}/*.a |
1743 | %{LIBDIR}/*.la | |
1744 | %{PKGCONFIGDIR}/* | |
72aea1f5 | 1745 | %{MODINSTDIR}/*.*a |
e7d04724 KR |
1746 | %{INCLUDEDIR}/*.h |
1747 | ||
1748 | ||
1749 | ###################################################################################################################### | |
1750 | # Vanilla Config Files | |
1751 | ###################################################################################################################### | |
1752 | %files config-vanilla | |
1753 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/*.tpl | |
1754 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/*.ttml | |
1755 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/*.xml | |
1756 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/extensions.conf | |
1757 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/mime.types | |
1758 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/abstraction.conf.xml | |
1759 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/acl.conf.xml | |
1760 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/alsa.conf.xml | |
1761 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/blacklist.conf.xml | |
1762 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/callcenter.conf.xml | |
1763 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_csv.conf.xml | |
1764 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_mongodb.conf.xml | |
1765 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_pg_csv.conf.xml | |
1766 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cdr_sqlite.conf.xml | |
1767 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cepstral.conf.xml | |
1768 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/cidlookup.conf.xml | |
1769 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/conference.conf.xml | |
1770 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/console.conf.xml | |
1771 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/db.conf.xml | |
1772 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/dialplan_directory.conf.xml | |
1773 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/dingaling.conf.xml | |
1774 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/directory.conf.xml | |
1775 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/distributor.conf.xml | |
1776 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/easyroute.conf.xml | |
1777 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/enum.conf.xml | |
1778 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/erlang_event.conf.xml | |
1779 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/event_multicast.conf.xml | |
1780 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/event_socket.conf.xml | |
1781 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/fax.conf.xml | |
1782 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/fifo.conf.xml | |
72aea1f5 | 1783 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/format_cdr.conf.xml |
e7d04724 KR |
1784 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/hash.conf.xml |
1785 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/httapi.conf.xml | |
1786 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/http_cache.conf.xml | |
1787 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/ivr.conf.xml | |
1788 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/java.conf.xml | |
1789 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/lcr.conf.xml | |
1790 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/local_stream.conf.xml | |
1791 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/logfile.conf.xml | |
1792 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/memcache.conf.xml | |
1793 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/modules.conf.xml | |
1794 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/mongo.conf.xml | |
1795 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/nibblebill.conf.xml | |
1796 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/opal.conf.xml | |
35a141c4 | 1797 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/oreka.conf.xml |
e7d04724 KR |
1798 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/osp.conf.xml |
1799 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/pocketsphinx.conf.xml | |
1800 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/portaudio.conf.xml | |
1801 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/post_load_modules.conf.xml | |
1802 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/presence_map.conf.xml | |
1803 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/redis.conf.xml | |
1804 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/rss.conf.xml | |
1805 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/rtmp.conf.xml | |
1806 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sangoma_codec.conf.xml | |
1807 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/shout.conf.xml | |
1808 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/skinny.conf.xml | |
1809 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/sofia.conf.xml | |
1810 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/spandsp.conf.xml | |
1811 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/switch.conf.xml | |
1812 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/syslog.conf.xml | |
1813 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/timezones.conf.xml | |
59a082c0 | 1814 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/translate.conf.xml |
e7d04724 KR |
1815 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/tts_commandline.conf.xml |
1816 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/unicall.conf.xml | |
1817 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/unimrcp.conf.xml | |
1818 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/voicemail.conf.xml | |
1819 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/voicemail_ivr.conf.xml | |
1820 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_cdr.conf.xml | |
1821 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_curl.conf.xml | |
1822 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_rpc.conf.xml | |
154678b6 | 1823 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/xml_scgi.conf.xml |
e7d04724 KR |
1824 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/zeroconf.conf.xml |
1825 | ###################################################################################################################### | |
1826 | # Chatplans | |
1827 | ###################################################################################################################### | |
1828 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/chatplan/default.xml | |
1829 | ###################################################################################################################### | |
1830 | # Dialplans | |
1831 | ###################################################################################################################### | |
1832 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/*.xml | |
1833 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/default/*.xml | |
1834 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/public/*.xml | |
1835 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/dialplan/skinny-patterns/*.xml | |
38e0bfb5 | 1836 | ###################################################################################################################### |
38e0bfb5 | 1837 | # User Directories |
38e0bfb5 | 1838 | ###################################################################################################################### |
e7d04724 KR |
1839 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/directory/*.xml |
1840 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/directory/default/* | |
38e0bfb5 | 1841 | ###################################################################################################################### |
38e0bfb5 | 1842 | # IVR Menues |
38e0bfb5 | 1843 | ###################################################################################################################### |
e7d04724 | 1844 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/ivr_menus/*.xml |
38e0bfb5 | 1845 | ###################################################################################################################### |
38e0bfb5 | 1846 | # Sip Profiles |
38e0bfb5 | 1847 | ###################################################################################################################### |
e7d04724 KR |
1848 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/sip_profiles/*.xml |
1849 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/sip_profiles/internal/*.xml | |
1850 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/sip_profiles/external/*.xml | |
38e0bfb5 | 1851 | ###################################################################################################################### |
38e0bfb5 | 1852 | # Other Protocol Profiles (skinny, jingle, mrcp) |
38e0bfb5 | 1853 | ###################################################################################################################### |
e7d04724 KR |
1854 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/skinny_profiles/*.xml |
1855 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/jingle_profiles/*.xml | |
1856 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/mrcp_profiles/*.xml | |
38e0bfb5 | 1857 | ###################################################################################################################### |
38e0bfb5 | 1858 | # Grammar Files |
38e0bfb5 | 1859 | ###################################################################################################################### |
e7d04724 KR |
1860 | %config(noreplace) %attr(0640, freeswitch, daemon) %{GRAMMARDIR}/default.dic |
1861 | %config(noreplace) %attr(0640, freeswitch, daemon) %{GRAMMARDIR}/model/communicator/* | |
1862 | ||
1863 | ### END OF config-vanilla | |
1864 | ||
38e0bfb5 | 1865 | ###################################################################################################################### |
72628d2e | 1866 | # |
e7d04724 | 1867 | # Application Packages |
72628d2e | 1868 | # |
38e0bfb5 | 1869 | ###################################################################################################################### |
e7d04724 | 1870 | %files application-abstraction |
e7d04724 KR |
1871 | %{MODINSTDIR}/mod_abstraction.so* |
1872 | ||
1873 | %files application-avmd | |
e7d04724 KR |
1874 | %{MODINSTDIR}/mod_avmd.so* |
1875 | ||
1876 | %files application-blacklist | |
e7d04724 KR |
1877 | %{MODINSTDIR}/mod_blacklist.so* |
1878 | ||
1879 | %files application-callcenter | |
e7d04724 KR |
1880 | %{MODINSTDIR}/mod_callcenter.so* |
1881 | ||
1882 | %files application-cidlookup | |
e7d04724 KR |
1883 | %{MODINSTDIR}/mod_cidlookup.so* |
1884 | ||
1885 | %files application-conference | |
e7d04724 KR |
1886 | %{MODINSTDIR}/mod_conference.so* |
1887 | ||
1888 | %files application-curl | |
e7d04724 KR |
1889 | %{MODINSTDIR}/mod_curl.so* |
1890 | ||
1891 | %files application-db | |
e7d04724 KR |
1892 | %{MODINSTDIR}/mod_db.so* |
1893 | ||
1894 | %files application-directory | |
e7d04724 KR |
1895 | %{MODINSTDIR}/mod_directory.so* |
1896 | ||
1897 | %files application-distributor | |
e7d04724 KR |
1898 | %{MODINSTDIR}/mod_distributor.so* |
1899 | ||
1900 | %files application-easyroute | |
e7d04724 KR |
1901 | %{MODINSTDIR}/mod_easyroute.so* |
1902 | ||
1903 | %files application-enum | |
e7d04724 KR |
1904 | %{MODINSTDIR}/mod_enum.so* |
1905 | ||
1906 | %files application-esf | |
e7d04724 KR |
1907 | %{MODINSTDIR}/mod_esf.so* |
1908 | ||
1909 | %if %{build_mod_esl} | |
1910 | %files application-esl | |
e7d04724 | 1911 | %{MODINSTDIR}/mod_esl.so* |
72628d2e | 1912 | %endif |
e7d04724 KR |
1913 | |
1914 | %files application-expr | |
e7d04724 KR |
1915 | %{MODINSTDIR}/mod_expr.so* |
1916 | ||
1917 | %files application-fifo | |
e7d04724 KR |
1918 | %{MODINSTDIR}/mod_fifo.so* |
1919 | ||
1920 | %files application-fsk | |
e7d04724 KR |
1921 | %{MODINSTDIR}/mod_fsk.so* |
1922 | ||
1923 | %files application-fsv | |
e7d04724 KR |
1924 | %{MODINSTDIR}/mod_fsv.so* |
1925 | ||
1926 | %files application-hash | |
e7d04724 KR |
1927 | %{MODINSTDIR}/mod_hash.so* |
1928 | ||
1929 | %files application-httapi | |
e7d04724 KR |
1930 | %{MODINSTDIR}/mod_httapi.so* |
1931 | ||
1932 | %files application-http-cache | |
e7d04724 KR |
1933 | %{MODINSTDIR}/mod_http_cache.so* |
1934 | ||
1935 | %files application-lcr | |
e7d04724 KR |
1936 | %{MODINSTDIR}/mod_lcr.so* |
1937 | ||
1938 | %files application-limit | |
e7d04724 KR |
1939 | %{MODINSTDIR}/mod_limit.so* |
1940 | ||
1941 | %files application-memcache | |
e7d04724 KR |
1942 | %{MODINSTDIR}/mod_memcache.so* |
1943 | ||
1944 | %files application-nibblebill | |
e7d04724 KR |
1945 | %{MODINSTDIR}/mod_nibblebill.so* |
1946 | ||
1947 | %files application-redis | |
e7d04724 KR |
1948 | %{MODINSTDIR}/mod_redis.so* |
1949 | ||
1950 | %files application-rss | |
e7d04724 KR |
1951 | %{MODINSTDIR}/mod_rss.so* |
1952 | ||
1953 | %files application-sms | |
e7d04724 KR |
1954 | %{MODINSTDIR}/mod_sms.so* |
1955 | ||
1956 | %files application-snapshot | |
e7d04724 KR |
1957 | %{MODINSTDIR}/mod_snapshot.so* |
1958 | ||
1959 | %files application-snom | |
e7d04724 KR |
1960 | %{MODINSTDIR}/mod_snom.so* |
1961 | ||
1962 | %files application-soundtouch | |
e7d04724 KR |
1963 | %{MODINSTDIR}/mod_soundtouch.so* |
1964 | ||
1965 | %files application-spy | |
e7d04724 KR |
1966 | %{MODINSTDIR}/mod_spy.so* |
1967 | ||
1968 | %files application-stress | |
e7d04724 KR |
1969 | %{MODINSTDIR}/mod_stress.so* |
1970 | ||
1971 | %files application-valet_parking | |
e7d04724 KR |
1972 | %{MODINSTDIR}/mod_valet_parking.so* |
1973 | ||
1974 | %files application-voicemail | |
e7d04724 KR |
1975 | %{MODINSTDIR}/mod_voicemail.so* |
1976 | ||
1977 | %files application-voicemail-ivr | |
e7d04724 KR |
1978 | %{MODINSTDIR}/mod_voicemail_ivr.so* |
1979 | ||
38e0bfb5 | 1980 | ###################################################################################################################### |
72628d2e | 1981 | # |
e7d04724 | 1982 | # ASR RRS Packages |
72628d2e | 1983 | # |
38e0bfb5 | 1984 | ###################################################################################################################### |
e7d04724 | 1985 | %files asrtts-flite |
e7d04724 KR |
1986 | %{MODINSTDIR}/mod_flite.so* |
1987 | ||
1988 | %files asrtts-pocketsphinx | |
e7d04724 KR |
1989 | %{MODINSTDIR}/mod_pocketsphinx.so* |
1990 | ||
1991 | %files asrtts-tts-commandline | |
e7d04724 KR |
1992 | %{MODINSTDIR}/mod_tts_commandline.so* |
1993 | ||
1994 | %files asrtts-unimrcp | |
e7d04724 KR |
1995 | %{MODINSTDIR}/mod_unimrcp.so* |
1996 | ||
38e0bfb5 | 1997 | ###################################################################################################################### |
72628d2e | 1998 | # |
e7d04724 KR |
1999 | # CODEC Packages |
2000 | # | |
2001 | ###################################################################################################################### | |
2002 | ||
2003 | %files codec-passthru-amr | |
e7d04724 KR |
2004 | %{MODINSTDIR}/mod_amr.so* |
2005 | ||
2006 | %files codec-passthru-amrwb | |
e7d04724 KR |
2007 | %{MODINSTDIR}/mod_amrwb.so* |
2008 | ||
2009 | %files codec-bv | |
e7d04724 KR |
2010 | %{MODINSTDIR}/mod_bv.so* |
2011 | ||
2012 | %files codec-celt | |
e7d04724 KR |
2013 | %{MODINSTDIR}/mod_celt.so* |
2014 | ||
2015 | %files codec-codec2 | |
e7d04724 KR |
2016 | %{MODINSTDIR}/mod_codec2.so* |
2017 | ||
2018 | ||
2019 | %files codec-passthru-g723_1 | |
e7d04724 KR |
2020 | %{MODINSTDIR}/mod_g723_1.so* |
2021 | ||
2022 | %files codec-passthru-g729 | |
e7d04724 KR |
2023 | %{MODINSTDIR}/mod_g729.so* |
2024 | ||
2025 | %files codec-h26x | |
e7d04724 KR |
2026 | %{MODINSTDIR}/mod_h26x.so* |
2027 | ||
2028 | %files codec-ilbc | |
e7d04724 KR |
2029 | %{MODINSTDIR}/mod_ilbc.so* |
2030 | ||
2031 | %files codec-isac | |
e7d04724 KR |
2032 | %{MODINSTDIR}/mod_isac.so* |
2033 | ||
2034 | %files codec-mp4v | |
e7d04724 KR |
2035 | %{MODINSTDIR}/mod_mp4v.so* |
2036 | ||
58e36803 | 2037 | %files codec-vp8 |
16133053 KR |
2038 | %{MODINSTDIR}/mod_vp8.so* |
2039 | ||
e7d04724 | 2040 | %files codec-opus |
e7d04724 | 2041 | %{MODINSTDIR}/mod_opus.so* |
79b26b8e | 2042 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/opus.conf.xml |
e7d04724 KR |
2043 | |
2044 | %if %{build_sng_tc} | |
2045 | %files sangoma-codec | |
e7d04724 KR |
2046 | %{MODINSTDIR}/mod_sangoma_codec.so* |
2047 | %endif | |
2048 | ||
2049 | %files codec-silk | |
e7d04724 KR |
2050 | %{MODINSTDIR}/mod_silk.so* |
2051 | ||
2052 | %files codec-siren | |
e7d04724 KR |
2053 | %{MODINSTDIR}/mod_siren.so* |
2054 | ||
e7d04724 | 2055 | %files codec-theora |
e7d04724 KR |
2056 | %{MODINSTDIR}/mod_theora.so* |
2057 | ||
2058 | ###################################################################################################################### | |
2059 | # | |
2060 | # FreeSWITCH Directory Modules | |
72628d2e | 2061 | # |
38e0bfb5 | 2062 | ###################################################################################################################### |
e7d04724 | 2063 | |
b8a5cac2 | 2064 | #%files directory-ldap |
b8a5cac2 | 2065 | #%{MODINSTDIR}/mod_theora.so* |
e7d04724 | 2066 | |
38e0bfb5 | 2067 | ###################################################################################################################### |
72628d2e | 2068 | # |
e7d04724 | 2069 | # FreeSWITCH endpoint Modules |
72628d2e | 2070 | # |
38e0bfb5 | 2071 | ###################################################################################################################### |
e7d04724 KR |
2072 | |
2073 | %files endpoint-dingaling | |
e7d04724 KR |
2074 | %{MODINSTDIR}/mod_dingaling.so* |
2075 | ||
2076 | #%files endpoint-gsmopen | |
e7d04724 KR |
2077 | #%{MODINSTDIR}/mod_gsmopen.so* |
2078 | ||
2079 | #%files endpoint-h323 | |
e7d04724 KR |
2080 | #%{MODINSTDIR}/mod_h323.so* |
2081 | ||
2082 | #%files endpoint-khomp | |
e7d04724 KR |
2083 | #%{MODINSTDIR}/mod_khomp.so* |
2084 | ||
2085 | %files endpoint-portaudio | |
e7d04724 KR |
2086 | %{MODINSTDIR}/mod_portaudio.so* |
2087 | ||
2088 | %files endpoint-rtmp | |
e7d04724 KR |
2089 | %{MODINSTDIR}/mod_rtmp.so* |
2090 | ||
2091 | %files endpoint-skinny | |
e7d04724 KR |
2092 | %{MODINSTDIR}/mod_skinny.so* |
2093 | ||
2094 | %files endpoint-skypopen | |
e7d04724 KR |
2095 | %{MODINSTDIR}/mod_skypopen.so* |
2096 | ||
38e0bfb5 | 2097 | ###################################################################################################################### |
72628d2e | 2098 | # |
3ce98c4e | 2099 | # FreeTDM Module for TDM Interaction |
72628d2e | 2100 | # |
38e0bfb5 | 2101 | ###################################################################################################################### |
1a4ee982 | 2102 | %files freetdm |
e7d04724 KR |
2103 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/tones.conf |
2104 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/freetdm.conf.xml | |
2105 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/pika.conf | |
2106 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/freetdm.conf | |
2107 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/wanpipe.conf | |
2108 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/zt.conf | |
2109 | %{LIBDIR}/libfreetdm.so* | |
2110 | %{MODINSTDIR}/mod_freetdm.so* | |
2111 | %{MODINSTDIR}/ftmod_skel*.so* | |
2112 | %{MODINSTDIR}/ftmod_[a-r,t-z]*.so* | |
3ce98c4e MB |
2113 | |
2114 | %if %{build_sng_ss7} | |
2115 | %files freetdm-sng-ss7 | |
e7d04724 | 2116 | %{MODINSTDIR}/ftmod_sangoma_ss7.so* |
3ce98c4e MB |
2117 | %endif |
2118 | ||
2119 | %if %{build_sng_isdn} | |
2120 | %files freetdm-sng-isdn | |
e7d04724 | 2121 | %{MODINSTDIR}/ftmod_sangoma_isdn.so* |
3ce98c4e | 2122 | %endif |
78cc2f40 | 2123 | |
38e0bfb5 | 2124 | ###################################################################################################################### |
72628d2e | 2125 | # |
e7d04724 | 2126 | # Event Modules |
72628d2e | 2127 | # |
38e0bfb5 | 2128 | ###################################################################################################################### |
78cc2f40 | 2129 | |
e7d04724 | 2130 | %files event-cdr-mongodb |
e7d04724 | 2131 | %{MODINSTDIR}/mod_cdr_mongodb.so* |
78cc2f40 | 2132 | |
e7d04724 | 2133 | %files event-cdr-pg-csv |
e7d04724 | 2134 | %{MODINSTDIR}/mod_cdr_pg_csv.so* |
78cc2f40 | 2135 | |
e7d04724 | 2136 | %files event-cdr-sqlite |
e7d04724 KR |
2137 | %{MODINSTDIR}/mod_cdr_sqlite.so* |
2138 | ||
2139 | %files event-erlang-event | |
e7d04724 KR |
2140 | %{MODINSTDIR}/mod_erlang_event.so* |
2141 | ||
2142 | %files event-multicast | |
e7d04724 KR |
2143 | %{MODINSTDIR}/mod_event_multicast.so* |
2144 | ||
2145 | #%files event-zmq | |
e7d04724 KR |
2146 | #%{MODINSTDIR}/mod_xmq.so* |
2147 | ||
2148 | %files event-json-cdr | |
e7d04724 KR |
2149 | %{MODINSTDIR}/mod_json_cdr.so* |
2150 | ||
72aea1f5 CR |
2151 | %if %{build_mod_rayo} |
2152 | %files event-rayo | |
72aea1f5 CR |
2153 | %{MODINSTDIR}/mod_rayo.so* |
2154 | %endif | |
2155 | ||
e7d04724 | 2156 | %files event-snmp |
e7d04724 | 2157 | %{MODINSTDIR}/mod_snmp.so* |
78cc2f40 | 2158 | |
38e0bfb5 | 2159 | ###################################################################################################################### |
72628d2e | 2160 | # |
e7d04724 | 2161 | # Event Modules |
72628d2e | 2162 | # |
38e0bfb5 | 2163 | ###################################################################################################################### |
78cc2f40 | 2164 | |
e7d04724 | 2165 | %files format-local-stream |
e7d04724 KR |
2166 | %{MODINSTDIR}/mod_local_stream.so* |
2167 | ||
2168 | %files format-native-file | |
e7d04724 KR |
2169 | %{MODINSTDIR}/mod_native_file.so* |
2170 | ||
2171 | %files format-portaudio-stream | |
e7d04724 KR |
2172 | %{MODINSTDIR}/mod_portaudio_stream.so* |
2173 | ||
2174 | %files format-shell-stream | |
e7d04724 KR |
2175 | %{MODINSTDIR}/mod_shell_stream.so* |
2176 | ||
2177 | %files format-mod-shout | |
e7d04724 KR |
2178 | %{MODINSTDIR}/mod_shout.so* |
2179 | ||
72aea1f5 CR |
2180 | %if %{build_mod_ssml} |
2181 | %files format-ssml | |
72aea1f5 CR |
2182 | %{MODINSTDIR}/mod_ssml.so* |
2183 | %endif | |
2184 | ||
e7d04724 | 2185 | %files format-tone-stream |
e7d04724 KR |
2186 | %{MODINSTDIR}/mod_tone_stream.so* |
2187 | ||
2188 | ###################################################################################################################### | |
2189 | # | |
2190 | # Embedded Language Modules | |
2191 | # | |
2192 | ###################################################################################################################### | |
78cc2f40 | 2193 | %files lua |
e7d04724 KR |
2194 | %{MODINSTDIR}/mod_lua*.so* |
2195 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs | |
2196 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/lua.conf.xml | |
78cc2f40 MJ |
2197 | |
2198 | %files perl | |
e7d04724 | 2199 | %{MODINSTDIR}/mod_perl*.so* |
78cc2f40 | 2200 | %{prefix}/perl/* |
e7d04724 KR |
2201 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs |
2202 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/perl.conf.xml | |
78cc2f40 MJ |
2203 | |
2204 | %files python | |
e7d04724 | 2205 | %{MODINSTDIR}/mod_python*.so* |
7438e24d | 2206 | %attr(0644, root, bin) /usr/lib/python*/site-packages/freeswitch.py* |
65d5932c MB |
2207 | %attr(0755, root, bin) /usr/lib/python*/site-packages/_ESL.so* |
2208 | %attr(0755, root, bin) /usr/lib/python*/site-packages/ESL.py* | |
e7d04724 KR |
2209 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs |
2210 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/python.conf.xml | |
78cc2f40 | 2211 | |
e7d04724 | 2212 | %files spidermonkey |
e7d04724 KR |
2213 | %{MODINSTDIR}/mod_spidermonkey*.so* |
2214 | %{LIBDIR}/libjs.so* | |
2215 | %{LIBDIR}/libnspr4.so | |
2216 | %{LIBDIR}/libplds4.so | |
2217 | %{LIBDIR}/libplc4.so | |
2218 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs | |
2219 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/spidermonkey.conf.xml | |
2220 | ||
b7623326 | 2221 | %files v8 |
79b26b8e CR |
2222 | #%{MODINSTDIR}/mod_v8*.so* |
2223 | #%{LIBDIR}/libv8.so | |
2224 | #%{LIBDIR}/libicui18n.so | |
2225 | #%{LIBDIR}/libicuuc.so | |
2226 | #%dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs | |
b7623326 PO |
2227 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/v8.conf.xml |
2228 | ||
38e0bfb5 | 2229 | ###################################################################################################################### |
72628d2e | 2230 | # |
38e0bfb5 | 2231 | # Language Modules |
72628d2e | 2232 | # |
38e0bfb5 | 2233 | ###################################################################################################################### |
78cc2f40 | 2234 | %files lang-en |
e7d04724 KR |
2235 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en |
2236 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/demo | |
2237 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/vm | |
2238 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/dir | |
2239 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/en/ivr | |
2240 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/*.xml | |
2241 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/demo/*.xml | |
2242 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/vm/*.xml | |
2243 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/dir/*.xml | |
2244 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/en/ivr/*.xml | |
2245 | %{MODINSTDIR}/mod_say_en.so* | |
78cc2f40 MJ |
2246 | |
2247 | %files lang-de | |
e7d04724 KR |
2248 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/de |
2249 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/de/demo | |
2250 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/de/vm | |
2251 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/de/*.xml | |
2252 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/de/demo/*.xml | |
2253 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/de/vm/*.xml | |
2254 | %{MODINSTDIR}/mod_say_de.so* | |
78cc2f40 MJ |
2255 | |
2256 | %files lang-fr | |
e7d04724 KR |
2257 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr |
2258 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr/demo | |
2259 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr/vm | |
2260 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/fr/dir | |
2261 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/*.xml | |
2262 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/demo/*.xml | |
2263 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/vm/*.xml | |
2264 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/fr/dir/*.xml | |
2265 | %{MODINSTDIR}/mod_say_fr.so* | |
78cc2f40 MJ |
2266 | |
2267 | %files lang-ru | |
e7d04724 KR |
2268 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru |
2269 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru/demo | |
2270 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru/vm | |
2271 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/ru/dir | |
2272 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/*.xml | |
2273 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/demo/*.xml | |
2274 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/vm/*.xml | |
2275 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/ru/dir/*.xml | |
2276 | %{MODINSTDIR}/mod_say_ru.so* | |
78cc2f40 | 2277 | |
0630c54c | 2278 | %files lang-he |
e7d04724 KR |
2279 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/ |
2280 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/demo | |
2281 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/vm | |
2282 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/he/dir | |
2283 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/*.xml | |
2284 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/demo/*.xml | |
2285 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/vm/*.xml | |
2286 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/he/dir/*.xml | |
2287 | %{MODINSTDIR}/mod_say_he.so* | |
2288 | ||
35a141c4 | 2289 | %files lang-es |
35a141c4 KR |
2290 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es |
2291 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es/demo | |
2292 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es/vm | |
2293 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/es/dir | |
2294 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/*.xml | |
2295 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/demo/*.xml | |
2296 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/vm/*.xml | |
2297 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/es/dir/*.xml | |
2298 | %{MODINSTDIR}/mod_say_en.so* | |
2299 | ||
cf480c8b | 2300 | %files lang-pt |
35a141c4 KR |
2301 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt |
2302 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt/demo | |
2303 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt/vm | |
2304 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/pt/dir | |
2305 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/*.xml | |
2306 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/demo/*.xml | |
2307 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/vm/*.xml | |
2308 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/pt/dir/*.xml | |
2309 | %{MODINSTDIR}/mod_say_en.so* | |
2310 | ||
9059fb91 | 2311 | %files lang-sv |
9059fb91 | 2312 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/sv |
9059fb91 PO |
2313 | %dir %attr(0750, freeswitch, daemon) %{sysconfdir}/lang/sv/vm |
2314 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/sv/*.xml | |
9059fb91 PO |
2315 | %config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/lang/sv/vm/*.xml |
2316 | %{MODINSTDIR}/mod_say_sv.so* | |
2317 | ||
e7d04724 KR |
2318 | ###################################################################################################################### |
2319 | # | |
2320 | # Timer Modules | |
2321 | # | |
2322 | ###################################################################################################################### | |
2323 | ||
2324 | %files timer-posix | |
e7d04724 KR |
2325 | %{MODINSTDIR}/mod_posix_timer.so* |
2326 | ||
2327 | %if %{build_timerfd} | |
2328 | %files timer-timerfd | |
e7d04724 KR |
2329 | %{MODINSTDIR}/mod_timerfd.so* |
2330 | %endif | |
2331 | ||
2332 | ###################################################################################################################### | |
2333 | # | |
2334 | # XMLINT Modules | |
2335 | # | |
2336 | ###################################################################################################################### | |
2337 | ||
2338 | %files xml-cdr | |
e7d04724 KR |
2339 | %{MODINSTDIR}/mod_xml_cdr.so* |
2340 | ||
2341 | %files xml-curl | |
e7d04724 | 2342 | %{MODINSTDIR}/mod_xml_curl.so* |
0630c54c | 2343 | |
38e0bfb5 | 2344 | ###################################################################################################################### |
72628d2e | 2345 | # |
38e0bfb5 | 2346 | # Changelog |
72628d2e | 2347 | # |
38e0bfb5 | 2348 | ###################################################################################################################### |
78cc2f40 | 2349 | %changelog |
79b26b8e CR |
2350 | * Fri Feb 21 2014 - crienzo@grasshopper.com |
2351 | - change file owner to root | |
e425307e CR |
2352 | * Wed Feb 19 2014 - crienzo@grasshopper.com |
2353 | - remove mod_speex | |
9059fb91 PO |
2354 | * Sun Feb 02 2014 - jakob@mress.se |
2355 | - add support for building Swedish say language module | |
b7623326 PO |
2356 | * Mon Jan 13 2014 - peter@olssononline.se |
2357 | - Add mod_v8 | |
72aea1f5 CR |
2358 | * Mon Dec 09 2013 - crienzo@grasshopper.com |
2359 | - Add mod_ssml, mod_rayo | |
2360 | - Fix build on master | |
16133053 KR |
2361 | * Thu Jun 28 2013 - krice@freeswitch.org |
2362 | - Add module for VP8 | |
2363 | * Thu Jun 19 2013 - krice@freeswitch.org | |
59a082c0 | 2364 | - tweak files included for vanilla configs |
35a141c4 KR |
2365 | * Thu Sep 19 2012 - krice@freeswitch.org |
2366 | - Add support for Spanish and Portugese say language modules | |
e7d04724 KR |
2367 | * Thu Jan 26 2012 - krice@freeswitch.org |
2368 | - complete rework of spec file | |
0783ec8b | 2369 | * Tue Jun 14 2011 - michal.bielicki@seventhsignal.de |
0a0ee5fe MB |
2370 | - added mod_http_cache |
2371 | * Tue Jun 14 2011 - michal.bielicki@seventhsignal.de | |
0783ec8b | 2372 | - added mod_rtmp |
0630c54c MB |
2373 | * Fri Apr 01 2011 - michal.bielicki@seventhsignal.de |
2374 | - added hebrew language stuff | |
eb218cf9 MB |
2375 | * Wed Mar 30 2011 - michal.bielicki@seventhsignal.de |
2376 | - removed mod_file_string since it has been merged into dptools | |
3ce98c4e MB |
2377 | * Wed Feb 16 2011 - michal.bielicki@seventhsignal.de |
2378 | - added mod_skinny | |
2379 | - added sangoma libraries | |
2380 | - added sangoma codec module for D100 and D150 and D500 | |
2381 | - added skypopen module | |
2382 | - fixes for ss7 freetdm modules | |
2383 | - added mod_opus | |
2384 | - added selector for sangoma modules | |
2385 | - addded python esl module to rpm | |
2386 | - some minor cleanups | |
2387 | - cut sangoma modules into separate rpms as addons for freetdm | |
af0dc500 | 2388 | * Tue Jan 18 2011 - michal.bielicki@seventhsignal.de |
2389 | - Fedora adjustments | |
ddf34ab3 | 2390 | * Fri Oct 15 2010 - michal.bielicki@seventhsignal.de |
2391 | - added mod_curl | |
1a4ee982 MB |
2392 | * Sat Oct 09 2010 - michal.bielicki@seventhsignal.de |
2393 | - added mod_silk | |
2394 | - added mod_codec2 | |
2395 | - moved from openzap to freetdm to make way for inclusion of libsng_isdn and wanpipe | |
2396 | - added mod_freetdm | |
2397 | - added mod_cidlookup | |
2398 | - added more runtime dependencies | |
ff8f468d MB |
2399 | * Thu Sep 30 2010 - michal.bielicki@seventhsignal.de |
2400 | - added mod_nibblebill to standard modules | |
38e0bfb5 MB |
2401 | * Sun Sep 26 2010 - michal.bielicki@seventhsignal.de |
2402 | - added portaudio_stream module | |
2403 | - some more formating work | |
000a7636 | 2404 | * Mon Jul 19 2010 - michal.bielicki@seventhsignal.de |
04e3b221 | 2405 | - new hash module config file added to freeswitch.spec |
2406 | * Mon Jul 19 2010 - michal.bielicki@seventhsignal.de | |
000a7636 | 2407 | - Adjusted sphinxbase |
2408 | - Fixed Version Revisions for head versions | |
2409 | - Renamed packages to head to comply with git | |
72628d2e | 2410 | * Tue Jun 22 2010 - michal.bielicki@seventhsignal.de |
2411 | - Added comments and made the spec file sections more transparent | |
2412 | - Added proper header to the Spec file | |
2413 | - Added Contributors | |
2414 | - Added Anthony's copyright for the whole package into the header | |
2415 | * Tue Jun 22 2010 - michal.bielicki@seventhsignal.de | |
2416 | - Reorganized the modules alphabeticaly | |
2417 | - synced SFEopensolaris and centos spec | |
2418 | - started to fix Run Dependencies | |
2419 | - added mod_say_ru which seemd to have gone missing | |
2420 | - added comment blocks to show the spec file structure for easier management and editing | |
3d54eec8 | 2421 | * Mon Jun 21 2010 - michal.bielicki@seventhsignal.de |
2422 | - added mod_limit shim for backwards compatibility | |
2423 | - added mod_hash correctly | |
3f5c9724 | 2424 | * Sun Jun 20 2010 - michal.bielicki@seventhsignal.de |
2425 | - replaced mod_limit with mod_db | |
2426 | - added mod_spy | |
2427 | - added mod_valet_parking | |
2428 | - addded mod_memcache | |
2429 | - added mod_distributor | |
2430 | - added mod_avmd | |
c0fc0265 | 2431 | * Thu Apr 29 2010 - michal.bielicki@seventhsignal.de |
2432 | - added osp conf file | |
f818399a | 2433 | * Fri Apr 23 2010 - michal.bielicki@seventhsignal.de |
16ebeb0e | 2434 | - bumped spec file vrersion up to 1.0.7-trunk for trunk |
2435 | - added skinny dialplan stuff to specfile | |
216382e6 MB |
2436 | * Sun Mar 28 2010 - michal.bielicki@seventhsignal.de |
2437 | - added sangoma codec config file | |
1caeb602 MB |
2438 | * Wed Dec 02 2009 - michal.bielicki@seventhsignal.de |
2439 | - Soundfiles are moving into a separate spec | |
5a75934b BW |
2440 | * Wed Nov 25 2009 - brian@freeswitch.org |
2441 | - added mod_bv.so | |
85e25887 MB |
2442 | * Wed Nov 25 2009 - michal.bielicki@seventhsignal.de |
2443 | - Removed mod_yaml | |
2444 | - added directory files to russian language | |
ae7aa36f MB |
2445 | * Sat Nov 21 2009 - michal.bielicki@seventhsignal.de |
2446 | - added patch by Igor Neves <neves.igor@gmail.com>: Added some checkup in %post and %postun to prevent upgrades from removing freeswitch user | |
479df6fd MB |
2447 | * Thu Nov 18 2009 - michal.bielicki@seventhsignal.de |
2448 | - added new config files for diretory and distributor | |
2449 | - removed sangoma boost from openzap for builds that do not inherit wanpipe while building. | |
4fb0b292 MJ |
2450 | * Tue Jul 24 2009 - mike@jerris.com |
2451 | - removed mod_http | |
2452 | - removed ozmod_wanpipe | |
78cc2f40 MJ |
2453 | * Tue Jun 23 2009 - raulfragoso@gmail.com |
2454 | - Adjusted for the latest SVN trunk (13912) | |
2455 | - Included new config and mod files to catch up with latest SVN | |
2456 | - Included new sound files for base256 and zrtp | |
2457 | - mod_unimrcp must be built after mod_sofia | |
2458 | * Mon Feb 17 2009 - michal.bielicki@halokwadrat.de | |
2459 | - added mod_python | |
2460 | - added mod_fax | |
2461 | - added mod_amrwb.so | |
2462 | - added mod_celt.so | |
2463 | - added mod_easyroute.so | |
2464 | - added mod_http.so | |
2465 | - added mod_lcr.so | |
2466 | - added mod_loopback.so | |
2467 | - added mod_siren.so | |
2468 | - added mod/mod_stress.so | |
2469 | - added mod_yaml.so | |
2470 | - added mod_shout.so | |
2471 | - added rpms or all sounds | |
2472 | - openzap is now its own rpm | |
2473 | - added french | |
2474 | - added german | |
2475 | - added missing dependencies | |
2476 | - added soundfiles with separate rpms | |
2477 | - added definition of all sourcefiles and added them to the SRPM | |
2478 | - fixes to monit file | |
2479 | - changes to redhat init file | |
2480 | * Thu May 22 2008 - michal.bielicki@voiceworks.pl | |
2481 | - disabled beta class language stuff | |
2482 | - bumped revision up to rc6 | |
2483 | - added mod_lua | |
2484 | - added mod_perl | |
2485 | - Only bootstrap if no Makfile.in exists | |
2486 | * Mon Feb 04 2008 - michal.bielicki@voiceworks.pl | |
2487 | - More fixes to specfile | |
2488 | - First go at SFE files | |
2489 | * Sun Feb 03 2008 - michal.bielicki@voiceworks.pl | |
2490 | - abstraction of prefix | |
2491 | - more wrong stuff deleted | |
2492 | - abstraction of mkdir, mv, rm, install etc into macros | |
2493 | * Fri Jan 18 2008 - michal.bielicki@voiceworks.pl | |
2494 | - fixes, fixes and more fixes in preparation for rc1 | |
2495 | * Thu Dec 5 2007 - michal.bielicki@voiceworks.pl | |
2496 | - put in detail configfiles in to split of spidermonkey configs | |
2497 | - created link from /opt/freesxwitch/conf to /etc%{prefix} | |
2498 | * Thu Nov 29 2007 - michal.bielicki@voiceworks.pl | |
2499 | - Added ifdefs for susealities | |
2500 | - Added specifics for centos/redhat | |
2501 | - Added specifics for fedora | |
2502 | - Preparing to use it for adding it to SFE packaging for solaris | |
2503 | - Added odbc stuff back in | |
2504 | - made curl default | |
2505 | - Separate package for mod_spidermonkey | |
2506 | - got rid of modules.conf and stuffed everything in MODULES env var | |
2507 | - got rid of handmade Cflags peter added ;) | |
2508 | - fixed bin and libpaths | |
2509 | - fixed locationof nspr and js libs | |
2510 | - fixed odbc requirements | |
2511 | - added all buildable modules | |
2512 | - added redhat style init file | |
2513 | - splitted off language dependant stuff into separate language files | |
2514 | - disable non complete language modules | |
2515 | * Tue Apr 24 2007 - peter+rpmspam@suntel.com.tr | |
2516 | - Added a debug package | |
2517 | - Split the passthrough codecs into separate packages | |
2518 | * Fri Mar 16 2007 - peter+rpmspam@suntel.com.tr | |
2519 | - Added devel package | |
2520 | * Thu Mar 15 2007 - peter+rpmspam@suntel.com.tr | |
2521 | - Initial RPM release | |
3ce98c4e | 2522 |