FS-6563 --resolve update the freeswitch.spec file for building on Centos6, drop spidermonkey and add other requirements
This commit is contained in:
parent
3ab1044d6e
commit
70b03acf71
|
@ -3,7 +3,7 @@
|
|||
# spec file for package freeswitch
|
||||
#
|
||||
# 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-v8
|
||||
# freeswitch-codec-passthru-g7231 freeswitch-lua freeswitch-perl freeswitch-python freeswitch-v8
|
||||
# freeswitch-lan-de freeswitch-lang-en freeswitch-lang-fr freeswitch-lang-hu freeswitch-lang-ru freeswitch-freetdm
|
||||
# and others
|
||||
#
|
||||
|
@ -151,7 +151,11 @@ BuildRequires: gcc-c++
|
|||
BuildRequires: gnutls-devel
|
||||
BuildRequires: libtool >= 1.5.17
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: openssl-devel >= 1.0.1e
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: speex-devel
|
||||
BuildRequires: sqlite-devel
|
||||
BuildRequires: libedit-devel
|
||||
BuildRequires: perl
|
||||
%if 0%{?fedora_version} >= 8 || 0%{?rhel} >= 6
|
||||
BuildRequires: perl-ExtUtils-Embed
|
||||
|
@ -184,7 +188,11 @@ Requires: libogg
|
|||
Requires: libvorbis
|
||||
Requires: curl
|
||||
Requires: ncurses
|
||||
Requires: openssl
|
||||
Requires: pcre
|
||||
Requires: speex
|
||||
Requires: sqlite
|
||||
Requires: libedit
|
||||
Requires: openssl >= 1.0.1e
|
||||
Requires: unixODBC
|
||||
Requires: libjpeg
|
||||
#Requires: openldap
|
||||
|
@ -1093,13 +1101,6 @@ Requires: python
|
|||
|
||||
%description python
|
||||
|
||||
%package spidermonkey
|
||||
Summary: JavaScript support for the FreeSWITCH open source telephony platform
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description spidermonkey
|
||||
|
||||
%package v8
|
||||
Summary: JavaScript support for the FreeSWITCH open source telephony platform, using Google V8 JavaScript engine
|
||||
Group: System/Libraries
|
||||
|
@ -1429,7 +1430,7 @@ FORMATS_MODULES+=" formats/mod_ssml"
|
|||
# Embedded Languages
|
||||
#
|
||||
######################################################################################################################
|
||||
LANGUAGES_MODULES="languages/mod_lua languages/mod_perl languages/mod_python languages/mod_spidermonkey "
|
||||
LANGUAGES_MODULES="languages/mod_lua languages/mod_perl languages/mod_python "
|
||||
#LANGUAGES_MODULES+="languages/mod_v8"
|
||||
|
||||
######################################################################################################################
|
||||
|
@ -2208,15 +2209,6 @@ fi
|
|||
%dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
|
||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/python.conf.xml
|
||||
|
||||
%files spidermonkey
|
||||
%{MODINSTDIR}/mod_spidermonkey*.so*
|
||||
%{LIBDIR}/libjs.so*
|
||||
%{LIBDIR}/libnspr4.so
|
||||
%{LIBDIR}/libplds4.so
|
||||
%{LIBDIR}/libplc4.so
|
||||
%dir %attr(0750, freeswitch, daemon) %{sysconfdir}/autoload_configs
|
||||
%config(noreplace) %attr(0640, freeswitch, daemon) %{sysconfdir}/autoload_configs/spidermonkey.conf.xml
|
||||
|
||||
%files v8
|
||||
#%{MODINSTDIR}/mod_v8*.so*
|
||||
#%{LIBDIR}/libv8.so
|
||||
|
@ -2346,6 +2338,8 @@ fi
|
|||
#
|
||||
######################################################################################################################
|
||||
%changelog
|
||||
* Fri Jun 02 2014 - krice@freeswitch.org
|
||||
- remove mod_spidermoney as its been deprecated
|
||||
* Fri Feb 21 2014 - crienzo@grasshopper.com
|
||||
- change file owner to root
|
||||
* Wed Feb 19 2014 - crienzo@grasshopper.com
|
||||
|
|
Loading…
Reference in New Issue