Summary: Instant messaging client for Windows Live Messenger (tm) network
Name: emesene
Version: 1.6
-Release: 0.16
+Release: 0.17
License: GPL v2+
Group: Applications/Networking
URL: http://www.emesene.org/
Patch0: %{name}-desktop.patch
Patch1: setup-install.patch
Patch2: plugins-pyc.patch
+Patch3: pythonpath.patch
BuildRequires: gettext
BuildRequires: python-devel
BuildRequires: rpmbuild(macros) >= 1.219
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
cat <<'EOF' > emesene.sh
#!/bin/sh
# fix #!%{_bindir}/env python -> #!%{__python}:
%{__sed} -i -e '1s,^#!.*python,#!%{__python},' emesene Controller.py
+# lib64 path
+%{__sed} -i -e 's,/usr/lib/emesene,%{_libdir}/%{name},' emesene
# po/nb already exists, so just rm
rm -r po/nb_NO
--- /dev/null
+--- emesene-1.5/emesene.pythonpath 2009-08-25 10:09:10.052277308 -0300
++++ emesene-1.5/emesene 2009-08-25 10:09:54.330009511 -0300
+@@ -17,6 +17,9 @@
+ # along with emesene; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
++import os, sys
++sys.path.append('/usr/lib/emesene')
++
+ try:
+ # Change the process name.
+ import ctypes