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
2007-11-30 09:45:45 -05:00
Version: 1.0.beta3
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
#AutoReqProv: no
2007-11-30 09:45:45 -05:00
%if 0%{?suse_version} > 100
2007-11-20 18:23:32 -05:00
BuildRequires: alsa-devel
2007-11-30 09:45:45 -05:00
#BuildRequires: openldap2-devel
BuildRequires: lzo-devel
%else
BuildRequires: alsa-lib-devel
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
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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.
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.
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.
FreeSWITCH runs on several operating systems including Windows, Max OS X, Linux, BSD and Solaris on both 32 and 64 bit platforms.
Our developers are heavily involved in open source and have donated code and other resources to other telephony projects including sipX, Asterisk and OpenPBX.
2007-11-30 09:45:45 -05:00
%if 0%{?suse_version} > 100
2007-11-20 18:23:32 -05:00
%debug_package
2007-11-30 09:45:45 -05:00
%endif
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
2007-12-01 12:24:45 -05:00
%package lang-en
Summary: Provides english language dependand modules and sounds for the FreeSwitch Open Source telephone platform.
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
2007-12-01 12:48:38 -05:00
%description lang-en
English language phrases module and directory structure for say module and voicemail
2007-12-01 12:42:11 -05:00
2007-12-01 14:00:03 -05:00
#%package lang-it
#Summary: Provides italian language dependand modules and sounds for the FreeSwitch Open Source telephone platform.
#Group: System/Libraries
#Requires: %{name} = %{version}-%{release}
2007-12-01 12:24:45 -05:00
2007-12-01 14:00:03 -05:00
#%description lang-it
#Italian language phrases module and directory structure for say module and voicemail
2007-12-01 12:42:11 -05:00
2007-12-01 14:00:03 -05:00
#%package lang-es
#Summary: Provides spanish language dependand modules and sounds for the FreeSwitch Open Source telephone platform.
#Group: System/Libraries
#Requires: %{name} = %{version}-%{release}
2007-12-01 12:24:45 -05:00
2007-12-01 14:09:45 -05:00
#%description lang-es
#Spanish language phrases module and directory structure for say module and voicemail
2007-12-01 12:42:11 -05:00
2007-12-01 12:24:45 -05:00
%package lang-de
Summary: Provides german language dependand modules and sounds for the FreeSwitch Open Source telephone platform.
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
2007-12-01 12:48:38 -05:00
%description lang-de
German language phrases module and directory structure for say module and voicemail
2007-12-01 12:42:11 -05:00
2007-12-01 14:00:03 -05:00
#%package lang-nl
#Summary: Provides dutch language dependand modules and sounds for the FreeSwitch Open Source telephone platform.
#Group: System/Libraries
#Requires: %{name} = %{version}-%{release}
2007-12-01 12:24:45 -05:00
2007-12-01 14:00:03 -05:00
#%description lang-nl
#Dutch language phrases module and directory structure for say module and voicemail
2007-12-01 12:42:11 -05:00
2007-12-01 12:24:45 -05:00
%package lang-fr
Summary: Provides french language dependand modules and sounds for the FreeSwitch Open Source telephone platform.
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
2007-12-01 12:48:38 -05:00
%description lang-fr
French 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
#export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED -fPIC -DPIC"
2007-11-30 09:45:45 -05:00
#export CFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC"
2007-11-20 18:23:32 -05:00
%if 0%{?suse_version} > 1000 && 0%{?suse_version} < 1030
export CFLAGS="$CFLAGS -fstack-protector"
%endif
2007-11-30 09:45:45 -05:00
PASSTHRU_CODEC_MODULES="codecs/mod_g729 codecs/mod_g723_1 codecs/mod_amr"
SPIDERMONKEY_MODULES="languages/mod_spidermonkey languages/mod_spidermonkey_core_db languages/mod_spidermonkey_odbc languages/mod_spidermonkey_socket languages/mod_spidermonkey_teletone"
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"
ASR_TTS_MODULES="asr_tts/mod_openmrcp"
CODECS_MODULES="codecs/mod_g711 codecs/mod_g722 codecs/mod_g726 codecs/mod_gsm codecs/mod_ilbc codecs/mod_h26x codecs/mod_l16 codecs/mod_speex"
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"
2007-11-30 09:45:45 -05:00
FORMATS_MODULES="formats/mod_local_stream formats/mod_native_file formats/mod_sndfile"
LANGUAGES_MODULES=
LOGGERS_MODULES="loggers/mod_console loggers/mod_logfile loggers/mod_syslog"
2007-12-01 14:56:21 -05:00
SAY_MODULES="say/mod_say_de say/mod_say_en say/mod_say_fr"
2007-11-30 09:45:45 -05:00
TIMERS_MODULES=
2007-12-01 14:56:21 -05:00
DISABLED_MODULES="applications/mod_sountouch directories/mod_ldap languages/mod_java languages/mod_python languages/mod_spidermonkey_skel ast_tts/mod_cepstral asr_tts/mod_lumenvox endpoints/mod_wanpipe 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
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
2007-11-20 18:23:32 -05:00
./bootstrap.sh
%configure -C \
--prefix=/opt/freeswitch \
2007-11-30 09:45:45 -05:00
--bindir=/opt/freeswitch/bin \
--libdir=/opt/freeswitch/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 \
--with-openssl \
--with-libcurl
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
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
# Create a log dir
mkdir -p $RPM_BUILD_ROOT/opt/freeswitch/log
2007-11-22 22:09:08 -05:00
2007-11-20 18:23:32 -05:00
#Install the library path config so the system can find the modules
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
2007-11-22 22:09:08 -05:00
cp build/freeswitch.ld.so.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/
2007-11-20 18:23:32 -05:00
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
2007-12-01 12:24:45 -05:00
install -D -m 744 build/freeswitch.init.suse $RPM_BUILD_ROOT/etc/init.d/freeswitch
%else
# On RedHat like
install -D -m 744 build/freeswitch.init.redhat $RPM_BUILD_ROOT/etc/init.d/freeswitch
%endif
2007-11-30 09:45:45 -05:00
2007-12-01 12:24:45 -05:00
# 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
2007-11-20 18:23:32 -05:00
mkdir -p $RPM_BUILD_ROOT/usr/sbin
ln -sf /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
2007-11-22 22:09:08 -05:00
install -D -m 744 build/freeswitch.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/freeswitch
2007-11-20 18:23:32 -05:00
2007-12-06 12:36:01 -05:00
# Add monit file
2007-12-06 18:13:23 -05:00
install -D -m 644 build/freeswitch.monitrc $RPM_BUILD_ROOT/etc/monit.d/freeswitch.monitrc
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
2007-11-30 09:45:45 -05:00
/usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d /opt/freeswitch/var freeswitch 2> /dev/null || :
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
2007-12-05 20:36:47 -05:00
mkdir -p /etc/opt
2007-12-05 20:11:28 -05:00
ln -sf /opt/freeswitch/conf /etc/opt/freeswitch
2007-11-20 18:23:32 -05:00
%postun
%{?run_ldconfig:%run_ldconfig}
2007-12-06 12:36:01 -05:00
rm -rf /opt/freeswitch
userdel freeswitch
2007-11-20 18:23:32 -05:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
2007-11-30 09:45:45 -05:00
%defattr(-,freeswitch,daemon)
2007-12-06 18:13:23 -05:00
%dir %attr(750,freeswitch,daemon) /etc/monit.d
2007-11-30 09:45:45 -05:00
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/db
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/log
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/log/xml_cdr
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/htdocs
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/scripts
#%dir %attr(750,freeswitch,daemon) /opt/freeswitch/grammer
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/dialplan
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/directory
2007-12-12 11:20:42 -05:00
%dir %attr(750,freeswitch.daemon) /opt/freeswitch/conf/directory/default
2007-11-30 09:45:45 -05:00
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/sip_profiles
2007-12-12 11:20:42 -05:00
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/jingle_profiles
2007-12-06 16:46:22 -05:00
%config(noreplace) %attr(644,freeswitch,daemon) /etc/monit.d/freeswitch.monitrc
2007-11-30 09:45:45 -05:00
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/mime.types
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/*.tpl
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/*.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/*.conf
2007-12-05 20:11:28 -05:00
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/alsa.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/cdr.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/conference.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/console.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/dialplan_directory.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/dingaling.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/enum.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/event_multicast.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
2007-12-06 18:13:23 -05:00
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/cdr_csv.conf.xml
2007-12-05 20:11:28 -05:00
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/iax.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/ivr.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/java.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/limit.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/local_stream.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/logfile.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/modules.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/openmrcp.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/portaudio.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/post_load_modules.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/rss.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/sofia.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/switch.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/syslog.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/voicemail.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/wanpipe.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/woomera.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/xml_cdr.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/xml_curl.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/xml_rpc.conf.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/zeroconf.conf.xml
2007-11-30 09:45:45 -05:00
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/dialplan/*.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/directory/*.xml
2007-12-12 11:20:42 -05:00
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/directory/default/*
2007-11-30 09:45:45 -05:00
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/sip_profiles/*.xml
2007-12-12 11:20:42 -05:00
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/jingle_profiles/*.xml
2007-11-30 09:45:45 -05:00
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/htdocs/*
2007-11-20 18:23:32 -05:00
/etc/ld.so.conf.d/*
2007-11-30 09:45:45 -05:00
/opt/freeswitch/bin/freeswitch
2007-11-20 18:23:32 -05:00
/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
2007-11-30 09:45:45 -05:00
/opt/freeswitch/lib/libfreeswitch*.so*
/opt/freeswitch/mod/mod_console.so*
/opt/freeswitch/mod/mod_logfile.so*
/opt/freeswitch/mod/mod_syslog.so*
/opt/freeswitch/mod/mod_commands.so*
/opt/freeswitch/mod/mod_conference.so*
/opt/freeswitch/mod/mod_dptools.so*
/opt/freeswitch/mod/mod_enum.so*
/opt/freeswitch/mod/mod_esf.so*
/opt/freeswitch/mod/mod_expr.so*
/opt/freeswitch/mod/mod_fifo.so*
/opt/freeswitch/mod/mod_limit.so*
/opt/freeswitch/mod/mod_rss.so*
#/opt/freeswitch/mod/mod_soundtouch.so*
/opt/freeswitch/mod/mod_voicemail.so*
/opt/freeswitch/mod/mod_openmrcp.so*
/opt/freeswitch/mod/mod_g711.so*
/opt/freeswitch/mod/mod_g722.so*
/opt/freeswitch/mod/mod_g726.so*
/opt/freeswitch/mod/mod_gsm.so*
/opt/freeswitch/mod/mod_ilbc.so*
/opt/freeswitch/mod/mod_h26x.so*
/opt/freeswitch/mod/mod_l16.so*
/opt/freeswitch/mod/mod_speex.so*
/opt/freeswitch/mod/mod_dialplan_directory.so*
/opt/freeswitch/mod/mod_dialplan_xml.so*
/opt/freeswitch/mod/mod_dialplan_asterisk.so*
/opt/freeswitch/mod/mod_dingaling.so*
/opt/freeswitch/mod/mod_iax.so*
/opt/freeswitch/mod/mod_portaudio.so*
/opt/freeswitch/mod/mod_sofia.so*
/opt/freeswitch/mod/mod_woomera.so*
/opt/freeswitch/mod/mod_openzap.so*
2007-12-06 16:11:33 -05:00
/opt/freeswitch/mod/mod_cdr_csv.so*
2007-11-30 09:45:45 -05:00
/opt/freeswitch/mod/mod_event_multicast.so*
/opt/freeswitch/mod/mod_event_socket.so*
/opt/freeswitch/mod/mod_native_file.so*
/opt/freeswitch/mod/mod_sndfile.so*
/opt/freeswitch/mod/mod_local_stream.so*
/opt/freeswitch/mod/mod_xml_rpc.so*
/opt/freeswitch/mod/mod_xml_curl.so*
/opt/freeswitch/mod/mod_xml_cdr.so*
2007-11-20 18:23:32 -05:00
%files codec-passthru-amr
2007-11-30 09:45:45 -05:00
%defattr(-,freeswitch,daemon)
2007-11-20 18:23:32 -05:00
/opt/freeswitch/mod/mod_amr.so*
%files codec-passthru-g723_1
2007-11-30 09:45:45 -05:00
%defattr(-,freeswitch,daemon)
2007-11-20 18:23:32 -05:00
/opt/freeswitch/mod/mod_g723_1.so*
%files codec-passthru-g729
2007-11-30 09:45:45 -05:00
%defattr(-,freeswitch,daemon)
2007-11-20 18:23:32 -05:00
/opt/freeswitch/mod/mod_g729.so*
2007-11-30 09:45:45 -05:00
%files spidermonkey
%defattr(-,freeswitch,daemon)
/opt/freeswitch/mod/mod_spidermonkey*.so*
/opt/freeswitch/lib/libjs.so*
/opt/freeswitch/lib/libnspr4.so
/opt/freeswitch/lib/libplds4.so
/opt/freeswitch/lib/libplc4.so
2007-12-05 20:11:28 -05:00
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs
2007-12-05 20:36:47 -05:00
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/autoload_configs/spidermonkey.conf.xml
2007-11-30 09:45:45 -05:00
2007-11-20 18:23:32 -05:00
%files devel
2007-11-30 09:45:45 -05:00
%defattr(-,freeswitch,daemon)
/opt/freeswitch/lib/*.a
/opt/freeswitch/lib/*.la
2007-11-20 18:23:32 -05:00
/opt/freeswitch/mod/*.a
/opt/freeswitch/mod/*.la
/opt/freeswitch/include/*.h
2007-12-01 12:24:45 -05:00
%files lang-en
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/en
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/en/demo
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/en/vm
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/en/*.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/en/demo/*.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/en/vm/*.xml
/opt/freeswitch/mod/mod_say_en.so*
2007-12-01 14:00:03 -05:00
#%files lang-it
#%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/it
#%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/it/demo
#%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/it/vm
#%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/it/*.xml
#%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/it/demo/*.xml
#%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/it/vm/*.xml
#/opt/freeswitch/mod/mod_say_it.so*
#%files lang-es
#%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/es
#%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/es/demo
#%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/es/vm
#%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/es/*.xml
#%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/es/demo/*.xml
#%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/es/vm/*.xml
#/opt/freeswitch/mod/mod_say_es.so*
2007-12-01 12:24:45 -05:00
%files lang-de
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/de
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/de/demo
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/de/vm
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/de/*.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/de/demo/*.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/de/vm/*.xml
/opt/freeswitch/mod/mod_say_de.so*
2007-12-01 14:00:03 -05:00
#%files lang-nl
#%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/nl
#%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/nl/demo
#%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/nl/vm
#%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/nl/*.xml
#%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/nl/demo/*.xml
#%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/nl/vm/*.xml
#/opt/freeswitch/mod/mod_say_nl.so*
2007-12-01 12:24:45 -05:00
%files lang-fr
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/fr
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/fr/demo
%dir %attr(750,freeswitch,daemon) /opt/freeswitch/conf/lang/fr/vm
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/fr/*.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/fr/demo/*.xml
%config(noreplace) %attr(640,freeswitch,daemon) /opt/freeswitch/conf/lang/fr/vm/*.xml
/opt/freeswitch/mod/mod_say_fr.so*
2007-11-20 18:23:32 -05:00
%changelog
2007-12-05 20:11:28 -05:00
* Thu Dec 5 2007 - michal.bielicki@voiceworks.pl
- put in detail configfiles in to split of spidermonkey configs
- created link from /opt/freesxwitch/conf to /etc/opt/freeswitch
* 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