#
# Conditional build:
%bcond_without arts
-%bcond_without perl
+%bcond_with perl
%bcond_without esd
%bcond_without gtkspell
%bcond_without dbus
Summary(es): GNU Gadu 2 - charlar libremente
Summary(pl): GNU Gadu 2 - wolne gadanie
Name: gg2
-Version: 2.2.3
-Release: 2
+Version: 2.2.4
+Release: 1
Epoch: 3
License: GPL v2+
Group: Applications/Communications
Source0: http://osdn.dl.sourceforge.net/ggadu/%{name}-%{version}.tar.gz
-# Source0-md5: 5d38e161612307ea2a7a00f9453678e3
+# Source0-md5: 3f9c87ac78bb23b4cd07a4b6eb380cf8
URL: http://www.gnugadu.org/
Patch0: %{name}-desktop.patch
%{?with_arts:BuildRequires: artsc-devel}
Summary: Allow to communicate using D-BUS message bus
Summary(pl): Komunikacja za pomoc± magistrali D-BUS
Group: Applications/Communications
-Provides: %{name}-update = %{epoch}:%{version}-%{release}
-Obsoletes: %{name}-update
Requires: %{name} = %{epoch}:%{version}-%{release}
%description plugin-dbus
%description plugin-dbus -l pl
Wtyczka pozwala na komunikacjê za pomoc± magistrali D-BUS.
+%package plugin-auto-away
+Summary: Auto-Away Plugin
+Summary(pl): Wtyczka automatycznego stany zajêto¶ci
+Group: Applications/Communications
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-auto-away
+Auto-Away Plugin.
+
+%description plugin-auto-away -l pl
+Wtyczka automatycznego stany zajêto¶ci.
+
+%package plugin-ignore
+Summary: Allow to create list of ignored contacts
+Summary(pl): Wtyczka pozwalaj±ca stworzyæ listê kontaktów ignorowanych
+Group: Applications/Communications
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description plugin-ignore
+Allow to create list of ignored contacts.
+
+%description plugin-ignore -l pl
+Wtyczka pozwalaj±ca stworzyæ listê kontaktów ignorowanych.
+
%package themes
Summary: Themes for GNU Gadu 2 GUI
Summary(es): Temas para el GUI de GNU Gadu 2
--with-external \
--with-update \
--with-history-external-viewer \
+ --with-aaway \
+ --with-ignore \
--with-gghist \
--with%{!?with_gtkspell:out}-gtkspell \
--with%{!?with_dbus:out}-dbus \
- %{?with_dbus:--with-dbus-dir=%{_datadir}/dbus-1.0/services/} \
+ %{?with_dbus:--with-dbus-dir=%{_datadir}/dbus-1/services/} \
--%{?with_perl:with}%{!?with_perl:without}-perl \
--with-remote
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/gg2/libupdate_plugin.so
+%files plugin-auto-away
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gg2/libaaway_plugin.so
+
+%files plugin-ignore
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gg2/libignore_main_plugin.so
+
%if %{with dbus}
%files plugin-dbus
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/gg2/libdbus_plugin.so
-%{_datadir}/dbus-1.0/services/org.freedesktop.im.GG.service
+%{_datadir}/dbus-1/services/org.freedesktop.im.GG.service
%endif
%files themes