[amsn/f17] We do actually move libs around, so add proper fix for that

Sander Hoentjen tjikkun at fedoraproject.org
Tue Jul 3 19:48:18 UTC 2012


commit eaae142ebb3c998b5ae8cef1d9ca1e160b997c3f
Author: Sander Hoentjen <sander at hoentjen.eu>
Date:   Tue Jul 3 21:48:02 2012 +0200

    We do actually move libs around, so add proper fix for that

 amsn.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/amsn.spec b/amsn.spec
index baf2dd2..55e075b 100644
--- a/amsn.spec
+++ b/amsn.spec
@@ -3,7 +3,7 @@
 
 Name:		amsn
 Version:	0.98.9
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	MSN Messenger clone for Linux, Mac and Windows
 
 Group:		Applications/Internet
@@ -55,6 +55,10 @@ rm -r skins/default/winicons
 rm -r plugins/music/MusicWin
 rm plugins/amsnplus/snapshot
 
+# for webcam to work these paths need to be added because we move libs around
+%{__sed} -i 's#\.\./libng/plugins#%{_libdir}/%{name}/utils/capture/libng/plugins#' utils/linux/capture/libng/grab-ng.c
+%{__sed} -i 's#\.\./libng/contrib-plugins#%{_libdir}/%{name}/utils/capture/libng/contrib-plugins#' utils/linux/capture/libng/grab-ng.c
+
 %{__sed} -i 's# utils/BWidget-1.9.0##' Makefile.in
 %{__sed} -i 's#soundcommand "play \\$sound"#soundcommand "aplay -q \\$sound"#' config.tcl
 %{__sed} -i 's#set program_dir \[file dirname \[info script\]\]#set program_dir "%{_datadir}/amsn/"#' amsn amsn-remote amsn-remote-CLI
@@ -130,6 +134,9 @@ fi
 
 
 %changelog
+* Tue Jul 03 2012 Sander Hoentjen <sander at hoentjen.eu> 0.98.9-2
+- We do actually move libs around, so add proper fix for that
+
 * Tue Jul 03 2012 Sander Hoentjen <sander at hoentjen.eu> 0.98.9-1
 - We don't actually move libs around anymore, so drop fix for that
 


More information about the scm-commits mailing list