Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
asterisk
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 21
[-]
[+]
Changed
asterisk.spec
@@ -4,7 +4,7 @@ # # norootforbuild - +%define build_h323 1 Name: asterisk BuildRequires: alsa-devel curl-devel expat gcc-c++ libgsm-devel libgsm1 libpri libtiff-devel postgresql-devel spandsp speex-devel unixODBC-devel wget BuildRequires: libpri >= 1.4.1 @@ -27,6 +27,13 @@ Buildrequires: iksemel unixODBC termcap iksemel-devel Buildrequires: postgresql-devel postgresql-server +%if %build_h323 == 1 +BuildRequires: cyrus-sasl-devel +BuildRequires: openh323-devel +BuildRequires: openldap-devel +BuildRequires: SDL-devel +%endif + Requires: newt ncurses postgresql-libs speex openldap2 postgresql-devel libgsm1 @@ -35,7 +42,6 @@ %endif URL: http://www.asterisk.org -%define build_h323 1 Summary: The Asterisk Open Source PBX Version: 1.4.19 Release: 1 @@ -72,13 +78,6 @@ -------- Mark Spencer <markster@digium.com> -%if %build_h323 -BuildRequires: cyrus-sasl-devel -BuildRequires: openh323-devel -BuildRequires: openldap-devel -BuildRequires: SDL-devel -%endif - #%debug_package %package alsa Summary: Soundcard Module for Asterisk @@ -95,7 +94,7 @@ -------- Mark Spencer <markster@digium.com> -%if %build_h323 +%if %build_h323 == 1 %package h323 Summary: Voice over IP Module for Asterisk Group: Productivity/Telephony/Servers @@ -194,7 +193,7 @@ %prep %setup -n asterisk-%{version} -a 1 echo -e "\n" | contrib/scripts/get_ilbc_source.sh -%if %build_h323 +%if %build_h323 == 1 %patch0 -p1 -b .h323rpm #%patch1 -p1 -b .h323moduleinfo %patch2 -p1 -b .guiconf @@ -294,7 +293,7 @@ %defattr(-,root,root,-) %{_libdir}/asterisk/modules/*alsa* %config(noreplace)%attr(640,asterisk,root)/etc/asterisk/alsa.conf -%if %build_h323 +%if %build_h323 == 1 %files h323 %defattr(-,root,root,-)