/[packages]/cauldron/freeswitch/current/SPECS/freeswitch.spec
ViewVC logotype

Contents of /cauldron/freeswitch/current/SPECS/freeswitch.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26