Author: aredridel                    Date: Wed Dec  8 19:28:45 2010 GMT
Module: packages                      Tag: ASTERISK_1_4
---- Log message:
- add bcond for h323 again

---- Files affected:
packages/asterisk:
   asterisk.spec (1.126.2.13 -> 1.126.2.14) 

---- Diffs:

================================================================
Index: packages/asterisk/asterisk.spec
diff -u packages/asterisk/asterisk.spec:1.126.2.13 
packages/asterisk/asterisk.spec:1.126.2.14
--- packages/asterisk/asterisk.spec:1.126.2.13  Tue Aug  3 14:06:14 2010
+++ packages/asterisk/asterisk.spec     Wed Dec  8 20:28:39 2010
@@ -10,6 +10,7 @@
 # Conditional build:
 %bcond_with    rxfax           # without rx (also tx :-D) fax
 %bcond_with    bluetooth       # without bluetooth support (NFT)
+%bcond_without h323            # With H.323 support
 %bcond_with    zhone           # zhone hack
 %bcond_with    zhone_hack      # huge hack workarounding broken zhone channel 
banks which start randomly
                                # issuing pulse-dialled calls to weird numbers
@@ -72,8 +73,10 @@
 BuildRequires: unixODBC-devel
 BuildRequires: zaptel-devel >= 1.2.10
 BuildRequires: zlib-devel
+%if %{with h323}
 BuildRequires: openh323-devel
 BuildRequires: pwlib-devel
+%endif
 %if %{with bristuff}
 BuildRequires: libgsmat-devel
 BuildRequires: libpri-bristuff-devel >= 1.2.4
@@ -82,8 +85,10 @@
 %endif
 Requires(post,preun):  /sbin/chkconfig
 Requires:      rc-scripts
+%if %{with h323}
 %requires_eq   openh323
 %requires_eq   pwlib
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -180,13 +185,17 @@
 %{__autoheader}
 %{__autoconf}
 
+%if %{with h323}
 CPPFLAGS="-I/usr/include/openh323"; export CPPFLAGS
+%endif
 %configure \
        --with-zaptel=%{_prefix} \
        --without-dahdi \
+       %{!?with_h323:--without-h323} \
        %{?with_bristuff:--with-gsmat=%{_prefix}} \
        --with-imap="`pwd`"/imap
 
+
 # safe checks
 %{?with_bristuff:grep '^#define HAVE_GSMAT 1' include/asterisk/autoconfig.h || 
exit 1}
 
@@ -325,6 +334,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.126.2.14  2010/12/08 19:28:39  aredridel
+- add bcond for h323 again
+
 Revision 1.126.2.13  2010/08/03 12:06:14  dzeus
 - up to 1.4.34
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/asterisk/asterisk.spec?r1=1.126.2.13&r2=1.126.2.14&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to