Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
b17564e8
提交
b17564e8
authored
6月 25, 2015
作者:
Sergey Safarov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
FS-7705: mod_shout - dependency declaration added to SPEC file.
上级
b788523f
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
29 行增加
和
18 行删除
+29
-18
freeswitch.spec
freeswitch.spec
+29
-18
没有找到文件。
freeswitch.spec
浏览文件 @
b17564e8
...
...
@@ -37,6 +37,7 @@
%define build_mod_esl 0
%define build_mod_rayo 1
%define build_mod_ssml 1
%define build_mod_shout 0
%{?with_sang_tc:%define build_sng_tc 1 }
%{?with_sang_isdn:%define build_sng_isdn 1 }
...
...
@@ -44,6 +45,7 @@
%{?with_py26_esl:%define build_py26_esl 1 }
%{?with_timerfd:%define build_timerfd 1 }
%{?with_mod_esl:%define build_mod_esl 1 }
%{?with_mod_shout:%define build_mod_shout 1 }
%define version 1.7.0
%define release 1
...
...
@@ -115,14 +117,12 @@ Vendor: http://www.freeswitch.org/
#
######################################################################################################################
Source0: http://files.freeswitch.org/%{name}-%{version}.tar.bz2
Source1: http://files.freeswitch.org/downloads/libs/
lame-3.98.4.tar.gz
Source2: http://files.freeswitch.org/downloads/libs/m
pg123-1.13.2
.tar.gz
Source1: http://files.freeswitch.org/downloads/libs/
v8-3.24.14.tar.bz2
Source2: http://files.freeswitch.org/downloads/libs/m
ongo-c-driver-1.1.0
.tar.gz
Source3: http://files.freeswitch.org/downloads/libs/pocketsphinx-0.8.tar.gz
Source4: http://files.freeswitch.org/downloads/libs/sphinxbase-0.8.tar.gz
Source5: http://files.freeswitch.org/downloads/libs/communicator_semi_6000_20080321.tar.gz
Source6: http://files.freeswitch.org/downloads/libs/libmemcached-0.32.tar.gz
Source7: http://files.freeswitch.org/downloads/libs/v8-3.24.14.tar.bz2
Source8: http://files.freeswitch.org/downloads/libs/mongo-c-driver-1.1.0.tar.gz
Prefix: %{prefix}
...
...
@@ -147,7 +147,6 @@ BuildRequires: gnutls-devel
BuildRequires: libtool >= 1.5.17
BuildRequires: ncurses-devel
BuildRequires: openssl-devel >= 1.0.1e
#BuildRequires: libshout-devel
BuildRequires: pcre-devel
BuildRequires: speex-devel
BuildRequires: sqlite-devel
...
...
@@ -1125,14 +1124,22 @@ Mod shell stream is a FreeSWITCH module to allow you to stream audio from an
arbitrary shell command. You could use it to read audio from a database, from
a soundcard, etc.
#%package format-mod-shout
#Summary: Implements Media Steaming from arbitrary shell commands for the FreeSWITCH open source telephony platform
#Group: System/Libraries
#Requires: %{name} = %{version}-%{release}
#%description format-mod-shout
#Mod Shout is a FreeSWITCH module to allow you to stream audio from MP3s or a i
#shoutcast stream.
%if %{build_mod_shout}
%package format-mod-shout
Summary: Implements Media Steaming from arbitrary shell commands for the FreeSWITCH open source telephony platform
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libshout >= 2.3.1
Requires: libmpg123 >= 1.20.1
Requires: lame
BuildRequires: libshout-devel >= 2.3.1
BuildRequires: libmpg123-devel >= 1.20.1
BuildRequires: lame-devel
%description format-mod-shout
Mod Shout is a FreeSWITCH module to allow you to stream audio from MP3s or a i
shoutcast stream.
%endif
%if %{build_mod_ssml}
%package format-ssml
...
...
@@ -1379,8 +1386,6 @@ cp %{SOURCE3} libs/
cp %{SOURCE4} libs/
cp %{SOURCE5} libs/
cp %{SOURCE6} libs/
cp %{SOURCE7} libs/
cp %{SOURCE8} libs/
#Hotfix for redefined %_sysconfdir
sed -ie 's:confdir="${sysconfdir}/freeswitch":confdir="$sysconfdir":' ./configure.ac
...
...
@@ -1499,7 +1504,9 @@ EVENT_HANDLERS_MODULES+=" event_handlers/mod_rayo"
######################################################################################################################
FORMATS_MODULES="formats/mod_local_stream formats/mod_native_file formats/mod_portaudio_stream \
formats/mod_shell_stream formats/mod_sndfile formats/mod_tone_stream"
# DISABLED formats/mod_shout
%if %{build_mod_shout}
FORMATS_MODULES+=" formats/mod_shout "
%endif
%if %{build_mod_ssml}
FORMATS_MODULES+=" formats/mod_ssml"
%endif
...
...
@@ -2286,8 +2293,10 @@ fi
%files format-shell-stream
%{MODINSTDIR}/mod_shell_stream.so*
#%files format-mod-shout
#%{MODINSTDIR}/mod_shout.so*
%if %{build_mod_shout}
%files format-mod-shout
%{MODINSTDIR}/mod_shout.so*
%endif
%if %{build_mod_ssml}
%files format-ssml
...
...
@@ -2459,6 +2468,8 @@ fi
#
######################################################################################################################
%changelog
* Thu Jun 25 2015 - s.safarov@gmail.com
- Dependencies of mod_shout were declared
* Mon Jun 22 2015 - krice@freeswitch.org
- disable mod_shout until we can figure out the correct system deps for RPM based platforms
* Wed Jun 17 2015 - krice@freeswitch.org
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论