packages: openh323/openh323.spec - disable -losptk

glen glen at pld-linux.org
Wed Dec 30 18:28:31 CET 2009


Author: glen                         Date: Wed Dec 30 17:28:31 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- disable -losptk

---- Files affected:
packages/openh323:
   openh323.spec (1.112 -> 1.113) 

---- Diffs:

================================================================
Index: packages/openh323/openh323.spec
diff -u packages/openh323/openh323.spec:1.112 packages/openh323/openh323.spec:1.113
--- packages/openh323/openh323.spec:1.112	Wed Dec 30 18:16:00 2009
+++ packages/openh323/openh323.spec	Wed Dec 30 18:28:26 2009
@@ -1,16 +1,22 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	transnexusosp	# support for the Transnexus OSP toolkit (huge static lib)
+
 # TODO:
 # - separate plugins to subpackages
 # - gsm-amr plugin (using system amrnb if possible)
 # - use system libilbc or at least use optflags for plugins/audio/iLBC
-# - links with -losptk but no BR
+# - configure: Skipping tests for RFC 2190 H.263 support
+# - configure: Disabled non-RFC2190 H.263 using ffmpeg
+# - configure: Disabled H.263 using VIC
 
 %define		fver	%(echo %{version} | tr . _)
 Summary:	OpenH323 Library
 Summary(pl.UTF-8):	Biblioteka OpenH323
 Name:		openh323
 Version:	1.19.0.1
-Release:	0.1
+Release:	0.2
 License:	MPL 1.0
 Group:		Libraries
 Source0:	http://www.voxgratia.org/releases/%{name}-v%{fver}-src-tar.gz
@@ -33,6 +39,7 @@
 BuildRequires:	libstdc++-devel
 BuildRequires:	lpc10-devel >= 1.5
 BuildRequires:	pwlib-devel >= 1.10.0
+%{?with_transnexusosp:BuildRequires:	OSPToolkit}
 BuildRequires:	sed >= 4.0
 BuildRequires:	speex-devel >= 1:1.1.5
 Requires:	speex >= 1:1.1.5
@@ -101,6 +108,7 @@
 %{__autoconf}
 %configure \
 	--enable-localspeex=no \
+	%{!?with_transnexusosp:--disable-transnexusosp} \
 	--enable-plugins
 
 %{__make} %{?debug:debug}%{!?debug:opt}shared apps \
@@ -118,7 +126,7 @@
 
 # using cp as install won't preserve links
 cp -pd %{_lib}/lib*.a $RPM_BUILD_ROOT%{_libdir}
-cp -a samples/simple/obj_*/simph323 $RPM_BUILD_ROOT%{_bindir}
+install -p samples/simple/obj_*/simph323 $RPM_BUILD_ROOT%{_bindir}
 cp -a version.h $RPM_BUILD_ROOT%{_includedir}/%{name}
 
 sed -i -e 's#OH323_INCDIR = .*#OH323_INCDIR = %{_includedir}/%{name}#g' $RPM_BUILD_ROOT%{_datadir}/%{name}/*.mak
@@ -155,6 +163,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.113  2009/12/30 17:28:26  glen
+- disable -losptk
+
 Revision 1.112  2009/12/30 17:16:00  glen
 - up to 1.19.0.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openh323/openh323.spec?r1=1.112&r2=1.113&f=u



More information about the pld-cvs-commit mailing list