2008-02-03 22:51:37 -05:00
|
|
|
%define _prefix /opt/freeswitch
|
|
|
|
%define prefix %{_prefix}
|
2008-02-03 19:46:29 -05:00
|
|
|
|
2007-11-30 09:45:45 -05:00
|
|
|
Name: freeswitch
|
2007-11-20 18:23:32 -05:00
|
|
|
Summary: FreeSWITCH open source telephony platform
|
|
|
|
License: MPL
|
|
|
|
Group: Productivity/Telephony/Servers
|
2008-05-29 11:20:06 -04:00
|
|
|
Version: 1.0
|
2007-11-30 09:45:45 -05:00
|
|
|
Release: 1
|
2007-11-20 18:23:32 -05:00
|
|
|
URL: http://www.freeswitch.org/
|
2007-11-30 09:45:45 -05:00
|
|
|
Packager: Michal Bielicki
|
|
|
|
Vendor: http://www.voiceworks.pl/
|
2007-11-20 18:23:32 -05:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2008-02-03 19:46:29 -05:00
|
|
|
Prefix: %{prefix}
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
#AutoReqProv: no
|
|
|
|
|
2007-11-30 09:45:45 -05:00
|
|
|
%if 0%{?suse_version} > 100
|
|
|
|
#BuildRequires: openldap2-devel
|
|
|
|
BuildRequires: lzo-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: openldap-devel
|
|
|
|
%endif
|
2007-11-20 18:23:32 -05:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: curl-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gnutls-devel
|
|
|
|
BuildRequires: libtool >= 1.5.14
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: termcap
|
2007-11-30 09:45:45 -05:00
|
|
|
BuildRequires: unixODBC-devel
|
2008-06-18 20:33:10 -04:00
|
|
|
BuildRequires: gdbm-devel
|
|
|
|
BuildRequires: db4-devel
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
%if %{?suse_version:1}0
|
|
|
|
%if 0%{?suse_version} > 910
|
|
|
|
#BuildRequires: autogen
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Fedora doesn't seem to have 'which' as part of the base system
|
|
|
|
%if %{?fedora_version:1}0
|
|
|
|
BuildRequires: which
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?suse_version} > 800
|
|
|
|
#PreReq: /usr/sbin/useradd /usr/sbin/groupadd
|
|
|
|
PreReq: %insserv_prereq %fillup_prereq
|
|
|
|
%endif
|
|
|
|
|
2008-02-03 20:19:52 -05:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
%description
|
2008-01-18 20:48:23 -05:00
|
|
|
FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice
|
|
|
|
and chat driven products scaling from a soft-phone up to a soft-switch. It can be used as a
|
|
|
|
simple switching engine, a media gateway or a media server to host IVR applications using
|
|
|
|
simple scripts or XML to control the callflow.
|
2007-11-20 18:23:32 -05:00
|
|
|
|
2008-01-18 20:48:23 -05:00
|
|
|
We support various communication technologies such as SIP, H.323, IAX2 and GoogleTalk making
|
|
|
|
it easy to interface with other open source PBX systems such as sipX, OpenPBX, Bayonne, YATE or Asterisk.
|
2007-11-20 18:23:32 -05:00
|
|
|
|
2008-01-18 20:48:23 -05:00
|
|
|
We also support both wide and narrow band codecs making it an ideal solution to bridge legacy
|
|
|
|
devices to the future. The voice channels and the conference bridge module all can operate
|
|
|
|
at 8, 16 or 32 kilohertz and can bridge channels of different rates.
|
2007-11-20 18:23:32 -05:00
|
|
|
|
2008-01-18 20:48:23 -05:00
|
|
|
FreeSWITCH runs on several operating systems including Windows, Max OS X, Linux, BSD and Solaris
|
|
|
|
on both 32 and 64 bit platforms.
|
2007-11-20 18:23:32 -05:00
|
|
|
|
2008-01-18 20:48:23 -05:00
|
|
|
Our developers are heavily involved in open source and have donated code and other resources to
|
|
|
|
other telephony projects including sipXecs, OpenSER, Asterisk, CodeWeaver and OpenPBX.
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for FreeSWITCH open source telephony platform
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
FreeSWITCH development files
|
|
|
|
|
|
|
|
%package codec-passthru-amr
|
|
|
|
Summary: Pass-through AMR Codec support for FreeSWITCH open source telephony platform
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Conflicts: codec-amr
|
|
|
|
|
|
|
|
%description codec-passthru-amr
|
|
|
|
Pass-through AMR Codec support for FreeSWITCH open source telephony platform
|
|
|
|
|
|
|
|
%package codec-passthru-g723_1
|
|
|
|
Summary: Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Conflicts: codec-g723_1
|
|
|
|
|
|
|
|
%description codec-passthru-g723_1
|
|
|
|
Pass-through g723.1 Codec support for FreeSWITCH open source telephony platform
|
|
|
|
|
|
|
|
%package codec-passthru-g729
|
|
|
|
Summary: Pass-through g729 Codec support for FreeSWITCH open source telephony platform
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Conflicts: codec-g729
|
|
|
|
|
|
|
|
%description codec-passthru-g729
|
|
|
|
Pass-through g729 Codec support for FreeSWITCH open source telephony platform
|
|
|
|
|
2007-11-30 09:45:45 -05:00
|
|
|
%package spidermonkey
|
|
|
|
Summary: JavaScript support for the FreeSWITCH open source telephony platform
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description spidermonkey
|
|
|
|
|
2008-05-25 17:51:24 -04:00
|
|
|
%package lua
|
|
|
|
Summary: Lua support for the FreeSWITCH open source telephony platform
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2007-12-01 12:24:45 -05:00
|
|
|
|
2008-05-25 17:51:24 -04:00
|
|
|
%description lua
|
2007-12-01 12:42:11 -05:00
|
|
|
|
2008-05-25 17:51:24 -04:00
|
|
|
%package perl
|
|
|
|
Summary: Perl support for the FreeSWITCH open source telephony platform
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2007-12-01 12:24:45 -05:00
|
|
|
|
2008-05-25 17:51:24 -04:00
|
|
|
%description perl
|
2007-12-01 12:42:11 -05:00
|
|
|
|
2008-05-25 17:51:24 -04:00
|
|
|
%package lang-en
|
|
|
|
Summary: Provides english language dependand modules and sounds for the FreeSwitch Open Source telephone platform.
|
2007-12-01 12:24:45 -05:00
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
2008-05-25 17:51:24 -04:00
|
|
|
%description lang-en
|
|
|
|
English language phrases module and directory structure for say module and voicemail
|
2007-12-01 12:24:45 -05:00
|
|
|
|
2007-11-20 18:23:32 -05:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2008-02-04 09:16:53 -05:00
|
|
|
%ifos linux
|
2007-11-20 18:23:32 -05:00
|
|
|
%if 0%{?suse_version} > 1000 && 0%{?suse_version} < 1030
|
|
|
|
export CFLAGS="$CFLAGS -fstack-protector"
|
|
|
|
%endif
|
2008-02-04 09:16:53 -05:00
|
|
|
%if 0%{?fedora_version} >= 8
|
|
|
|
export QA_RPATHS=$[ 0x0001|0x0002 ]
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
2007-11-30 09:45:45 -05:00
|
|
|
PASSTHRU_CODEC_MODULES="codecs/mod_g729 codecs/mod_g723_1 codecs/mod_amr"
|
2008-01-18 20:48:23 -05:00
|
|
|
SPIDERMONKEY_MODULES="languages/mod_spidermonkey languages/mod_spidermonkey_curl languages/mod_spidermonkey_core_db languages/mod_spidermonkey_odbc languages/mod_spidermonkey_socket languages/mod_spidermonkey_teletone"
|
2008-04-01 05:05:24 -04:00
|
|
|
APPLICATIONS_MODULES="applications/mod_commands applications/mod_conference applications/mod_dptools applications/mod_enum applications/mod_esf applications/mod_expr applications/mod_fifo applications/mod_limit applications/mod_rss applications/mod_voicemail applications/mod_fsv"
|
2008-07-23 18:30:48 -04:00
|
|
|
ASR_TTS_MODULES="asr_tts/mod_openmrcp asr_tts/mod_pocketsphinx asr_tts/mod_flite"
|
2008-03-04 11:20:43 -05:00
|
|
|
CODECS_MODULES="codecs/mod_ilbc codecs/mod_h26x codecs/mod_voipcodecs codecs/mod_speex"
|
2007-11-30 09:45:45 -05:00
|
|
|
DIALPLANS_MODULES="dialplans/mod_dialplan_asterisk dialplans/mod_dialplan_directory dialplans/mod_dialplan_xml"
|
|
|
|
DIRECTORIES_MODULES=
|
|
|
|
DOTNET_MODULES=
|
|
|
|
ENDPOINTS_MODULES="endpoints/mod_dingaling endpoints/mod_iax endpoints/mod_portaudio endpoints/mod_sofia endpoints/mod_woomera ../../libs/openzap/mod_openzap"
|
2007-12-06 16:11:33 -05:00
|
|
|
EVENT_HANDLERS_MODULES="event_handlers/mod_event_multicast event_handlers/mod_event_socket event_handlers/mod_cdr_csv"
|
2008-04-01 05:05:24 -04:00
|
|
|
FORMATS_MODULES="formats/mod_local_stream formats/mod_native_file formats/mod_sndfile formats/mod_tone_stream"
|
2008-05-25 17:51:24 -04:00
|
|
|
LANGUAGES_MODULES="languages/mod_perl languages/mod_lua"
|
2007-11-30 09:45:45 -05:00
|
|
|
LOGGERS_MODULES="loggers/mod_console loggers/mod_logfile loggers/mod_syslog"
|
2008-05-25 17:51:24 -04:00
|
|
|
SAY_MODULES="say/mod_say_en"
|
2007-11-30 09:45:45 -05:00
|
|
|
TIMERS_MODULES=
|
2008-10-15 12:53:04 -04:00
|
|
|
DISABLED_MODULES="applications/mod_soundtouch directories/mod_ldap languages/mod_java languages/mod_python languages/mod_spidermonkey_skel ast_tts/mod_cepstral asr_tts/mod_lumenvox event_handlers/mod_event_test event_handlers/mod_radius_cdr event_handlers/mod_zeroconf formats/mod_shout say/mod_say_it say/mod_say_es say/mod_say_nl"
|
2007-11-30 09:45:45 -05:00
|
|
|
XML_INT_MODULES="xml_int/mod_xml_rpc xml_int/mod_xml_curl xml_int/mod_xml_cdr"
|
|
|
|
MYMODULES="$PASSTHRU_CODEC_MODULES $SPIDERMONKEY_MODULES $APPLICATIONS_MODULES $ASR_TTS_MODULES $CODECS_MODULES $DIALPLANS_MODULES $DIRECTORIES_MODULES $DOTNET_MODULES $ENDPOINTS_MODULES $EVENT_HANDLERS_MODULES $FORMATS_MODULES $LANGUAGES_MODULES $LOGGERS_MODULES $SAY_MODULES $TIMERS_MODULES $XML_INT_MODULES"
|
|
|
|
|
|
|
|
export MODULES=$MYMODULES
|
2008-07-01 12:48:11 -04:00
|
|
|
test ! -f modules.conf || rm -f modules.conf
|
2007-11-30 09:45:45 -05:00
|
|
|
touch modules.conf
|
|
|
|
for i in $MODULES; do echo $i >> modules.conf; done
|
2007-11-20 18:23:32 -05:00
|
|
|
export VERBOSE=yes
|
|
|
|
export DESTDIR=$RPM_BUILD_ROOT/
|
|
|
|
export PKG_CONFIG_PATH=/usr/bin/pkg-config:$PKG_CONFIG_PATH
|
|
|
|
export ACLOCAL_FLAGS="-I /usr/share/aclocal"
|
2007-11-30 09:45:45 -05:00
|
|
|
|
2008-05-25 17:51:24 -04:00
|
|
|
if test ! -f Makefile.in
|
|
|
|
then
|
2008-05-28 10:11:26 -04:00
|
|
|
./bootstrap.sh
|
2008-05-25 17:51:24 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%configure -C \
|
2008-02-03 19:46:29 -05:00
|
|
|
--prefix=%{prefix} \
|
|
|
|
--bindir=%{prefix}/bin \
|
|
|
|
--libdir=%{prefix}/lib \
|
2007-11-20 18:23:32 -05:00
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--infodir=%{_infodir} \
|
|
|
|
--mandir=%{_mandir} \
|
2007-11-30 09:45:45 -05:00
|
|
|
--enable-core-libedit-support \
|
|
|
|
--enable-core-odbc-support \
|
2008-02-03 19:46:29 -05:00
|
|
|
%ifos linux
|
2008-02-04 08:07:08 -05:00
|
|
|
%if 0%{?fedora_version} >= 8
|
2008-02-03 19:46:29 -05:00
|
|
|
%else
|
|
|
|
--with-libcurl \
|
|
|
|
%endif
|
|
|
|
%endif
|
2008-02-05 17:46:41 -05:00
|
|
|
--with-openssl \
|
|
|
|
%{?configure_options}
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
#Create the version header file here
|
|
|
|
cat src/include/switch_version.h.in | sed "s/@SVN_VERSION@/%{version}/g" > src/include/switch_version.h
|
|
|
|
touch .noversion
|
|
|
|
|
2008-02-04 08:07:08 -05:00
|
|
|
%{__make}
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
%install
|
2008-05-25 17:51:24 -04:00
|
|
|
# delete unsupported langugages for now
|
|
|
|
rm -rf conf/lang/de
|
|
|
|
rm -rf conf/lang/fr
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{prefix}/conf/lang/de
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{prefix}/conf/lang/fr
|
|
|
|
|
2008-02-03 19:56:37 -05:00
|
|
|
%{__make} DESTDIR=$RPM_BUILD_ROOT install
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
# Create a log dir
|
2008-02-03 19:56:37 -05:00
|
|
|
%{__mkdir} -p $RPM_BUILD_ROOT%{prefix}/log
|
2007-11-22 22:09:08 -05:00
|
|
|
|
2008-02-03 19:46:29 -05:00
|
|
|
%ifos linux
|
2007-11-20 18:23:32 -05:00
|
|
|
#Install the library path config so the system can find the modules
|
2008-02-03 19:56:37 -05:00
|
|
|
%{__mkdir} -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
|
|
|
%{__cp} build/freeswitch.ld.so.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/
|
2007-11-30 09:45:45 -05:00
|
|
|
# Install init files
|
2007-12-01 12:24:45 -05:00
|
|
|
# On SuSE:
|
2007-12-01 14:00:03 -05:00
|
|
|
%if 0%{?suse_version} > 100
|
2008-02-03 19:56:37 -05:00
|
|
|
%{__install} -D -m 744 build/freeswitch.init.suse $RPM_BUILD_ROOT/etc/init.d/freeswitch
|
2007-12-01 12:24:45 -05:00
|
|
|
%else
|
|
|
|
# On RedHat like
|
2008-02-03 19:56:37 -05:00
|
|
|
%{__install} -D -m 744 build/freeswitch.init.redhat $RPM_BUILD_ROOT/etc/init.d/freeswitch
|
2007-12-01 12:24:45 -05:00
|
|
|
%endif
|
|
|
|
# On SuSE make /usr/sbin/rcfreeswitch a link to /etc/init.d/freeswitch
|
2007-12-01 14:00:03 -05:00
|
|
|
%if 0%{?suse_version} > 100
|
2008-02-03 19:56:37 -05:00
|
|
|
%{__mkdir} -p $RPM_BUILD_ROOT/usr/sbin
|
2008-02-04 08:07:08 -05:00
|
|
|
%{__ln_s} -f /etc/init.d/freeswitch $RPM_BUILD_ROOT/usr/sbin/rcfreeswitch
|
2007-12-01 12:24:45 -05:00
|
|
|
%endif
|
2007-11-30 09:45:45 -05:00
|
|
|
# Add the sysconfiguration file
|
2008-02-03 19:56:37 -05:00
|
|
|
%{__install} -D -m 744 build/freeswitch.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/freeswitch
|
2007-12-06 12:36:01 -05:00
|
|
|
# Add monit file
|
2008-02-03 19:56:37 -05:00
|
|
|
%{__install} -D -m 644 build/freeswitch.monitrc $RPM_BUILD_ROOT/etc/monit.d/freeswitch.monitrc
|
2008-02-03 19:46:29 -05:00
|
|
|
%endif
|
|
|
|
|
2007-12-06 12:36:01 -05:00
|
|
|
|
2007-11-30 09:45:45 -05:00
|
|
|
# Add a freeswitch user with group daemon
|
2007-11-20 18:23:32 -05:00
|
|
|
%pre
|
2008-02-05 17:46:41 -05:00
|
|
|
%ifos linux
|
2008-03-29 00:22:28 -04:00
|
|
|
/usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d %{prefix} freeswitch 2> /dev/null || :
|
2008-02-05 17:46:41 -05:00
|
|
|
%endif
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
%post
|
|
|
|
%{?run_ldconfig:%run_ldconfig}
|
2007-12-05 20:11:28 -05:00
|
|
|
# Make FHS2.0 happy
|
2008-02-03 19:56:37 -05:00
|
|
|
%{__mkdir} -p /etc/opt
|
2008-02-04 08:07:08 -05:00
|
|
|
%{__ln_s} -f %{prefix}/conf /etc%{prefix}
|
2007-11-20 18:23:32 -05:00
|
|
|
|
2008-03-29 00:22:28 -04:00
|
|
|
chkconfig --add freeswitch
|
|
|
|
|
2007-11-20 18:23:32 -05:00
|
|
|
%postun
|
|
|
|
%{?run_ldconfig:%run_ldconfig}
|
2007-12-06 12:36:01 -05:00
|
|
|
userdel freeswitch
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
%clean
|
2008-02-03 19:56:37 -05:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
%files
|
2007-11-30 09:45:45 -05:00
|
|
|
%defattr(-,freeswitch,daemon)
|
2008-02-03 19:46:29 -05:00
|
|
|
%ifos linux
|
2008-01-18 20:48:23 -05:00
|
|
|
%dir %attr(0750, freeswitch, daemon) /etc/monit.d
|
2008-02-03 19:46:29 -05:00
|
|
|
%endif
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/db
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/log
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/log/xml_cdr
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/htdocs
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/scripts
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/dialplan
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/directory
|
2008-06-25 11:09:54 -04:00
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/directory/default
|
2008-02-03 19:46:29 -05:00
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/mrcp_profiles
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/sip_profiles
|
2008-09-28 16:37:20 -04:00
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/dialplan/default
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/dialplan/public
|
2008-05-22 15:05:04 -04:00
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/sip_profiles/internal
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/sip_profiles/external
|
2008-02-03 19:46:29 -05:00
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/jingle_profiles
|
2008-07-23 19:25:44 -04:00
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/grammar
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/grammar/model
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/grammar/model/communicator
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/grammar/model/wsj1
|
2008-02-03 19:46:29 -05:00
|
|
|
%ifos linux
|
2008-01-18 20:48:23 -05:00
|
|
|
%config(noreplace) %attr(0644, freeswitch, daemon) /etc/monit.d/freeswitch.monitrc
|
2008-02-03 19:46:29 -05:00
|
|
|
%endif
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/mime.types
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/*.tpl
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/*.ttml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/*.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/*.conf
|
2008-07-23 19:25:44 -04:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/cmudict.0.6d
|
2008-05-25 17:51:24 -04:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/acl.conf.xml
|
2008-02-03 19:46:29 -05:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/alsa.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/conference.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/console.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/dialplan_directory.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/dingaling.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/enum.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/event_multicast.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/event_socket.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/cdr_csv.conf.xml
|
2008-09-18 21:19:43 -04:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/fax.conf.xml
|
2008-12-12 17:30:50 -05:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/fifo.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/openzap.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/shout.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/timezones.conf.xml
|
2008-02-03 19:46:29 -05:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/iax.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/ivr.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/java.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/limit.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/local_stream.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/logfile.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/modules.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/openmrcp.conf.xml
|
2008-07-14 15:16:28 -04:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/pocketsphinx.conf.xml
|
2008-02-03 19:46:29 -05:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/portaudio.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/post_load_modules.conf.xml
|
2008-07-23 19:25:44 -04:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/python.conf.xml
|
2008-02-03 19:46:29 -05:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/rss.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/sofia.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/switch.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/syslog.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/voicemail.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/woomera.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/xml_cdr.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/xml_curl.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/xml_rpc.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/zeroconf.conf.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/dialplan/*.xml
|
2008-09-28 16:37:20 -04:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/dialplan/default/*.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/dialplan/public/*.xml
|
2008-02-03 19:46:29 -05:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/directory/*.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/directory/default/*
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/mrcp_profiles/*.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/sip_profiles/*.xml
|
2008-05-25 17:51:24 -04:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/sip_profiles/internal/*.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/sip_profiles/external/*.xml
|
2008-02-03 19:46:29 -05:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/jingle_profiles/*.xml
|
2008-07-23 19:25:44 -04:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/grammar/Makefile
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/grammar/model/communicator/*
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/grammar/model/wsj1/*
|
2008-02-03 19:46:29 -05:00
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/htdocs/*
|
|
|
|
%ifos linux
|
2007-11-20 18:23:32 -05:00
|
|
|
/etc/ld.so.conf.d/*
|
|
|
|
/etc/init.d/freeswitch
|
|
|
|
/etc/sysconfig/freeswitch
|
2007-12-01 14:00:03 -05:00
|
|
|
%if 0%{?suse_version} > 100
|
2007-11-20 18:23:32 -05:00
|
|
|
/usr/sbin/rcfreeswitch
|
2007-12-01 12:24:45 -05:00
|
|
|
%endif
|
2008-02-03 19:46:29 -05:00
|
|
|
%endif
|
|
|
|
%{prefix}/bin/*
|
|
|
|
%{prefix}/lib/libfreeswitch*.so*
|
2008-12-12 17:30:50 -05:00
|
|
|
%{prefix}/lib/libopenzap.so*
|
2008-02-03 19:46:29 -05:00
|
|
|
%{prefix}/mod/mod_console.so*
|
|
|
|
%{prefix}/mod/mod_logfile.so*
|
|
|
|
%{prefix}/mod/mod_syslog.so*
|
|
|
|
%{prefix}/mod/mod_commands.so*
|
|
|
|
%{prefix}/mod/mod_conference.so*
|
|
|
|
%{prefix}/mod/mod_dptools.so*
|
|
|
|
%{prefix}/mod/mod_enum.so*
|
|
|
|
%{prefix}/mod/mod_esf.so*
|
|
|
|
%{prefix}/mod/mod_expr.so*
|
|
|
|
%{prefix}/mod/mod_fifo.so*
|
|
|
|
%{prefix}/mod/mod_limit.so*
|
|
|
|
%{prefix}/mod/mod_rss.so*
|
|
|
|
%{prefix}/mod/mod_voicemail.so*
|
|
|
|
%{prefix}/mod/mod_openmrcp.so*
|
2008-07-23 18:30:48 -04:00
|
|
|
%{prefix}/mod/mod_pocketsphinx.so*
|
|
|
|
%{prefix}/mod/mod_flite.so*
|
2008-02-03 19:46:29 -05:00
|
|
|
%{prefix}/mod/mod_ilbc.so*
|
|
|
|
%{prefix}/mod/mod_h26x.so*
|
2008-02-18 19:25:24 -05:00
|
|
|
%{prefix}/mod/mod_voipcodecs.so*
|
2008-02-03 19:46:29 -05:00
|
|
|
%{prefix}/mod/mod_speex.so*
|
|
|
|
%{prefix}/mod/mod_dialplan_directory.so*
|
|
|
|
%{prefix}/mod/mod_dialplan_xml.so*
|
|
|
|
%{prefix}/mod/mod_dialplan_asterisk.so*
|
|
|
|
%{prefix}/mod/mod_dingaling.so*
|
|
|
|
%{prefix}/mod/mod_iax.so*
|
|
|
|
%{prefix}/mod/mod_portaudio.so*
|
|
|
|
%{prefix}/mod/mod_sofia.so*
|
|
|
|
%{prefix}/mod/mod_woomera.so*
|
|
|
|
%{prefix}/mod/mod_openzap.so*
|
|
|
|
%{prefix}/mod/mod_cdr_csv.so*
|
|
|
|
%{prefix}/mod/mod_event_multicast.so*
|
|
|
|
%{prefix}/mod/mod_event_socket.so*
|
|
|
|
%{prefix}/mod/mod_native_file.so*
|
|
|
|
%{prefix}/mod/mod_sndfile.so*
|
|
|
|
%{prefix}/mod/mod_local_stream.so*
|
|
|
|
%{prefix}/mod/mod_xml_rpc.so*
|
|
|
|
%{prefix}/mod/mod_xml_curl.so*
|
|
|
|
%{prefix}/mod/mod_xml_cdr.so*
|
2008-04-01 05:05:24 -04:00
|
|
|
%{prefix}/mod/mod_fsv.so
|
|
|
|
%{prefix}/mod/mod_tone_stream.so
|
2008-09-18 21:18:43 -04:00
|
|
|
%{prefix}/mod/ozmod_analog.so
|
|
|
|
%{prefix}/mod/ozmod_analog_em.so
|
|
|
|
%{prefix}/mod/ozmod_isdn.so
|
|
|
|
%{prefix}/mod/ozmod_ss7_boost.so
|
|
|
|
%{prefix}/mod/ozmod_zt.so
|
2008-12-12 17:30:50 -05:00
|
|
|
%{prefix}/mod/ozmod_wanpipe.so
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
%files codec-passthru-amr
|
2007-11-30 09:45:45 -05:00
|
|
|
%defattr(-,freeswitch,daemon)
|
2008-02-03 19:46:29 -05:00
|
|
|
%{prefix}/mod/mod_amr.so*
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
%files codec-passthru-g723_1
|
2007-11-30 09:45:45 -05:00
|
|
|
%defattr(-,freeswitch,daemon)
|
2008-02-03 19:46:29 -05:00
|
|
|
%{prefix}/mod/mod_g723_1.so*
|
2007-11-20 18:23:32 -05:00
|
|
|
|
|
|
|
%files codec-passthru-g729
|
2007-11-30 09:45:45 -05:00
|
|
|
%defattr(-,freeswitch,daemon)
|
2008-02-03 19:46:29 -05:00
|
|
|
%{prefix}/mod/mod_g729.so*
|
2007-11-20 18:23:32 -05:00
|
|
|
|
2007-11-30 09:45:45 -05:00
|
|
|
%files spidermonkey
|
|
|
|
%defattr(-,freeswitch,daemon)
|
2008-02-03 19:46:29 -05:00
|
|
|
%{prefix}/mod/mod_spidermonkey*.so*
|
|
|
|
%{prefix}/lib/libjs.so*
|
|
|
|
%{prefix}/lib/libnspr4.so
|
|
|
|
%{prefix}/lib/libplds4.so
|
|
|
|
%{prefix}/lib/libplc4.so
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/spidermonkey.conf.xml
|
2007-11-30 09:45:45 -05:00
|
|
|
|
2008-05-25 17:51:24 -04:00
|
|
|
%files lua
|
|
|
|
%defattr(-,freeswitch,daemon)
|
|
|
|
%{prefix}/mod/mod_lua*.so*
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/lua.conf.xml
|
|
|
|
|
|
|
|
%files perl
|
|
|
|
%defattr(-,freeswitch,daemon)
|
|
|
|
%{prefix}/mod/mod_perl*.so*
|
|
|
|
%{prefix}/perl/*
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/autoload_configs
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/autoload_configs/perl.conf.xml
|
|
|
|
|
2007-11-20 18:23:32 -05:00
|
|
|
%files devel
|
2008-01-18 20:48:23 -05:00
|
|
|
%defattr(-, freeswitch, daemon)
|
2008-02-03 19:46:29 -05:00
|
|
|
%{prefix}/lib/*.a
|
|
|
|
%{prefix}/lib/*.la
|
|
|
|
%{prefix}/mod/*.a
|
|
|
|
%{prefix}/mod/*.la
|
|
|
|
%{prefix}/include/*.h
|
2007-11-20 18:23:32 -05:00
|
|
|
|
2007-12-01 12:24:45 -05:00
|
|
|
%files lang-en
|
2008-02-03 19:46:29 -05:00
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/en
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/en/demo
|
|
|
|
%dir %attr(0750, freeswitch, daemon) %{prefix}/conf/lang/en/vm
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/en/*.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/en/demo/*.xml
|
|
|
|
%config(noreplace) %attr(0640, freeswitch, daemon) %{prefix}/conf/lang/en/vm/*.xml
|
|
|
|
%{prefix}/mod/mod_say_en.so*
|
2007-12-01 12:24:45 -05:00
|
|
|
|
2007-11-20 18:23:32 -05:00
|
|
|
%changelog
|
2008-05-25 17:51:24 -04:00
|
|
|
* Thu May 22 2008 - michal.bielicki@voiceworks.pl
|
|
|
|
- disabled beta class language stuff
|
|
|
|
- bumped revision up to rc6
|
|
|
|
- added mod_lua
|
|
|
|
- added mod_perl
|
|
|
|
- Only bootstrap if no Makfile.in exists
|
2008-02-04 08:07:08 -05:00
|
|
|
* Mon Feb 04 2008 - michal.bielicki@voiceworks.pl
|
|
|
|
- More fixes to specfile
|
|
|
|
- First go at SFE files
|
|
|
|
* Sun Feb 03 2008 - michal.bielicki@voiceworks.pl
|
2008-02-03 19:56:37 -05:00
|
|
|
- abstraction of prefix
|
|
|
|
- more wrong stuff deleted
|
|
|
|
- abstraction of mkdir, mv, rm, install etc into macros
|
2008-01-18 20:48:23 -05:00
|
|
|
* Fri Jan 18 2008 - michal.bielicki@voiceworks.pl
|
|
|
|
- fixes, fixes and more fixes in preparation for rc1
|
2007-12-05 20:11:28 -05:00
|
|
|
* Thu Dec 5 2007 - michal.bielicki@voiceworks.pl
|
2008-05-25 17:51:24 -04:00
|
|
|
- put in detail configfiles in to split of spidermonkey configs
|
2008-02-03 19:46:29 -05:00
|
|
|
- created link from /opt/freesxwitch/conf to /etc%{prefix}
|
2007-12-05 20:11:28 -05:00
|
|
|
* Thu Nov 29 2007 - michal.bielicki@voiceworks.pl
|
2007-11-30 09:45:45 -05:00
|
|
|
- Added ifdefs for susealities
|
|
|
|
- Added specifics for centos/redhat
|
|
|
|
- Added specifics for fedora
|
|
|
|
- Preparing to use it for adding it to SFE packaging for solaris
|
|
|
|
- Added odbc stuff back in
|
|
|
|
- made curl default
|
|
|
|
- Separate package for mod_spidermonkey
|
|
|
|
- got rid of modules.conf and stuffed everything in MODULES env var
|
|
|
|
- got rid of handmade Cflags peter added ;)
|
|
|
|
- fixed bin and libpaths
|
|
|
|
- fixed locationof nspr and js libs
|
|
|
|
- fixed odbc requirements
|
|
|
|
- added all buildable modules
|
2007-12-01 12:24:45 -05:00
|
|
|
- added redhat style init file
|
|
|
|
- splitted off language dependant stuff into separate language files
|
2007-12-01 14:00:03 -05:00
|
|
|
- disable non complete language modules
|
2007-11-20 18:23:32 -05:00
|
|
|
* Tue Apr 24 2007 - peter+rpmspam@suntel.com.tr
|
|
|
|
- Added a debug package
|
|
|
|
- Split the passthrough codecs into separate packages
|
|
|
|
* Fri Mar 16 2007 - peter+rpmspam@suntel.com.tr
|
|
|
|
- Added devel package
|
|
|
|
* Thu Mar 15 2007 - peter+rpmspam@suntel.com.tr
|
|
|
|
- Initial RPM release
|