X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gg2.spec;h=899c3f1fc18def842b18dde7bb2c842808bd2307;hb=34536057e86a3a99f9c636a5e8ad021fe898d2cb;hp=758ea1adc18e41c160a7561244ee02a36b04a80e;hpb=9c607e4e7de96c80be2a11fc63f452fa00ae8586;p=packages%2Fgg2.git diff --git a/gg2.spec b/gg2.spec index 758ea1a..899c3f1 100644 --- a/gg2.spec +++ b/gg2.spec @@ -4,19 +4,21 @@ %bcond_without perl %bcond_without esd %bcond_without gtkspell +%bcond_without dbus # Summary: GNU Gadu 2 - free talking Summary(es): GNU Gadu 2 - charlar libremente Summary(pl): GNU Gadu 2 - wolne gadanie Name: gg2 -Version: 2.0.6 -Release: 3 +Version: 2.2.3 +Release: 2 Epoch: 3 License: GPL v2+ Group: Applications/Communications Source0: http://osdn.dl.sourceforge.net/sourceforge/ggadu/%{name}-%{version}.tar.gz -# Source0-md5: ed977cb5bc00b37c9ceaece94f785b65 +# Source0-md5: 5d38e161612307ea2a7a00f9453678e3 URL: http://www.gnugadu.org/ +Patch0: %{name}-desktop.patch %{?with_arts:BuildRequires: artsc-devel} BuildRequires: autoconf BuildRequires: automake >= 1.7 @@ -26,14 +28,16 @@ BuildRequires: glib2-devel >= 2.2.0 BuildRequires: gtk+2-devel >= 2.4.0 BuildRequires: libtlen-devel BuildRequires: libtool -BuildRequires: loudmouth-devel >= 0.16-4 +BuildRequires: loudmouth-devel >= 0.17.1 BuildRequires: openssl-devel >= 0.9.7d +%{?with_dbus:BuildRequires: dbus-libs >= 0.22} %{?with_perl:BuildRequires: perl-devel} %{?with_gtkspell:BuildRequires: gtkspell-devel} %{?with_gtkspell:BuildRequires: aspell-devel} BuildRequires: pkgconfig BuildRequires: xosd-devel >= 2.0.0 Requires: gg2-ui +Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION') BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -314,7 +318,7 @@ Summary(pl): Dost Group: Applications/Communications Provides: %{name}-remote = %{epoch}:%{version}-%{release} Obsoletes: %{name}-remote -Provides: gg2-ui +#Provides: gg2-ui Requires: %{name} = %{epoch}:%{version}-%{release} %description plugin-remote @@ -359,6 +363,20 @@ Verifica si hay nuevas versiones de GNU Gadu. %description plugin-update -l pl Wtyczka sprawdzaj±ca, czy jest dostêpna nowsza wersja GNU Gadu. +%package plugin-dbus +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 +This plugin allows to communicate using D-BUS interface. + +%description plugin-dbus -l pl +Wtyczka pozwala na komunikacjê za pomoc± magistrali D-BUS. + %package themes Summary: Themes for GNU Gadu 2 GUI Summary(es): Temas para el GUI de GNU Gadu 2 @@ -378,6 +396,7 @@ Motywy graficzne dla GUI GNU Gadu 2. %prep %setup -q +%patch0 -p1 %build %{__gettextize} @@ -405,6 +424,8 @@ Motywy graficzne dla GUI GNU Gadu 2. --with-history-external-viewer \ --with-gghist \ --with%{!?with_gtkspell:out}-gtkspell \ + --with%{!?with_dbus:out}-dbus \ + %{?with_dbus:--with-dbus-dir=%{_datadir}/dbus-1.0/services/} \ --%{?with_perl:with}%{!?with_perl:without}-perl \ --with-remote @@ -519,6 +540,13 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/gg2/libupdate_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 +%endif + %files themes %defattr(644,root,root,755) %dir %{_datadir}/gg2/themes