|
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%define V_opensips 1.6.2 |
|
|
|
|
%define V_opensips 1.6.3 |
|
|
|
|
%define V_rtpproxy 1.2.1 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
@ -36,7 +36,7 @@ Class: PLUS
|
|
|
|
|
Group: VoIP |
|
|
|
|
License: GPL |
|
|
|
|
Version: %{V_opensips} |
|
|
|
|
Release: 20100312 |
|
|
|
|
Release: 20100803 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_fsl yes |
|
|
|
|
@ -54,6 +54,8 @@ Patch0: opensips.patch
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc, flex, bison, sed |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20100101 |
|
|
|
|
BuildPreReq: pcre |
|
|
|
|
PreReq: pcre |
|
|
|
|
%if "%{with_fsl}" == "yes" |
|
|
|
|
BuildPreReq: fsl |
|
|
|
|
PreReq: fsl |
|
|
|
|
@ -93,7 +95,7 @@ PreReq: openssl
|
|
|
|
|
%build |
|
|
|
|
# build dependencies |
|
|
|
|
%{l_make} %{l_mflags} \ |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
CC="%{l_cc} %{l_cflags} %{l_cppflags}" \ |
|
|
|
|
%if "%{with_ssl}" == "yes" |
|
|
|
|
TLS=1 \ |
|
|
|
|
%endif |
|
|
|
|
@ -102,7 +104,7 @@ PreReq: openssl
|
|
|
|
|
|
|
|
|
|
# build program |
|
|
|
|
%{l_make} %{l_mflags} \ |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
CC="%{l_cc} %{l_cflags} %{l_cppflags}" \ |
|
|
|
|
%if "%{with_ssl}" == "yes" |
|
|
|
|
TLS=1 \ |
|
|
|
|
%endif |
|
|
|
|
@ -110,7 +112,7 @@ PreReq: openssl
|
|
|
|
|
|
|
|
|
|
# build modules |
|
|
|
|
%{l_make} %{l_mflags} \ |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
CC="%{l_cc} %{l_cflags} %{l_cppflags}" \ |
|
|
|
|
%if "%{with_ssl}" == "yes" |
|
|
|
|
TLS=1 \ |
|
|
|
|
%endif |
|
|
|
|
|