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