]> git.pld-linux.org Git - packages/emesene.git/blobdiff - emesene.spec
- BR: python-modules, rpm-pythonprov
[packages/emesene.git] / emesene.spec
index a7c27f3b1798d3eec89da28a02031d3c67ecb15e..41560ea8375efa841aaa022d92488d94f468f514 100644 (file)
@@ -1,16 +1,20 @@
 Summary:       Instant messaging client for Windows Live Messenger (tm) network
 Name:          emesene
-Version:       1.6
-Release:       0.15
+Version:       1.6.1
+Release:       1
 License:       GPL v2+
 Group:         Applications/Networking
 URL:           http://www.emesene.org/
 Source0:       http://downloads.sourceforge.net/project/emesene/%{name}-%{version}/emesene-%{version}.tar.gz
-# Source0-md5: ea4d3f4097265daac6823d8288979d02
+# Source0-md5: 31a78d479627855d740256fa18b3eeda
 Patch0:                %{name}-desktop.patch
 Patch1:                setup-install.patch
+Patch2:                plugins-pyc.patch
+Patch3:                pythonpath.patch
 BuildRequires: gettext
 BuildRequires: python-devel
+BuildRequires: python-modules
+BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
 Requires:      alsa-utils
 Requires:      gtk+2
@@ -40,6 +44,8 @@ picture.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 cat <<'EOF' > emesene.sh
 #!/bin/sh
@@ -48,6 +54,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
@@ -79,10 +90,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc COPYING
 %attr(755,root,root) %{_bindir}/emesene
 %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
This page took 0.055542 seconds and 4 git commands to generate.