X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=emesene.spec;h=a7d917d1890e513fc87ee0e402c1f962f57198bf;hb=3b968522d230c7fbf4351012bcf6f09061c58d1f;hp=cb9c284c16079acac25494c6b883082bf97000f9;hpb=dbe16685b7d5a8a430c3e0280596a1784f042e76;p=packages%2Femesene.git diff --git a/emesene.spec b/emesene.spec index cb9c284..a7d917d 100644 --- a/emesene.spec +++ b/emesene.spec @@ -1,7 +1,7 @@ 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/ @@ -10,6 +10,7 @@ Source0: http://downloads.sourceforge.net/project/emesene/%{name}-%{version}/eme 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 @@ -42,6 +43,7 @@ picture. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 cat <<'EOF' > emesene.sh #!/bin/sh @@ -50,6 +52,11 @@ EOF # 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 @@ -86,6 +93,7 @@ rm -rf $RPM_BUILD_ROOT %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