]> git.pld-linux.org Git - packages/asterisk.git/commitdiff
- add bristuff bcond; fix zhonehack bcond (was applied unconditionally)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 9 Feb 2008 13:19:29 +0000 (13:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    asterisk.spec -> 1.106

asterisk.spec

index b8aab00c727897bac0be34791644773f41de3f0b..fcec90f6ea3dedd30e3503d7d80e03160cb8c3fa 100644 (file)
@@ -11,6 +11,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
 #
@@ -43,6 +44,7 @@ Patch10:      %{name}-txfax-Makefile.patch
 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
@@ -66,6 +68,10 @@ BuildRequires:       zaptel-devel >= 1.2.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
@@ -144,11 +150,9 @@ cp %{SOURCE11} .
 
 %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
 
This page took 0.413712 seconds and 4 git commands to generate.