SPECS: asterisk.spec - add initial t30 stub work, NFY

aredridel aredridel at pld-linux.org
Tue Sep 20 20:23:47 CEST 2005


Author: aredridel                    Date: Tue Sep 20 18:23:47 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add initial t30 stub work, NFY

---- Files affected:
SPECS:
   asterisk.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: SPECS/asterisk.spec
diff -u SPECS/asterisk.spec:1.54 SPECS/asterisk.spec:1.55
--- SPECS/asterisk.spec:1.54	Sat Jul  2 10:22:07 2005
+++ SPECS/asterisk.spec	Tue Sep 20 20:23:22 2005
@@ -9,6 +9,7 @@
 #
 # Conditional build:
 %bcond_without	openh323	# without OpenH323 support
+%bcond_with			t30				# without T30 support
 #
 Summary:	Asterisk PBX
 Summary(pl):	Centralka (PBX) Asterisk
@@ -21,6 +22,7 @@
 # Source0-md5:	0d7f1c680ae53a739f26a069ef8b580a
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
+Source3:	asterisk-t30.tar.gz
 Patch0:		%{name}-openh323-makefile.patch
 Patch1:		%{name}-Makefile_fix_gcc33.patch
 Patch2:		%{name}-no_k6_on_sparc.patch
@@ -28,6 +30,7 @@
 Patch4:		%{name}-openh323-formats.patch
 Patch5:		%{name}-openh323-rtti.patch
 Patch6:		%{name}-freetds.patch
+Patch7:		%{name}-t30.patch
 # It's included, but these sources are broken by me :)
 # will fit on clean cvs source
 #Patch1:		%{name}-DESTDIR.patch
@@ -44,6 +47,8 @@
 BuildRequires:	openssl-devel >= 0.9.7d
 BuildRequires:	sed >= 4.0
 BuildRequires:	speex-devel
+%{?with_t30:BuildRequires:	spandsp-devel >= 0.0.3-0.pre1.1}
+BuildRequires:	unixODBC-devel
 BuildRequires:	zaptel-devel
 BuildRequires:	zlib-devel
 #BuildRequires:	mpg123
@@ -116,6 +121,9 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%if %{with t30}
+%patch7 -p1
+%endif
 
 sed -i -e "s#/usr/lib/#/usr/%{_lib}/#g#" Makefile
 
@@ -238,6 +246,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2005/09/20 18:23:22  aredridel
+- add initial t30 stub work, NFY
+
 Revision 1.54  2005/07/02 08:22:07  domelu
 - up to 1.0.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/asterisk.spec?r1=1.54&r2=1.55&f=u




More information about the pld-cvs-commit mailing list