SPECS: asterisk.spec - include rxtxfax app

hunter hunter at pld-linux.org
Fri Feb 17 14:52:18 CET 2006


Author: hunter                       Date: Fri Feb 17 13:52:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- include rxtxfax app

---- Files affected:
SPECS:
   asterisk.spec (1.67 -> 1.68) 

---- Diffs:

================================================================
Index: SPECS/asterisk.spec
diff -u SPECS/asterisk.spec:1.67 SPECS/asterisk.spec:1.68
--- SPECS/asterisk.spec:1.67	Sat Feb  4 22:40:07 2006
+++ SPECS/asterisk.spec	Fri Feb 17 14:52:13 2006
@@ -9,6 +9,9 @@
 #
 # Conditional build:
 %bcond_without	openh323	# without OpenH323 support
+%bcond_with		rxfax		# with rx (also tx :-D) fax
+
+%define _spandsp_version 0.0.2-pre25
 #
 Summary:	Asterisk PBX
 Summary(pl):	Centralka (PBX) Asterisk
@@ -35,6 +38,9 @@
 # will fit on clean cvs source
 #Patch1:		%{name}-DESTDIR.patch
 #Patch2:		%{name}-Makefile2.patch
+Source10:	http://soft-switch.org/downloads/spandsp/spandsp-%{_spandsp_version}/asterisk-1.2.x/app_txfax.c
+Source11:	http://soft-switch.org/downloads/spandsp/spandsp-%{_spandsp_version}/asterisk-1.2.x/app_rxfax.c
+Patch10:	http://soft-switch.org/downloads/spandsp/spandsp-%{_spandsp_version}/asterisk-1.2.x/apps_Makefile.patch
 URL:		http://www.asterisk.org/
 BuildRequires:	bison
 BuildRequires:	freetds >= 0.63
@@ -52,6 +58,7 @@
 BuildRequires:	unixODBC-devel
 BuildRequires:	zaptel-devel
 BuildRequires:	zlib-devel
+%{?with_rxfax:BuildRequires:	spandsp-devel-%{_spandsp_version}}
 #BuildRequires:	mpg123
 # These libraries are crazy...
 # With openh323 1.11.7 and pwlib 1.4.11 i had sig11
@@ -127,6 +134,13 @@
 %patch8 -p1
 #%patch9 -p1
 
+%if %{with rxfax}
+cd apps
+%patch10 -p1 
+cp %SOURCE10 .
+cp %SOURCE11 .
+%endif
+
 sed -i -e "s#/usr/lib/#/usr/%{_lib}/#g#" Makefile
 
 %build
@@ -254,6 +268,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.68  2006/02/17 13:52:13  hunter
+- include rxtxfax app
+
 Revision 1.67  2006/02/04 21:40:07  averne
 - updated to 1.2.4
 
================================================================

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



More information about the pld-cvs-commit mailing list