freeswitch.spec moved to support freetdm instead of openzap including hooks to compile with libsng_isdn and wanpipe. Added mod_silk, mod_codec2 mod_cidlookup, mod_mp4v. Added runtime requirements and build dependencies. This one is a major change
This commit is contained in:
parent
55960b558c
commit
1a4ee982fb
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
# includes module(s): freeswitch-devel freeswitch-codec-passthru-amr freeswitch-codec-passthru-amrwb freeswitch-codec-passthru-g729
|
# includes module(s): freeswitch-devel freeswitch-codec-passthru-amr freeswitch-codec-passthru-amrwb freeswitch-codec-passthru-g729
|
||||||
# freeswitch-codec-passthru-g7231 freeswitch-lua freeswitch-perl freeswitch-python freeswitch-spidermonkey
|
# freeswitch-codec-passthru-g7231 freeswitch-lua freeswitch-perl freeswitch-python freeswitch-spidermonkey
|
||||||
# freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-ru freeswitch-openzap
|
# freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-ru freeswitch-freetdm
|
||||||
#
|
#
|
||||||
# Initial Version Copyright (C) 2007 Peter Nixon and Michal Bielicki, All Rights Reserved.
|
# Initial Version Copyright (C) 2007 Peter Nixon and Michal Bielicki, All Rights Reserved.
|
||||||
#
|
#
|
||||||
|
@ -103,6 +103,7 @@ BuildRequires: alsa-lib-devel
|
||||||
BuildRequires: which
|
BuildRequires: which
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: e2fsprogs-devel
|
BuildRequires: e2fsprogs-devel
|
||||||
|
BuildRequires: libtheora-devel
|
||||||
Requires: alsa-lib
|
Requires: alsa-lib
|
||||||
Requires: libogg
|
Requires: libogg
|
||||||
Requires: libvorbis
|
Requires: libvorbis
|
||||||
|
@ -117,6 +118,7 @@ Requires: gdbm
|
||||||
Requires: zlib
|
Requires: zlib
|
||||||
Requires: libtiff
|
Requires: libtiff
|
||||||
Requires: python
|
Requires: python
|
||||||
|
Requires: libtheora
|
||||||
|
|
||||||
%if %{?suse_version:1}0
|
%if %{?suse_version:1}0
|
||||||
%if 0%{?suse_version} > 910
|
%if 0%{?suse_version} > 910
|
||||||
|
@ -271,13 +273,17 @@ Group: System/LibrariesRequires: %{name} = %{version}-%{release}
|
||||||
German language phrases module and directory structure for say module and voicemail
|
German language phrases module and directory structure for say module and voicemail
|
||||||
|
|
||||||
|
|
||||||
%package openzap
|
%package freetdm
|
||||||
Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH
|
Summary: Provides a unified interface to hardware TDM cards and ss7 stacks for FreeSWITCH
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
%{?with_sang_isdn: Requires: wanpipe }
|
||||||
|
%{?with_sang_isdn: Requires: libsng_isdn }
|
||||||
|
%{?with_sang_isdn: BuildRequires: wanpipe }
|
||||||
|
%{?with_sang_isdn: BuildRequires: libang_isdn }
|
||||||
|
|
||||||
%description openzap
|
%description freetdm
|
||||||
OpenZAP
|
FreeTDM
|
||||||
|
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
#
|
#
|
||||||
|
@ -324,13 +330,15 @@ export QA_RPATHS=$[ 0x0001|0x0002 ]
|
||||||
# Application Modules
|
# Application Modules
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
APPLICATION_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"
|
APPLICATION_MODULES_AE="applications/mod_avmd applications/mod_callcenter applications/mod_cidlookup applications/mod_cluechoo \
|
||||||
|
applications/mod_commands applications/mod_conference applications/mod_db applications/mod_directory \
|
||||||
APPLICATION_MODULES_FM="applications/mod_fifo applications/mod_fsv applications/mod_hash applications/mod_lcr applications/mod_limit applications/mod_memcache"
|
applications/mod_distributor applications/mod_dptools applications/mod_easyroute applications/mod_enum \
|
||||||
|
applications/mod_esf applications/mod_expr"
|
||||||
APPLICATION_MODULES_NY="applications/mod_nibblebill applications/mod_redis applications/mod_rss applications/mod_soundtouch applications/mod_spandsp applications/mod_stress applications/mod_spy "
|
APPLICATION_MODULES_FM="applications/mod_fifo applications/mod_fsv applications/mod_hash applications/mod_lcr applications/mod_limit \
|
||||||
|
applications/mod_memcache"
|
||||||
APPLICATION_MODULES_VZ="applications/mod_valet_parking applications/mod_vmd applications/mod_voicemail"
|
APPLICATION_MODULES_NY="applications/mod_nibblebill applications/mod_redis applications/mod_rss applications/mod_snom \
|
||||||
|
applications/mod_soundtouch applications/mod_spandsp applications/mod_spy applications/mod_stress \
|
||||||
|
applications/mod_valet_parking applications/mod_vmd applications/mod_voicemail"
|
||||||
|
|
||||||
APPLICATIONS_MODULES="$APPLICATION_MODULES_AE $APPLICATION_MODULES_FM $APPLICATION_MODULES_NY $APPLICATION_MODULES_VZ"
|
APPLICATIONS_MODULES="$APPLICATION_MODULES_AE $APPLICATION_MODULES_FM $APPLICATION_MODULES_NY $APPLICATION_MODULES_VZ"
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
|
@ -344,8 +352,8 @@ ASR_TTS_MODULES="asr_tts/mod_pocketsphinx asr_tts/mod_flite asr_tts/mod_unimrcp"
|
||||||
# Codecs
|
# Codecs
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
CODECS_MODULES="codecs/mod_bv codecs/mod_h26x codecs/mod_speex codecs/mod_celt codecs/mod_codec2 codecs/mod_ilbc codecs/mod_mp4 \
|
CODECS_MODULES="codecs/mod_bv codecs/mod_h26x codecs/mod_speex codecs/mod_celt codecs/mod_codec2 codecs/mod_ilbc codecs/mod_mp4v \
|
||||||
codec/mod_silk codecs/mod_siren codecs/mod_theora"
|
codecs/mod_silk codecs/mod_siren codecs/mod_theora"
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
#
|
#
|
||||||
# Dialplan Modules
|
# Dialplan Modules
|
||||||
|
@ -363,19 +371,23 @@ DIRECTORIES_MODULES=""
|
||||||
# Endpoints
|
# Endpoints
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
ENDPOINTS_MODULES="endpoints/mod_dingaling endpoints/mod_portaudio endpoints/mod_sofia ../../libs/openzap/mod_openzap endpoints/mod_loopback"
|
ENDPOINTS_MODULES="endpoints/mod_dingaling endpoints/mod_loopback ../../libs/freetdm/mod_freetdm endpoints/mod_portaudio \
|
||||||
|
endpoints/mod_sofia"
|
||||||
|
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
#
|
#
|
||||||
# Event Handlers
|
# Event Handlers
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
EVENT_HANDLERS_MODULES="event_handlers/mod_event_multicast event_handlers/mod_event_socket event_handlers/mod_cdr_csv"
|
EVENT_HANDLERS_MODULES="event_handlers/mod_cdr_csv event_handlers/mod_event_socket event_handlers/mod_event_multicast"
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
#
|
#
|
||||||
# File and Audio Format Handlers
|
# File and Audio Format Handlers
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
FORMATS_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"
|
FORMATS_MODULES="formats/mod_file_string formats/mod_local_stream formats/mod_native_file formats/mod_portaudio_stream \
|
||||||
|
formats/mod_shout formats/mod_sndfile formats/mod_tone_stream"
|
||||||
|
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
#
|
#
|
||||||
# Embedded Languages
|
# Embedded Languages
|
||||||
|
@ -417,7 +429,9 @@ XML_INT_MODULES="xml_int/mod_xml_cdr xml_int/mod_xml_curl xml_int/mod_xml_rpc"
|
||||||
# Create one environment variable out of all the module defs
|
# Create one environment variable out of all the module defs
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
MYMODULES="$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"
|
MYMODULES="$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"
|
||||||
|
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
#
|
#
|
||||||
|
@ -733,7 +747,9 @@ fi
|
||||||
%{prefix}/mod/mod_callcenter.so*
|
%{prefix}/mod/mod_callcenter.so*
|
||||||
%{prefix}/mod/mod_cdr_csv.so*
|
%{prefix}/mod/mod_cdr_csv.so*
|
||||||
%{prefix}/mod/mod_celt.so*
|
%{prefix}/mod/mod_celt.so*
|
||||||
|
%{prefix}/mod/mod_cidlookup.so*
|
||||||
%{prefix}/mod/mod_cluechoo.so*
|
%{prefix}/mod/mod_cluechoo.so*
|
||||||
|
%{prefix}/mod/mod_codec2.so*
|
||||||
%{prefix}/mod/mod_console.so*
|
%{prefix}/mod/mod_console.so*
|
||||||
%{prefix}/mod/mod_commands.so*
|
%{prefix}/mod/mod_commands.so*
|
||||||
%{prefix}/mod/mod_conference.so*
|
%{prefix}/mod/mod_conference.so*
|
||||||
|
@ -764,6 +780,7 @@ fi
|
||||||
%{prefix}/mod/mod_logfile.so*
|
%{prefix}/mod/mod_logfile.so*
|
||||||
%{prefix}/mod/mod_loopback.so*
|
%{prefix}/mod/mod_loopback.so*
|
||||||
%{prefix}/mod/mod_memcache.so*
|
%{prefix}/mod/mod_memcache.so*
|
||||||
|
%{prefix}/mod/mod_mp4v.so*
|
||||||
%{prefix}/mod/mod_native_file.so*
|
%{prefix}/mod/mod_native_file.so*
|
||||||
%{prefix}/mod/mod_nibblebill.so*
|
%{prefix}/mod/mod_nibblebill.so*
|
||||||
%{prefix}/mod/mod_pocketsphinx.so*
|
%{prefix}/mod/mod_pocketsphinx.so*
|
||||||
|
@ -772,8 +789,10 @@ fi
|
||||||
%{prefix}/mod/mod_redis.so*
|
%{prefix}/mod/mod_redis.so*
|
||||||
%{prefix}/mod/mod_rss.so*
|
%{prefix}/mod/mod_rss.so*
|
||||||
%{prefix}/mod/mod_shout.so*
|
%{prefix}/mod/mod_shout.so*
|
||||||
|
%{prefix}/mod/mod_silk.so*
|
||||||
%{prefix}/mod/mod_siren.so*
|
%{prefix}/mod/mod_siren.so*
|
||||||
%{prefix}/mod/mod_sndfile.so*
|
%{prefix}/mod/mod_sndfile.so*
|
||||||
|
%{prefix}/mod/mod_snom.so*
|
||||||
%{prefix}/mod/mod_sofia.so*
|
%{prefix}/mod/mod_sofia.so*
|
||||||
%{prefix}/mod/mod_soundtouch.so*
|
%{prefix}/mod/mod_soundtouch.so*
|
||||||
%{prefix}/mod/mod_spandsp.so*
|
%{prefix}/mod/mod_spandsp.so*
|
||||||
|
@ -781,6 +800,7 @@ fi
|
||||||
%{prefix}/mod/mod_spy.so*
|
%{prefix}/mod/mod_spy.so*
|
||||||
%{prefix}/mod/mod_stress.so*
|
%{prefix}/mod/mod_stress.so*
|
||||||
%{prefix}/mod/mod_syslog.so*
|
%{prefix}/mod/mod_syslog.so*
|
||||||
|
%{prefix}/mod/mod_theora.so*
|
||||||
%{prefix}/mod/mod_tone_stream.so*
|
%{prefix}/mod/mod_tone_stream.so*
|
||||||
%{prefix}/mod/mod_unimrcp.so*
|
%{prefix}/mod/mod_unimrcp.so*
|
||||||
%{prefix}/mod/mod_valet_parking.so*
|
%{prefix}/mod/mod_valet_parking.so*
|
||||||
|
@ -807,17 +827,17 @@ fi
|
||||||
# OpenZAP Module for TDM Interaction
|
# OpenZAP Module for TDM Interaction
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
%files openzap
|
%files freetdm
|
||||||
%defattr(-, freeswitch, daemon)
|
%defattr(-, freeswitch, daemon)
|
||||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/tones.conf
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/tones.conf
|
||||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/openzap.conf.xml
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/freetdm.conf.xml
|
||||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/pika.conf
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/pika.conf
|
||||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/openzap.conf
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/freetdm.conf
|
||||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/wanpipe.conf
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/wanpipe.conf
|
||||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/zt.conf
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/zt.conf
|
||||||
%{prefix}/lib/libopenzap.so*
|
%{prefix}/lib/libfreetdm.so*
|
||||||
%{prefix}/mod/mod_openzap.so*
|
%{prefix}/mod/mod_freetdm.so*
|
||||||
%{prefix}/mod/ozmod_*.so*
|
%{prefix}/mod/ftm*.so*
|
||||||
|
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
#
|
#
|
||||||
|
@ -929,6 +949,13 @@ fi
|
||||||
#
|
#
|
||||||
######################################################################################################################
|
######################################################################################################################
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 09 2010 - michal.bielicki@seventhsignal.de
|
||||||
|
- added mod_silk
|
||||||
|
- added mod_codec2
|
||||||
|
- moved from openzap to freetdm to make way for inclusion of libsng_isdn and wanpipe
|
||||||
|
- added mod_freetdm
|
||||||
|
- added mod_cidlookup
|
||||||
|
- added more runtime dependencies
|
||||||
* Thu Sep 30 2010 - michal.bielicki@seventhsignal.de
|
* Thu Sep 30 2010 - michal.bielicki@seventhsignal.de
|
||||||
- added mod_nibblebill to standard modules
|
- added mod_nibblebill to standard modules
|
||||||
* Sun Sep 26 2010 - michal.bielicki@seventhsignal.de
|
* Sun Sep 26 2010 - michal.bielicki@seventhsignal.de
|
||||||
|
|
Loading…
Reference in New Issue