rpms/sems/devel sems.spec,1.7,1.8

Ján ONDREJ ondrejj at fedoraproject.org
Mon Aug 17 10:06:07 UTC 2009


Author: ondrejj

Update of /cvs/pkgs/rpms/sems/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9136

Modified Files:
	sems.spec 
Log Message:
Disabled g722 codec, can't compile with current spandsp.


Index: sems.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sems/devel/sems.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- sems.spec	27 Jul 2009 04:08:36 -0000	1.7
+++ sems.spec	17 Aug 2009 10:06:07 -0000	1.8
@@ -1,7 +1,7 @@
 Summary:	SIP Express Media Server, an extensible SIP media server
 Name:		sems
 Version:	1.1.1
-Release:	3%{?dist}
+Release:	4%{?dist}
 URL:		http://www.iptel.org/sems
 # wget http://ftp.iptel.org/pub/sems/sems-1.1.1.tar.gz
 # tar zx --exclude iLBC_rfc3951 -f sems-1.1.1.tar.gz
@@ -69,6 +69,7 @@ It is used from other modules with the D
 can execute DI functions to add a server connection, or send a
 DIAMETER request.
 
+%if 0%{?with_g722}
 %package	g722
 Summary:	G.722 support for SEMS
 Group:		Applications/Communications
@@ -76,6 +77,7 @@ Requires:	%{name} = %{version}-%{release
 
 %description	g722
 This is a wrapper around the g722 codec from the spandsp library.
+%endif
 
 %package	gateway
 Summary:	ISDN gateway for SEMS
@@ -170,7 +172,7 @@ mv ./apps/dsm/fsmc/readme.txt  ./apps/ds
 export CPPFLAGS="-D_REENTRANT -DSEMS_VERSION='\"%{version}\"' -DARCH='\"%{_arch}\"' -DOS='\"linux\"'  -DUSE_SPANDSP -D__STDC_LIMIT_MACROS -DUSE_LIBSAMPLERATE -Wall -Wno-reorder -fPIC -g"
 export CXXFLAGS="-Wno-reorder -fPIC $RPM_OPT_FLAGS"
 export CFLAGS="-Wno-reorder -fPIC $RPM_OPT_FLAGS"
-make %{?_smp_mflags} EXTRA_CXXFLAGS="$RPM_OPT_FLAGS" USE_SPANDSP="yes" USE_LIBSAMPLERATE="yes" TTS="y" exclude_modules="examples %{!?with_ilbc:ilbc} %{!?with_mp3:mp3}" all \
+make %{?_smp_mflags} EXTRA_CXXFLAGS="$RPM_OPT_FLAGS" USE_SPANDSP="yes" USE_LIBSAMPLERATE="yes" TTS="y" exclude_modules="examples %{!?with_ilbc:ilbc} %{!?with_mp3:mp3} %{!?with_g722:g722}" all \
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -454,10 +456,12 @@ fi
 %doc doc/Readme.diameter_client
 %{_libdir}/%{name}/plug-in/diameter_client.so
 
+%if 0%{?with_g722}  
 %files g722
 %defattr(-,root,root)
 %doc core/plug-in/g722/Readme.g722codec
 %{_libdir}/%{name}/plug-in/g722.so
+%endif
 
 %files gateway
 %defattr(-,root,root)
@@ -545,6 +549,9 @@ fi
 %{_libdir}/%{name}/plug-in/xmlrpc2di.so
 
 %changelog
+* Mon Aug 17 2009 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.1.1-4
+- g722 is a conditional build, until it will work with latest spandsp
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list