packages: emesene/emesene.spec - toolkit based subpackages
glen
glen at pld-linux.org
Mon Nov 28 13:36:28 CET 2011
Author: glen Date: Mon Nov 28 12:36:28 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- toolkit based subpackages
---- Files affected:
packages/emesene:
emesene.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: packages/emesene/emesene.spec
diff -u packages/emesene/emesene.spec:1.20 packages/emesene/emesene.spec:1.21
--- packages/emesene/emesene.spec:1.20 Mon Nov 28 12:58:08 2011
+++ packages/emesene/emesene.spec Mon Nov 28 13:36:23 2011
@@ -2,7 +2,7 @@
Summary: Instant messaging client for Windows Live Messenger (tm) network
Name: emesene
Version: 2.11.11
-Release: 0.1
+Release: 0.2
License: GPL v3 (emesene), GPL v2 (themes), LGPL (the rest)
Group: Applications/Networking
URL: http://www.emesene.org/
@@ -17,14 +17,13 @@
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.553
Requires: alsa-utils
-Requires: gtk+2
Requires: python
Requires: python
Requires: python-dbus
Requires: python-gnome-extras
+Requires: %{name}-gui = %{version}-%{release}
Requires: python-papyon >= 0.5.5
Requires: python-pydns
-Requires: python-pygtk-gtk
Requires: python-pynotify
Requires: python-xmpppy
Suggests: python-gnome-extras-gtkspell
@@ -44,6 +43,27 @@
normal MSN client except, file transfers, custom emoticons and display
picture.
+%package gtk2
+Summary: emesene GTK interface for emesene client
+Group: Applications/Networking
+Requires: %{name} = %{version}-%{release}
+Requires: gtk+2
+Requires: python-pygtk-gtk >= 2:2.12
+Provides: emesene-gui = %{version}-%{release}
+
+%description gtk2
+This contains the GTK interface for emesene.
+
+%package qt4
+Summary: emesene Qt4 interface for emesene client
+Group: Applications/Networking
+Requires: %{name} = %{version}-%{release}
+Requires: python-PyQt4 >= 4.6
+Provides: emesene-gui = %{version}-%{release}
+
+%description qt4
+This contains the Qt4 interface for emesene.
+
%prep
%setup -qc
mv *-emesene-*/* .
@@ -57,6 +77,9 @@
emesene/SingleInstance.py emesene/debugger.py emesene/emesene.py \
emesene/pluginmanager.py emesene/plugin_base.py
+# skip debug provider
+%{__sed} -i -e '/import e3dummy/d' emesene/emesene.py
+
# cleanup backups after patching
find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
@@ -97,9 +120,9 @@
# duplicates
%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/data/pixmaps
-%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/data/icons/hicolor/*/apps/emesene.png
-%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/data/icons/hicolor/scalable/apps/emesene.svg
-%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/data/share/applications/emesene.desktop
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/data/icons/hicolor/*/apps/%{name}.png
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/data/icons/hicolor/scalable/apps/%{name}.svg
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/%{name}/data/share/applications/%{name}.desktop
# TODO: relocate
%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/po
@@ -113,10 +136,10 @@
%files
%defattr(644,root,root,755)
%doc CONTRIBUTORS COPYING README.developers README.markdown
-%attr(755,root,root) %{_bindir}/emesene
+%attr(755,root,root) %{_bindir}/%{name}
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/data
-%{_datadir}/%{name}/emesene
+%attr(755,root,root) %{_datadir}/%{name}/%{name}
%{_datadir}/%{name}/*.py[co]
%{_datadir}/%{name}/data/hotmlog.htm
@@ -131,7 +154,11 @@
%{_datadir}/%{name}/e3/jabber
%{_datadir}/%{name}/e3/synch
-%{_datadir}/%{name}/gui
+%dir %{_datadir}/%{name}/gui
+%{_datadir}/%{name}/gui/*.py[co]
+%{_datadir}/%{name}/gui/base
+%{_datadir}/%{name}/gui/common
+
%{_datadir}/%{name}/interfaces
%{_datadir}/%{name}/plugins
@@ -141,11 +168,19 @@
%{_datadir}/%{name}/themes/images
%{_datadir}/%{name}/themes/sounds
-%{_mandir}/man1/emesene.1*
-%{_desktopdir}/emesene.desktop
-%{_pixmapsdir}/emesene.png
-%{_pixmapsdir}/emesene.xpm
-%{_iconsdir}/hicolor/*/apps/emesene.png
+%{_mandir}/man1/%{name}.1*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+%{_pixmapsdir}/%{name}.xpm
+%{_iconsdir}/hicolor/*/apps/%{name}.png
+
+%files gtk2
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/gui/gtkui
+
+%files qt4
+%defattr(644,root,root,755)
+%{_datadir}/%{name}/gui/qt4ui
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -153,6 +188,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2011/11/28 12:36:23 glen
+- toolkit based subpackages
+
Revision 1.20 2011/11/28 11:58:08 glen
- update to 2.11.11
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/emesene/emesene.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list