]> git.ipfire.org Git - thirdparty/freeswitch.git/blame - freeswitch.spec
first go at new codecs and fretdm
[thirdparty/freeswitch.git] / freeswitch.spec
CommitLineData
38e0bfb5
MB
1######################################################################################################################
2######################################################################################################################
72628d2e 3#
4# spec file for package freeswitch
5#
6# includes module(s): freeswitch-devel freeswitch-codec-passthru-amr freeswitch-codec-passthru-amrwb freeswitch-codec-passthru-g729
7# freeswitch-codec-passthru-g7231 freeswitch-lua freeswitch-perl freeswitch-python freeswitch-spidermonkey
8# freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-ru freeswitch-openzap
9#
10# Initial Version Copyright (C) 2007 Peter Nixon and Michal Bielicki, All Rights Reserved.
11#
12# This file is part of:
13# FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
14# Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org>
15#
16# This file and all modifications and additions to the pristine package are under the same license as the package itself.
17#
18# Contributor(s): Mike Jerris
19# Brian West
20# Raul Fragoso
21# Rupa Shomaker
22# Marc Olivier Chouinard
23# Raymond Chandler
24# Anthony Minessale II <anthm@freeswitch.org>
25#
26#
27# Maintainer(s): Michal Bielicki <michal.bielicki (at) ++nospam_please++ seventhsignal.de
28#
38e0bfb5
MB
29######################################################################################################################
30######################################################################################################################
72628d2e 31#
febad39b
MJ
32# disable rpath checking
33%define __arch_install_post /usr/lib/rpm/check-buildroot
78cc2f40
MJ
34%define _prefix /opt/freeswitch
35%define prefix %{_prefix}
36%define sysconfdir /opt/freeswitch/conf
37%define _sysconfdir %{sysconfdir}
7cefb227
LD
38%define logfiledir /var/log/freeswitch
39%define runtimedir /var/run/freeswitch
78cc2f40 40
72628d2e 41Name: freeswitch
42Summary: FreeSWITCH open source telephony platform
43License: MPL
44Group: Productivity/Telephony/Servers
45Version: 1.0.7
46Release: trunk
47URL: http://www.freeswitch.org/
78cc2f40
MJ
48Packager: Michal Bielicki
49Vendor: http://www.freeswitch.org/
72628d2e 50
38e0bfb5 51######################################################################################################################
72628d2e 52#
38e0bfb5 53# Source files and where to get them
72628d2e 54#
38e0bfb5 55######################################################################################################################
78cc2f40 56Source0: http://files.freeswitch.org/%{name}-%{version}.tar.bz2
82f268cc 57Source1: http://files.freeswitch.org/downloads/libs/celt-0.7.1.tar.gz
72628d2e 58Source2: http://files.freeswitch.org/downloads/libs/flite-1.3.99-latest.tar.gz
59Source3: http://files.freeswitch.org/downloads/libs/lame-3.97.tar.gz
60Source4: http://files.freeswitch.org/downloads/libs/libshout-2.2.2.tar.gz
61Source5: http://files.freeswitch.org/downloads/libs/mpg123.tar.gz
62Source6: http://files.freeswitch.org/downloads/libs/openldap-2.4.11.tar.gz
47e63d0a 63Source7: http://files.freeswitch.org/downloads/libs/pocketsphinx-0.5.99-20091212.tar.gz
72628d2e 64Source8: http://files.freeswitch.org/downloads/libs/soundtouch-1.3.1.tar.gz
000a7636 65Source9: http://files.freeswitch.org/downloads/libs/sphinxbase-0.4.99-20091212.tar.gz
72628d2e 66Source10: http://files.freeswitch.org/downloads/libs/communicator_semi_6000_20080321.tar.gz
67Source11: http://files.freeswitch.org/downloads/libs/libmemcached-0.32.tar.gz
55960b55 68Prefix: %{prefix}
72628d2e 69
70
38e0bfb5 71######################################################################################################################
72628d2e 72#
73# Build Dependencies
74#
38e0bfb5 75######################################################################################################################
78cc2f40
MJ
76
77%if 0%{?suse_version} > 100
78#BuildRequires: openldap2-devel
79BuildRequires: lzo-devel
80%else
81BuildRequires: openldap-devel
82%endif
83BuildRequires: autoconf
84BuildRequires: automake
85BuildRequires: curl-devel
86BuildRequires: gcc-c++
87BuildRequires: gnutls-devel
88BuildRequires: libtool >= 1.5.17
89BuildRequires: ncurses-devel
90BuildRequires: openssl-devel
91BuildRequires: perl
92BuildRequires: pkgconfig
93BuildRequires: termcap
94BuildRequires: unixODBC-devel
95BuildRequires: gdbm-devel
96BuildRequires: db4-devel
97BuildRequires: python-devel
98BuildRequires: libogg-devel
99BuildRequires: libvorbis-devel
1e723764 100BuildRequires: libjpeg-devel
78cc2f40
MJ
101#BuildRequires: mono-devel
102BuildRequires: alsa-lib-devel
103BuildRequires: which
104BuildRequires: zlib-devel
493125bd 105BuildRequires: e2fsprogs-devel
72628d2e 106Requires: alsa-lib
107Requires: libogg
108Requires: libvorbis
109Requires: curl
110Requires: ncurses
111Requires: openssl
112Requires: unixODBC
113Requires: libjpeg
114Requires: openldap
115Requires: db4
116Requires: gdbm
117Requires: zlib
55960b55
MB
118Requires: libtiff
119Requires: python
78cc2f40
MJ
120
121%if %{?suse_version:1}0
122%if 0%{?suse_version} > 910
123#BuildRequires: autogen
124%endif
125%endif
126
127%if 0%{?suse_version} > 800
128#PreReq: /usr/sbin/useradd /usr/sbin/groupadd
129PreReq: %insserv_prereq %fillup_prereq
130%endif
131
72628d2e 132
38e0bfb5 133######################################################################################################################
72628d2e 134#
38e0bfb5 135# Where the packages are going to be built
72628d2e 136#
38e0bfb5 137######################################################################################################################
78cc2f40
MJ
138BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
139
140%description
141FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice
142and chat driven products scaling from a soft-phone up to a soft-switch. It can be used as a
143simple switching engine, a media gateway or a media server to host IVR applications using
144simple scripts or XML to control the callflow.
145
93f8288c 146We support various communication technologies such as SIP, H.323 and GoogleTalk making
78cc2f40
MJ
147it easy to interface with other open source PBX systems such as sipX, OpenPBX, Bayonne, YATE or Asterisk.
148
149We also support both wide and narrow band codecs making it an ideal solution to bridge legacy
150devices to the future. The voice channels and the conference bridge module all can operate
151at 8, 16 or 32 kilohertz and can bridge channels of different rates.
152
153FreeSWITCH runs on several operating systems including Windows, Max OS X, Linux, BSD and Solaris
154on both 32 and 64 bit platforms.
155
156Our developers are heavily involved in open source and have donated code and other resources to
157other telephony projects including sipXecs, OpenSER, Asterisk, CodeWeaver and OpenPBX.
158
72628d2e 159
38e0bfb5 160######################################################################################################################
72628d2e 161#
38e0bfb5
MB
162# Sub Package definitions. Description and Runtime Requirements go here
163# What goes into which package is in the files section after the whole build enchilada
72628d2e 164#
38e0bfb5 165######################################################################################################################
72628d2e 166
167
78cc2f40
MJ
168%package devel
169Summary: Development package for FreeSWITCH open source telephony platform
170Group: System/Libraries
171Requires: %{name} = %{version}-%{release}
172
173%description devel
174FreeSWITCH development files
175
176%package codec-passthru-amrwb
177Summary: Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform
178Group: System/Libraries
179Requires: %{name} = %{version}-%{release}
180Conflicts: codec-amrwb
181
182%description codec-passthru-amrwb
183Pass-through AMR WideBand Codec support for FreeSWITCH open source telephony platform
184
185
186%package codec-passthru-amr
187Summary: Pass-through AMR Codec support for FreeSWITCH open source telephony platform
188Group: System/Libraries
189Requires: %{name} = %{version}-%{release}
190Conflicts: codec-amr
191
192%description codec-passthru-amr
193Pass-through AMR Codec support for FreeSWITCH open source telephony platform
194
195%package codec-passthru-g723_1
196Summary: Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
197Group: System/Libraries
198Requires: %{name} = %{version}-%{release}
199Conflicts: codec-g723_1
200
201%description codec-passthru-g723_1
202Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
203
204%package codec-passthru-g729
205Summary: Pass-through g729 Codec support for FreeSWITCH open source telephony platform
206Group: System/Libraries
207Requires: %{name} = %{version}-%{release}
208Conflicts: codec-g729
209
210%description codec-passthru-g729
211Pass-through g729 Codec support for FreeSWITCH open source telephony platform
212
213%package spidermonkey
214Summary: JavaScript support for the FreeSWITCH open source telephony platform
215Group: System/Libraries
216Requires: %{name} = %{version}-%{release}
217
218%description spidermonkey
219
220%package lua
221Summary: Lua support for the FreeSWITCH open source telephony platform
222Group: System/Libraries
223Requires: %{name} = %{version}-%{release}
224
225%description lua
226
227%package perl
228Summary: Perl support for the FreeSWITCH open source telephony platform
229Group: System/Libraries
230Requires: %{name} = %{version}-%{release}
fd147603 231Requires: perl
78cc2f40
MJ
232
233%description perl
234
235%package python
236Summary: Python support for the FreeSWITCH open source telephony platform
237Group: System/Libraries
238Requires: %{name} = %{version}-%{release}
72628d2e 239Requires: python
78cc2f40
MJ
240
241%description python
242
243
244%package lang-en
5dc57c42 245Summary: Provides english language dependand modules and speech config for the FreeSWITCH Open Source telephone platform.
78cc2f40
MJ
246Group: System/Libraries
247Requires: %{name} = %{version}-%{release}
248
249%description lang-en
250English language phrases module and directory structure for say module and voicemail
251
252%package lang-ru
5dc57c42 253Summary: Provides russian language dependand modules and speech config for the FreeSWITCH Open Source telephone platform.
78cc2f40
MJ
254Group: System/LibrariesRequires: %{name} = %{version}-%{release}
255
256%description lang-ru
257Russian language phrases module and directory structure for say module and voicemail
258
259%package lang-fr
5dc57c42 260Summary: Provides french language dependand modules and speech config for the FreeSWITCH Open Source telephone platform.
78cc2f40
MJ
261Group: System/LibrariesRequires: %{name} = %{version}-%{release}
262
263%description lang-fr
264French language phrases module and directory structure for say module and voicemail
265
266%package lang-de
5dc57c42 267Summary: Provides german language dependand modules and speech config for the FreeSWITCH Open Source telephone platform.
78cc2f40
MJ
268Group: System/LibrariesRequires: %{name} = %{version}-%{release}
269
270%description lang-de
271German language phrases module and directory structure for say module and voicemail
272
273
274%package openzap
5dc57c42 275Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH
78cc2f40
MJ
276Group: System/Libraries
277Requires: %{name} = %{version}-%{release}
278
279%description openzap
280OpenZAP
281
38e0bfb5 282######################################################################################################################
72628d2e 283#
38e0bfb5 284# Unpack and prepare Source archives, copy stuff around etc ..
72628d2e 285#
38e0bfb5 286######################################################################################################################
72628d2e 287
78cc2f40
MJ
288%prep
289%setup -b0 -q
290cp %{SOURCE1} libs/
291cp %{SOURCE2} libs/
292cp %{SOURCE3} libs/
293cp %{SOURCE4} libs/
294cp %{SOURCE5} libs/
295cp %{SOURCE6} libs/
296cp %{SOURCE7} libs/
297cp %{SOURCE8} libs/
298cp %{SOURCE9} libs/
1caeb602 299cp %{SOURCE10} libs/
c9e0a410 300cp %{SOURCE11} libs/
78cc2f40 301
38e0bfb5 302######################################################################################################################
72628d2e 303#
38e0bfb5 304# Start the Build process
72628d2e 305#
38e0bfb5 306######################################################################################################################
78cc2f40
MJ
307%build
308%ifos linux
309%if 0%{?suse_version} > 1000 && 0%{?suse_version} < 1030
310export CFLAGS="$CFLAGS -fstack-protector"
311%endif
312%if 0%{?fedora_version} >= 8
313export QA_RPATHS=$[ 0x0001|0x0002 ]
314%endif
315%endif
316
38e0bfb5 317######################################################################################################################
72628d2e 318#
38e0bfb5 319# Here the modules that will be build get defined
72628d2e 320#
38e0bfb5
MB
321######################################################################################################################
322######################################################################################################################
72628d2e 323#
38e0bfb5 324# Application Modules
72628d2e 325#
38e0bfb5
MB
326######################################################################################################################
327APPLICATION_MODULES_AE="applications/mod_avmd applications/mod_callcenter applications/mod_cluechoo applications/mod_commands applications/mod_conference applications/mod_db applications/mod_directory applications/mod_distributor applications/mod_dptools applications/mod_easyroute applications/mod_enum applications/mod_esf applications/mod_expr"
72628d2e 328
bcb24499 329APPLICATION_MODULES_FM="applications/mod_fifo applications/mod_fsv applications/mod_hash applications/mod_lcr applications/mod_limit applications/mod_memcache"
72628d2e 330
38e0bfb5 331APPLICATION_MODULES_NY="applications/mod_nibblebill applications/mod_redis applications/mod_rss applications/mod_soundtouch applications/mod_spandsp applications/mod_stress applications/mod_spy "
72628d2e 332
333APPLICATION_MODULES_VZ="applications/mod_valet_parking applications/mod_vmd applications/mod_voicemail"
334
47e63d0a 335APPLICATIONS_MODULES="$APPLICATION_MODULES_AE $APPLICATION_MODULES_FM $APPLICATION_MODULES_NY $APPLICATION_MODULES_VZ"
38e0bfb5 336######################################################################################################################
72628d2e 337#
38e0bfb5 338# Automatic Speech Recognition and Text To Speech Modules
72628d2e 339#
38e0bfb5 340######################################################################################################################
72628d2e 341ASR_TTS_MODULES="asr_tts/mod_pocketsphinx asr_tts/mod_flite asr_tts/mod_unimrcp"
38e0bfb5 342######################################################################################################################
72628d2e 343#
38e0bfb5 344# Codecs
72628d2e 345#
38e0bfb5 346######################################################################################################################
55960b55
MB
347CODECS_MODULES="codecs/mod_bv codecs/mod_h26x codecs/mod_speex codecs/mod_celt codecs/mod_codec2 codecs/mod_ilbc codecs/mod_mp4 \
348 codec/mod_silk codecs/mod_siren codecs/mod_theora"
38e0bfb5 349######################################################################################################################
72628d2e 350#
38e0bfb5 351# Dialplan Modules
72628d2e 352#
38e0bfb5 353######################################################################################################################
78cc2f40 354DIALPLANS_MODULES="dialplans/mod_dialplan_asterisk dialplans/mod_dialplan_directory dialplans/mod_dialplan_xml"
38e0bfb5 355######################################################################################################################
72628d2e 356#
38e0bfb5 357# Directory Modules
72628d2e 358#
38e0bfb5 359######################################################################################################################
78cc2f40 360DIRECTORIES_MODULES=""
38e0bfb5 361######################################################################################################################
72628d2e 362#
38e0bfb5 363# Endpoints
72628d2e 364#
38e0bfb5 365######################################################################################################################
93f8288c 366ENDPOINTS_MODULES="endpoints/mod_dingaling endpoints/mod_portaudio endpoints/mod_sofia ../../libs/openzap/mod_openzap endpoints/mod_loopback"
38e0bfb5 367######################################################################################################################
72628d2e 368#
38e0bfb5 369# Event Handlers
72628d2e 370#
38e0bfb5 371######################################################################################################################
78cc2f40 372EVENT_HANDLERS_MODULES="event_handlers/mod_event_multicast event_handlers/mod_event_socket event_handlers/mod_cdr_csv"
38e0bfb5 373######################################################################################################################
72628d2e 374#
38e0bfb5 375# File and Audio Format Handlers
72628d2e 376#
38e0bfb5
MB
377######################################################################################################################
378FORMATS_MODULES="formats/mod_local_stream formats/mod_native_file formats/mod_sndfile formats/mod_portaudio_stream formats/mod_tone_stream formats/mod_shout formats/mod_file_string"
379######################################################################################################################
72628d2e 380#
38e0bfb5 381# Embedded Languages
72628d2e 382#
38e0bfb5 383######################################################################################################################
72628d2e 384LANGUAGES_MODULES="languages/mod_lua languages/mod_perl languages/mod_python languages/mod_spidermonkey"
38e0bfb5 385######################################################################################################################
72628d2e 386#
38e0bfb5 387# Logging Modules
72628d2e 388#
38e0bfb5 389######################################################################################################################
78cc2f40 390LOGGERS_MODULES="loggers/mod_console loggers/mod_logfile loggers/mod_syslog"
38e0bfb5 391######################################################################################################################
72628d2e 392#
38e0bfb5 393# Passthru Codecs
72628d2e 394#
38e0bfb5 395######################################################################################################################
72628d2e 396PASSTHRU_CODEC_MODULES="codecs/mod_amr codecs/mod_amrwb codecs/mod_g723_1 codecs/mod_g729"
38e0bfb5 397######################################################################################################################
72628d2e 398#
38e0bfb5 399# Phrase engine language modules
72628d2e 400#
38e0bfb5 401######################################################################################################################
72628d2e 402SAY_MODULES="say/mod_say_de say/mod_say_en say/mod_say_fr say/mod_say_ru"
38e0bfb5 403######################################################################################################################
72628d2e 404#
38e0bfb5 405# Timers
72628d2e 406#
38e0bfb5 407######################################################################################################################
78cc2f40 408TIMERS_MODULES=
38e0bfb5 409######################################################################################################################
72628d2e 410#
38e0bfb5 411# XML Modules
72628d2e 412#
38e0bfb5 413######################################################################################################################
72628d2e 414XML_INT_MODULES="xml_int/mod_xml_cdr xml_int/mod_xml_curl xml_int/mod_xml_rpc"
38e0bfb5 415######################################################################################################################
72628d2e 416#
38e0bfb5 417# Create one environment variable out of all the module defs
72628d2e 418#
38e0bfb5 419######################################################################################################################
0c1ae13d 420MYMODULES="$PASSTHRU_CODEC_MODULES $APPLICATIONS_MODULES $CODECS_MODULES $DIALPLANS_MODULES $DIRECTORIES_MODULES $ENDPOINTS_MODULES $ASR_TTS_MODULES $EVENT_HANDLERS_MODULES $FORMATS_MODULES $LANGUAGES_MODULES $LOGGERS_MODULES $SAY_MODULES $TIMERS_MODULES $XML_INT_MODULES"
78cc2f40 421
38e0bfb5 422######################################################################################################################
72628d2e 423#
38e0bfb5 424# Create Modules build list and set variables
72628d2e 425#
38e0bfb5 426######################################################################################################################
72628d2e 427
78cc2f40
MJ
428export MODULES=$MYMODULES
429test ! -f modules.conf || rm -f modules.conf
430touch modules.conf
431for i in $MODULES; do echo $i >> modules.conf; done
432export VERBOSE=yes
2519493a 433export DESTDIR=%{buildroot}/
78cc2f40
MJ
434export PKG_CONFIG_PATH=/usr/bin/pkg-config:$PKG_CONFIG_PATH
435export ACLOCAL_FLAGS="-I /usr/share/aclocal"
436
38e0bfb5 437######################################################################################################################
72628d2e 438#
38e0bfb5 439# Bootstrap, Configure and Build the whole enchilada
72628d2e 440#
38e0bfb5 441######################################################################################################################
72628d2e 442
78cc2f40
MJ
443if test ! -f Makefile.in
444then
445 ./bootstrap.sh
446fi
447
448
449 %configure -C \
450 --prefix=%{prefix} \
451 --infodir=%{_infodir} \
452 --mandir=%{_mandir} \
72628d2e 453 --sysconfdir=%{sysconfdir} \
454 --libdir=%{prefix}/lib \
455 --enable-core-libedit-support \
456 --enable-core-odbc-support \
78cc2f40
MJ
457%ifos linux
458%if 0%{?fedora_version} >= 8
459%else
460 --with-libcurl \
461%endif
462%endif
463 --with-openssl \
464 %{?configure_options}
465
466#Create the version header file here
018f4d61 467cat src/include/switch_version.h.in | sed "s/@SVN_VERSION@/%{version}/g" > src/include/switch_version.h
78cc2f40
MJ
468touch .noversion
469
470%{__make}
471
72628d2e 472
38e0bfb5 473######################################################################################################################
72628d2e 474#
38e0bfb5 475# Install it and create some required dirs and links
72628d2e 476#
38e0bfb5 477######################################################################################################################
78cc2f40 478%install
78cc2f40 479
2519493a 480%{__make} DESTDIR=%{buildroot} install
78cc2f40 481
78cc2f40 482# Create a log dir
2519493a 483%{__mkdir} -p %{buildroot}%{prefix}/log
7cefb227
LD
484%{__mkdir} -p %{buildroot}%{logfiledir}
485%{__mkdir} -p %{buildroot}%{runtimedir}
78cc2f40
MJ
486
487%ifos linux
488# Install init files
489# On SuSE:
490%if 0%{?suse_version} > 100
2519493a 491%{__install} -D -m 744 build/freeswitch.init.suse %{buildroot}/etc/rc.d/init.d/freeswitch
78cc2f40
MJ
492%else
493# On RedHat like
2519493a 494%{__install} -D -m 0755 build/freeswitch.init.redhat %{buildroot}/etc/rc.d/init.d/freeswitch
78cc2f40 495%endif
b85fd0f4 496# On SuSE make /usr/sbin/rcfreeswitch a link to /etc/rc.d/init.d/freeswitch
78cc2f40 497%if 0%{?suse_version} > 100
2519493a
MJ
498%{__mkdir} -p %{buildroot}/usr/sbin
499%{__ln_s} -f /etc/rc.d/init.d/freeswitch %{buildroot}/usr/sbin/rcfreeswitch
78cc2f40
MJ
500%endif
501# Add the sysconfiguration file
2519493a 502%{__install} -D -m 744 build/freeswitch.sysconfig %{buildroot}/etc/sysconfig/freeswitch
78cc2f40 503# Add monit file
2519493a 504%{__install} -D -m 644 build/freeswitch.monitrc %{buildroot}/etc/monit.d/freeswitch.monitrc
78cc2f40
MJ
505%endif
506
507
38e0bfb5 508######################################################################################################################
72628d2e 509#
38e0bfb5 510# Add a freeswitch user with group daemon that will own the whole enchilada
72628d2e 511#
38e0bfb5 512######################################################################################################################
78cc2f40
MJ
513%pre
514%ifos linux
ae7aa36f
MB
515if ! /usr/bin/id freeswitch &>/dev/null; then
516 /usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d %{prefix} freeswitch || \
517 %logmsg "Unexpected error adding user \"freeswitch\". Aborting installation."
518fi
78cc2f40
MJ
519%endif
520
521%post
522%{?run_ldconfig:%run_ldconfig}
523# Make FHS2.0 happy
524%{__mkdir} -p /etc/opt
525%{__ln_s} -f %{prefix}/conf /etc%{prefix}
526
527chkconfig --add freeswitch
528
72628d2e 529
530
78cc2f40 531%postun
38e0bfb5 532######################################################################################################################
72628d2e 533#
38e0bfb5 534# On uninstallation get rid of the freeswitch user
72628d2e 535#
38e0bfb5 536######################################################################################################################
78cc2f40 537%{?run_ldconfig:%run_ldconfig}
ae7aa36f
MB
538if [ $1 -eq 0 ]; then
539 userdel freeswitch || %logmsg "User \"freeswitch\" could not be deleted."
540fi
78cc2f40
MJ
541
542%clean
2519493a 543%{__rm} -rf %{buildroot}
78cc2f40
MJ
544
545%files
38e0bfb5 546######################################################################################################################
72628d2e 547#
38e0bfb5 548# What to install where ... first set default permissions
72628d2e 549#
38e0bfb5 550######################################################################################################################
78cc2f40 551%defattr(-,freeswitch,daemon)
38e0bfb5 552######################################################################################################################
72628d2e 553#
38e0bfb5 554# Directories
72628d2e 555#
38e0bfb5 556######################################################################################################################
72628d2e 557#
38e0bfb5 558#################################### Basic Directory Structure #######################################################
72628d2e 559#
560%dir %attr(0750, freeswitch, daemon) %{prefix}/conf
78cc2f40 561%dir %attr(0750, freeswitch, daemon) %{prefix}/db
72628d2e 562%dir %attr(0750, freeswitch, daemon) %{prefix}/grammar
563%dir %attr(0750, freeswitch, daemon) %{prefix}/htdocs
7cefb227
LD
564%dir %attr(0750, freeswitch, daemon) %{logfiledir}
565%dir %attr(0750, freeswitch, daemon) %{runtimedir}
78cc2f40 566%dir %attr(0750, freeswitch, daemon) %{prefix}/scripts
72628d2e 567#
38e0bfb5 568#################################### Config Directory Structure #######################################################
72628d2e 569#
78cc2f40
MJ
570%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
571%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/dialplan
72628d2e 572%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/dialplan/default
573%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/dialplan/public
16ebeb0e 574%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/dialplan/skinny-patterns
78cc2f40
MJ
575%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/directory
576%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/directory/default
72628d2e 577%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/jingle_profiles
78cc2f40
MJ
578%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang
579%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/mrcp_profiles
580%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/sip_profiles
78cc2f40 581%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/sip_profiles/external
72628d2e 582%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/sip_profiles/internal
583%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/skinny_profiles
584#
38e0bfb5 585#################################### Grammar Directory Structure #####################################################
72628d2e 586#
78cc2f40
MJ
587%dir %attr(0750, freeswitch, daemon) %{prefix}/grammar/model
588%dir %attr(0750, freeswitch, daemon) %{prefix}/grammar/model/communicator
589%dir %attr(0750, freeswitch, daemon) %{prefix}/grammar/model/wsj1
590%ifos linux
591%config(noreplace) %attr(0644, freeswitch, daemon) /etc/monit.d/freeswitch.monitrc
592%endif
38e0bfb5 593######################################################################################################################
72628d2e 594#
38e0bfb5 595# Config Files
72628d2e 596#
38e0bfb5 597######################################################################################################################
78cc2f40
MJ
598%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/*.tpl
599%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/*.ttml
600%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/*.xml
78cc2f40 601%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/extensions.conf
72628d2e 602%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/m3ua.conf
603%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/mime.types
78cc2f40 604%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/acl.conf.xml
78cc2f40 605%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/alsa.conf.xml
4861e34b 606%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/callcenter.conf.xml
72628d2e 607%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/cdr_csv.conf.xml
608%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/cdr_pg_csv.conf.xml
609%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/cidlookup.conf.xml
78cc2f40
MJ
610%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/conference.conf.xml
611%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/console.conf.xml
72628d2e 612%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/db.conf.xml
78cc2f40
MJ
613%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/dialplan_directory.conf.xml
614%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/dingaling.conf.xml
72628d2e 615%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/directory.conf.xml
616%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/distributor.conf.xml
617%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/easyroute.conf.xml
78cc2f40 618%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/enum.conf.xml
72628d2e 619%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/erlang_event.conf.xml
78cc2f40
MJ
620%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/event_multicast.conf.xml
621%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/event_socket.conf.xml
78cc2f40
MJ
622%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/fax.conf.xml
623%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/fifo.conf.xml
04e3b221 624%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/hash.conf.xml
78cc2f40
MJ
625%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/ivr.conf.xml
626%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/java.conf.xml
72628d2e 627%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/lcr.conf.xml
78cc2f40
MJ
628%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/local_stream.conf.xml
629%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/logfile.conf.xml
72628d2e 630%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/memcache.conf.xml
78cc2f40 631%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/modules.conf.xml
72628d2e 632%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/nibblebill.conf.xml
633%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/opal.conf.xml
634%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/osp.conf.xml
78cc2f40
MJ
635%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/pocketsphinx.conf.xml
636%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/portaudio.conf.xml
637%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/post_load_modules.conf.xml
72628d2e 638%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/redis.conf.xml
78cc2f40 639%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/rss.conf.xml
216382e6 640%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/sangoma_codec.conf.xml
72628d2e 641%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/shout.conf.xml
bc632e24 642%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/skinny.conf.xml
78cc2f40 643%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/sofia.conf.xml
72628d2e 644%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/spandsp.conf.xml
78cc2f40
MJ
645%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/switch.conf.xml
646%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/syslog.conf.xml
72628d2e 647%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/timezones.conf.xml
648%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/tts_commandline.conf.xml
649%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/unicall.conf.xml
650%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/unimrcp.conf.xml
78cc2f40
MJ
651%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/voicemail.conf.xml
652%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/xml_cdr.conf.xml
653%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/xml_curl.conf.xml
654%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/xml_rpc.conf.xml
655%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/zeroconf.conf.xml
38e0bfb5 656######################################################################################################################
72628d2e 657#
38e0bfb5 658# Dialplans
72628d2e 659#
38e0bfb5 660######################################################################################################################
78cc2f40
MJ
661%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/dialplan/*.xml
662%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/dialplan/default/*.xml
663%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/dialplan/public/*.xml
616de3c6 664%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/dialplan/skinny-patterns/*.xml
38e0bfb5 665######################################################################################################################
72628d2e 666#
38e0bfb5 667# User Directories
72628d2e 668#
38e0bfb5 669######################################################################################################################
78cc2f40
MJ
670%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/directory/*.xml
671%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/directory/default/*
38e0bfb5 672######################################################################################################################
72628d2e 673#
38e0bfb5 674# IVR Menues
72628d2e 675#
38e0bfb5 676######################################################################################################################
a2710c9c 677%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/ivr_menus/*.xml
38e0bfb5 678######################################################################################################################
72628d2e 679#
38e0bfb5 680# Sip Profiles
72628d2e 681#
38e0bfb5 682######################################################################################################################
78cc2f40
MJ
683%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/sip_profiles/*.xml
684%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/sip_profiles/internal/*.xml
685%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/sip_profiles/external/*.xml
38e0bfb5 686######################################################################################################################
72628d2e 687#
38e0bfb5 688# Other Protocol Profiles (skinny, jingle, mrcp)
72628d2e 689#
38e0bfb5 690######################################################################################################################
e848e2e5 691%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/skinny_profiles/*.xml
78cc2f40
MJ
692%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/jingle_profiles/*.xml
693%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/mrcp_profiles/*.xml
38e0bfb5 694######################################################################################################################
72628d2e 695#
38e0bfb5 696# Grammar Files
72628d2e 697#
38e0bfb5 698######################################################################################################################
78cc2f40
MJ
699%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/grammar/default.dic
700%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/grammar/model/communicator/*
701%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/grammar/model/wsj1/*
38e0bfb5 702######################################################################################################################
72628d2e 703#
38e0bfb5 704# Other Fíles
72628d2e 705#
38e0bfb5 706######################################################################################################################
78cc2f40
MJ
707%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/htdocs/*
708%ifos linux
9b4ab6f8 709/etc/rc.d/init.d/freeswitch
78cc2f40
MJ
710/etc/sysconfig/freeswitch
711%if 0%{?suse_version} > 100
712/usr/sbin/rcfreeswitch
713%endif
714%endif
72628d2e 715%ifos linux
716%dir %attr(0750, root, root) /etc/monit.d
717%endif
38e0bfb5 718######################################################################################################################
72628d2e 719#
38e0bfb5 720# Binaries
72628d2e 721#
38e0bfb5 722######################################################################################################################
78cc2f40
MJ
723%attr(0755, freeswitch, daemon) %{prefix}/bin/*
724%{prefix}/lib/libfreeswitch*.so*
38e0bfb5 725######################################################################################################################
72628d2e 726#
38e0bfb5 727# Modules in Alphabetical Order, please keep them that way..
72628d2e 728#
38e0bfb5 729######################################################################################################################
72628d2e 730%{prefix}/mod/mod_amrwb.so*
731%{prefix}/mod/mod_avmd.so*
732%{prefix}/mod/mod_bv.so*
ff8f468d 733%{prefix}/mod/mod_callcenter.so*
72628d2e 734%{prefix}/mod/mod_cdr_csv.so*
735%{prefix}/mod/mod_celt.so*
38e0bfb5 736%{prefix}/mod/mod_cluechoo.so*
78cc2f40 737%{prefix}/mod/mod_console.so*
78cc2f40
MJ
738%{prefix}/mod/mod_commands.so*
739%{prefix}/mod/mod_conference.so*
9030b192 740%{prefix}/mod/mod_db.so*
72628d2e 741%{prefix}/mod/mod_dialplan_asterisk.so*
78cc2f40
MJ
742%{prefix}/mod/mod_dialplan_directory.so*
743%{prefix}/mod/mod_dialplan_xml.so*
72628d2e 744%{prefix}/mod/mod_dingaling.so*
745%{prefix}/mod/mod_directory.so*
746%{prefix}/mod/mod_distributor.so*
747%{prefix}/mod/mod_dptools.so*
748%{prefix}/mod/mod_easyroute.so*
749%{prefix}/mod/mod_enum.so*
750%{prefix}/mod/mod_esf.so*
78cc2f40
MJ
751%{prefix}/mod/mod_event_multicast.so*
752%{prefix}/mod/mod_event_socket.so*
72628d2e 753%{prefix}/mod/mod_expr.so*
754%{prefix}/mod/mod_fifo.so*
5a24927f 755%{prefix}/mod/mod_file_string.so*
72628d2e 756%{prefix}/mod/mod_flite.so*
3f5c9724 757%{prefix}/mod/mod_fsv.so*
72628d2e 758%{prefix}/mod/mod_hash.so*
759%{prefix}/mod/mod_h26x.so*
760%{prefix}/mod/mod_ilbc.so*
3f5c9724 761%{prefix}/mod/mod_lcr.so*
72628d2e 762%{prefix}/mod/mod_limit.so*
763%{prefix}/mod/mod_local_stream.so*
764%{prefix}/mod/mod_logfile.so*
3f5c9724 765%{prefix}/mod/mod_loopback.so*
72628d2e 766%{prefix}/mod/mod_memcache.so*
767%{prefix}/mod/mod_native_file.so*
ff8f468d 768%{prefix}/mod/mod_nibblebill.so*
72628d2e 769%{prefix}/mod/mod_pocketsphinx.so*
770%{prefix}/mod/mod_portaudio.so*
38e0bfb5 771%{prefix}/mod/mod_portaudio_stream.so*
72628d2e 772%{prefix}/mod/mod_redis.so*
773%{prefix}/mod/mod_rss.so*
3f5c9724 774%{prefix}/mod/mod_shout.so*
72628d2e 775%{prefix}/mod/mod_siren.so*
776%{prefix}/mod/mod_sndfile.so*
777%{prefix}/mod/mod_sofia.so*
3f5c9724 778%{prefix}/mod/mod_soundtouch.so*
72628d2e 779%{prefix}/mod/mod_spandsp.so*
780%{prefix}/mod/mod_speex.so*
781%{prefix}/mod/mod_spy.so*
782%{prefix}/mod/mod_stress.so*
783%{prefix}/mod/mod_syslog.so*
784%{prefix}/mod/mod_tone_stream.so*
3f5c9724 785%{prefix}/mod/mod_unimrcp.so*
3f5c9724 786%{prefix}/mod/mod_valet_parking.so*
72628d2e 787%{prefix}/mod/mod_vmd.so*
788%{prefix}/mod/mod_voicemail.so*
789%{prefix}/mod/mod_xml_cdr.so*
790%{prefix}/mod/mod_xml_curl.so*
791%{prefix}/mod/mod_xml_rpc.so*
38e0bfb5 792######################################################################################################################
72628d2e 793#
38e0bfb5 794# Package for the developer
72628d2e 795#
38e0bfb5 796######################################################################################################################
72628d2e 797%files devel
798%defattr(-, freeswitch, daemon)
799%{prefix}/lib/*.a
800%{prefix}/lib/*.la
801%{prefix}/lib/pkgconfig/*
802%{prefix}/mod/*.a
803%{prefix}/mod/*.la
804%{prefix}/include/*.h
38e0bfb5 805######################################################################################################################
72628d2e 806#
38e0bfb5 807# OpenZAP Module for TDM Interaction
72628d2e 808#
38e0bfb5 809######################################################################################################################
78cc2f40 810%files openzap
72628d2e 811%defattr(-, freeswitch, daemon)
78cc2f40
MJ
812%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/tones.conf
813%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/openzap.conf.xml
814%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/pika.conf
815%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/openzap.conf
816%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/wanpipe.conf
817%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/zt.conf
818%{prefix}/lib/libopenzap.so*
819%{prefix}/mod/mod_openzap.so*
123c3bc4 820%{prefix}/mod/ozmod_*.so*
78cc2f40 821
38e0bfb5 822######################################################################################################################
72628d2e 823#
38e0bfb5 824# Passthru Codec Modules
72628d2e 825#
38e0bfb5 826######################################################################################################################
78cc2f40
MJ
827%files codec-passthru-amrwb
828%defattr(-,freeswitch,daemon)
829%{prefix}/mod/mod_amrwb.so*
830
831%files codec-passthru-amr
832%defattr(-,freeswitch,daemon)
833%{prefix}/mod/mod_amr.so*
834
835%files codec-passthru-g723_1
836%defattr(-,freeswitch,daemon)
837%{prefix}/mod/mod_g723_1.so*
838
839%files codec-passthru-g729
840%defattr(-,freeswitch,daemon)
841%{prefix}/mod/mod_g729.so*
842
38e0bfb5 843######################################################################################################################
72628d2e 844#
38e0bfb5 845# Embedded Language Modules
72628d2e 846#
38e0bfb5 847######################################################################################################################
78cc2f40
MJ
848%files spidermonkey
849%defattr(-,freeswitch,daemon)
850%{prefix}/mod/mod_spidermonkey*.so*
851%{prefix}/lib/libjs.so*
852%{prefix}/lib/libnspr4.so
853%{prefix}/lib/libplds4.so
854%{prefix}/lib/libplc4.so
855%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
856%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/spidermonkey.conf.xml
857
858%files lua
859%defattr(-,freeswitch,daemon)
860%{prefix}/mod/mod_lua*.so*
861%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
862%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/lua.conf.xml
863
864%files perl
865%defattr(-,freeswitch,daemon)
866%{prefix}/mod/mod_perl*.so*
867%{prefix}/perl/*
868%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
869%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/perl.conf.xml
870
871%files python
872%defattr(-,freeswitch,daemon)
873%{prefix}/mod/mod_python*.so*
874%attr(0644, root, bin) /usr/lib/python2.4/site-packages/freeswitch.py*
875%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
876%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/python.conf.xml
877
38e0bfb5 878######################################################################################################################
72628d2e 879#
38e0bfb5 880# Language Modules
72628d2e 881#
38e0bfb5 882######################################################################################################################
78cc2f40 883%files lang-en
72628d2e 884%defattr(-, freeswitch, daemon)
78cc2f40
MJ
885%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/en
886%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/en/demo
887%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/en/vm
888%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/en/*.xml
889%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/en/demo/*.xml
890%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/en/vm/*.xml
479df6fd 891%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/en/dir/*.xml
78cc2f40
MJ
892%{prefix}/mod/mod_say_en.so*
893
894%files lang-de
72628d2e 895%defattr(-, freeswitch, daemon)
78cc2f40
MJ
896%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/de
897%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/de/demo
898%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/de/vm
899%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/de/*.xml
900%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/de/demo/*.xml
901%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/de/vm/*.xml
902%{prefix}/mod/mod_say_de.so*
903
904%files lang-fr
72628d2e 905%defattr(-, freeswitch, daemon)
78cc2f40
MJ
906%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/fr
907%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/fr/demo
908%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/fr/vm
909%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/fr/*.xml
910%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/fr/demo/*.xml
911%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/fr/vm/*.xml
479df6fd 912%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/fr/dir/*.xml
78cc2f40
MJ
913%{prefix}/mod/mod_say_fr.so*
914
915%files lang-ru
72628d2e 916%defattr(-, freeswitch, daemon)
78cc2f40
MJ
917%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/ru
918%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/ru/demo
919%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/ru/vm
920%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/ru/*.xml
921%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/ru/demo/*.xml
922%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/ru/vm/*.xml
85e25887 923%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/ru/dir/*.xml
72628d2e 924%{prefix}/mod/mod_say_ru.so*
78cc2f40 925
38e0bfb5 926######################################################################################################################
72628d2e 927#
38e0bfb5 928# Changelog
72628d2e 929#
38e0bfb5 930######################################################################################################################
78cc2f40 931%changelog
ff8f468d
MB
932* Thu Sep 30 2010 - michal.bielicki@seventhsignal.de
933- added mod_nibblebill to standard modules
38e0bfb5
MB
934* Sun Sep 26 2010 - michal.bielicki@seventhsignal.de
935- added portaudio_stream module
936- some more formating work
000a7636 937* Mon Jul 19 2010 - michal.bielicki@seventhsignal.de
04e3b221 938- new hash module config file added to freeswitch.spec
939* Mon Jul 19 2010 - michal.bielicki@seventhsignal.de
000a7636 940- Adjusted sphinxbase
941- Fixed Version Revisions for head versions
942- Renamed packages to head to comply with git
72628d2e 943* Tue Jun 22 2010 - michal.bielicki@seventhsignal.de
944- Added comments and made the spec file sections more transparent
945- Added proper header to the Spec file
946- Added Contributors
947- Added Anthony's copyright for the whole package into the header
948* Tue Jun 22 2010 - michal.bielicki@seventhsignal.de
949- Reorganized the modules alphabeticaly
950- synced SFEopensolaris and centos spec
951- started to fix Run Dependencies
952- added mod_say_ru which seemd to have gone missing
953- added comment blocks to show the spec file structure for easier management and editing
3d54eec8 954* Mon Jun 21 2010 - michal.bielicki@seventhsignal.de
955- added mod_limit shim for backwards compatibility
956- added mod_hash correctly
3f5c9724 957* Sun Jun 20 2010 - michal.bielicki@seventhsignal.de
958- replaced mod_limit with mod_db
959- added mod_spy
960- added mod_valet_parking
961- addded mod_memcache
962- added mod_distributor
963- added mod_avmd
c0fc0265 964* Thu Apr 29 2010 - michal.bielicki@seventhsignal.de
965- added osp conf file
f818399a 966* Fri Apr 23 2010 - michal.bielicki@seventhsignal.de
16ebeb0e 967- bumped spec file vrersion up to 1.0.7-trunk for trunk
968- added skinny dialplan stuff to specfile
216382e6
MB
969* Sun Mar 28 2010 - michal.bielicki@seventhsignal.de
970- added sangoma codec config file
1caeb602
MB
971* Wed Dec 02 2009 - michal.bielicki@seventhsignal.de
972- Soundfiles are moving into a separate spec
5a75934b
BW
973* Wed Nov 25 2009 - brian@freeswitch.org
974- added mod_bv.so
85e25887
MB
975* Wed Nov 25 2009 - michal.bielicki@seventhsignal.de
976- Removed mod_yaml
977- added directory files to russian language
ae7aa36f
MB
978* Sat Nov 21 2009 - michal.bielicki@seventhsignal.de
979- added patch by Igor Neves <neves.igor@gmail.com>: Added some checkup in %post and %postun to prevent upgrades from removing freeswitch user
479df6fd
MB
980* Thu Nov 18 2009 - michal.bielicki@seventhsignal.de
981- added new config files for diretory and distributor
982- removed sangoma boost from openzap for builds that do not inherit wanpipe while building.
4fb0b292
MJ
983* Tue Jul 24 2009 - mike@jerris.com
984- removed mod_http
985- removed ozmod_wanpipe
78cc2f40
MJ
986* Tue Jun 23 2009 - raulfragoso@gmail.com
987- Adjusted for the latest SVN trunk (13912)
988- Included new config and mod files to catch up with latest SVN
989- Included new sound files for base256 and zrtp
990- mod_unimrcp must be built after mod_sofia
991* Mon Feb 17 2009 - michal.bielicki@halokwadrat.de
992- added mod_python
993- added mod_fax
994- added mod_amrwb.so
995- added mod_celt.so
996- added mod_easyroute.so
997- added mod_http.so
998- added mod_lcr.so
999- added mod_loopback.so
1000- added mod_siren.so
1001- added mod/mod_stress.so
1002- added mod_yaml.so
1003- added mod_shout.so
1004- added rpms or all sounds
1005- openzap is now its own rpm
1006- added french
1007- added german
1008- added missing dependencies
1009- added soundfiles with separate rpms
1010- added definition of all sourcefiles and added them to the SRPM
1011- fixes to monit file
1012- changes to redhat init file
1013* Thu May 22 2008 - michal.bielicki@voiceworks.pl
1014- disabled beta class language stuff
1015- bumped revision up to rc6
1016- added mod_lua
1017- added mod_perl
1018- Only bootstrap if no Makfile.in exists
1019* Mon Feb 04 2008 - michal.bielicki@voiceworks.pl
1020- More fixes to specfile
1021- First go at SFE files
1022* Sun Feb 03 2008 - michal.bielicki@voiceworks.pl
1023- abstraction of prefix
1024- more wrong stuff deleted
1025- abstraction of mkdir, mv, rm, install etc into macros
1026* Fri Jan 18 2008 - michal.bielicki@voiceworks.pl
1027- fixes, fixes and more fixes in preparation for rc1
1028* Thu Dec 5 2007 - michal.bielicki@voiceworks.pl
1029- put in detail configfiles in to split of spidermonkey configs
1030- created link from /opt/freesxwitch/conf to /etc%{prefix}
1031* Thu Nov 29 2007 - michal.bielicki@voiceworks.pl
1032- Added ifdefs for susealities
1033- Added specifics for centos/redhat
1034- Added specifics for fedora
1035- Preparing to use it for adding it to SFE packaging for solaris
1036- Added odbc stuff back in
1037- made curl default
1038- Separate package for mod_spidermonkey
1039- got rid of modules.conf and stuffed everything in MODULES env var
1040- got rid of handmade Cflags peter added ;)
1041- fixed bin and libpaths
1042- fixed locationof nspr and js libs
1043- fixed odbc requirements
1044- added all buildable modules
1045- added redhat style init file
1046- splitted off language dependant stuff into separate language files
1047- disable non complete language modules
1048* Tue Apr 24 2007 - peter+rpmspam@suntel.com.tr
1049- Added a debug package
1050- Split the passthrough codecs into separate packages
1051* Fri Mar 16 2007 - peter+rpmspam@suntel.com.tr
1052- Added devel package
1053* Thu Mar 15 2007 - peter+rpmspam@suntel.com.tr
1054- Initial RPM release