SPECS: openh323.spec - rel 8; fix openh323u.mak after build

arekm arekm at pld-linux.org
Thu Apr 19 23:43:58 CEST 2007


Author: arekm                        Date: Thu Apr 19 21:43:58 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 8; fix openh323u.mak after build

---- Files affected:
SPECS:
   openh323.spec (1.107 -> 1.108) 

---- Diffs:

================================================================
Index: SPECS/openh323.spec
diff -u SPECS/openh323.spec:1.107 SPECS/openh323.spec:1.108
--- SPECS/openh323.spec:1.107	Wed Apr 18 23:33:05 2007
+++ SPECS/openh323.spec	Thu Apr 19 23:43:52 2007
@@ -9,7 +9,7 @@
 Summary(pl.UTF-8):	Biblioteka OpenH323
 Name:		openh323
 Version:	1.18.0
-Release:	6
+Release:	8
 License:	MPL 1.0
 Group:		Libraries
 #Source0:	http://www.openh323.org/bin/%{name}_%{version}.tar.gz
@@ -89,6 +89,7 @@
 %patch5 -p1
 %if "%{_lib}" == "lib64"
 %patch6 -p1
+sed -i -e 's#/lib#/lib64#g' openh323u.mak.in
 %endif
 %patch7 -p1
 
@@ -124,7 +125,9 @@
 cp -d %{_lib}/lib*.a $RPM_BUILD_ROOT%{_libdir}
 install samples/simple/obj_*/simph323 $RPM_BUILD_ROOT%{_bindir}
 install version.h $RPM_BUILD_ROOT%{_includedir}/%{name}
-sed -i -e 's@\$(OPENH323DIR)/include@&/openh323@' $RPM_BUILD_ROOT%{_datadir}/openh323/openh323u.mak
+
+sed -i -e 's#OH323_INCDIR = .*#OH323_INCDIR = %{_includedir}/%{name}#g' $RPM_BUILD_ROOT%{_datadir}/%{name}/*.mak
+sed -i -e 's#OH323_LIBDIR = .*#OH323_LIBDIR = %{_libdir}#g' $RPM_BUILD_ROOT%{_datadir}/%{name}/*.mak
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -157,6 +160,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.108  2007/04/19 21:43:52  arekm
+- rel 8; fix openh323u.mak after build
+
 Revision 1.107  2007/04/18 21:33:05  arekm
 - rel 6; fix build with new llh
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openh323.spec?r1=1.107&r2=1.108&f=u



More information about the pld-cvs-commit mailing list