Author: arekm                        Date: Sat Feb  9 13:19:34 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add bristuff bcond; fix zhonehack bcond (was applied unconditionally)

---- Files affected:
SPECS:
   asterisk.spec (1.105 -> 1.106) 

---- Diffs:

================================================================
Index: SPECS/asterisk.spec
diff -u SPECS/asterisk.spec:1.105 SPECS/asterisk.spec:1.106
--- SPECS/asterisk.spec:1.105   Sat Feb  9 13:43:58 2008
+++ SPECS/asterisk.spec Sat Feb  9 14:19:29 2008
@@ -12,6 +12,7 @@
 %bcond_with    bluetooth               # without bluetooth support (NFT)
 %bcond_with    zhone                   # zhone hack
 %bcond_with    zhone_hack              # huge hack workarounding broken zhone 
channel banks
+%bcond_with    bristuff                # BRIstuff (Junghanns.NET BRI adapters) 
support
 #
 %define _spandsp_version 0.0.2pre26
 #
@@ -44,6 +45,7 @@
 Patch11:       %{name}-fix-ptlib.patch
 Patch12:       %{name}-chan_bluetooth.patch
 Patch13:       %{name}-zhone.patch
+Patch14:       %{name}-bristuff.patch
 URL:           http://www.asterisk.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -67,6 +69,10 @@
 BuildRequires: zlib-devel
 BuildRequires: openh323-devel
 BuildRequires: pwlib-devel
+%if %{with bristuff}
+BuildRequires: libpri-bristuff-devel >= 1.2.4
+Requires:      libpri-bristuff
+%endif
 Requires(post,preun):  /sbin/chkconfig
 Requires:      rc-scripts
 %requires_eq   openh323
@@ -145,11 +151,9 @@
 
 %patch11 -p1
 
-%if %{with bluetooth}
-%patch12 -p1
-%endif
-
-%patch13 -p1
+%{?with_bluetooth:%patch12 -p1}
+%{?with_zhonehack:%patch13 -p1}
+%{?with_bristuff:%patch14 -p1}
 
 sed -i -e "s#/usr/lib/#/usr/%{_lib}/#g#" Makefile
 
@@ -295,6 +299,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.106  2008-02-09 13:19:29  arekm
+- add bristuff bcond; fix zhonehack bcond (was applied unconditionally)
+
 Revision 1.105  2008-02-09 12:43:58  arekm
 - up to 1.4.17
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/asterisk.spec?r1=1.105&r2=1.106&f=u

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

Reply via email to