Summary: Instant messaging client for Windows Live Messenger (tm) network
Name: emesene
Version: 1.6
-Release: 0.16
+Release: 1
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
+
+# win32 only
+rm -f themes/*/trayicon.ico -v
# po/nb already exists, so just rm
rm -r po/nb_NO
%dir %{_libdir}/%{name}
%attr(755,root,root) %{_libdir}/%{name}/libmimic.so
%dir %{_datadir}/%{name}
+%attr(755,root,root) %{_datadir}/%{name}/emesene
%{_datadir}/%{name}/*.py[co]
%{_datadir}/%{name}/hotmlog.htm
%{_datadir}/%{name}/plugins_base