X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gg2.spec;h=899c3f1fc18def842b18dde7bb2c842808bd2307;hb=34536057e86a3a99f9c636a5e8ad021fe898d2cb;hp=6bfc0e009de705641a946df60f7591e824890c1c;hpb=b81de2ef9eaee5de91d673f0e7fc2670f8cc2355;p=packages%2Fgg2.git diff --git a/gg2.spec b/gg2.spec index 6bfc0e0..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 @@ -323,14 +327,12 @@ Make possible exchange data with other applications. %description plugin-remote -l es Permite intercambiar los datos con otras aplicaciones. - %description plugin-remote -l pl Wtyczka umo¿liwiaj±ca wymianê informacji z innymi aplikacjami. - %package plugin-history-external Summary: Allow to view GNU Gadu chat history -Summary(pl): Pozwala przegl±daæ historiê rozmów GNU Gadu. +Summary(pl): Przegl±danie historii rozmów GNU Gadu Group: Applications/Communications Provides: %{name}-history-external = %{epoch}:%{version}-%{release} Obsoletes: %{name}-history-external @@ -338,15 +340,15 @@ Requires: gtk+2 Requires: %{name} = %{epoch}:%{version}-%{release} %description plugin-history-external -Allow to view GNU Gadu chat history +Allow to view GNU Gadu chat history. %description plugin-history-external -l pl -Pozwala przegl±daæ historiê rozmów GNU Gadu. +Wtyczka pozwalaj±ca przegl±daæ historiê rozmów GNU Gadu. %package plugin-update Summary: Check for new GNU Gadu newer version Summary(es): Verifica si hay versiones nuevas de GNU Gadu -Summary(pl): Sprawdza czy jest dostêpna nowsza wersja GNU Gadu +Summary(pl): Sprawdzanie dostêpno¶ci nowszej wersji GNU Gadu Group: Applications/Communications Provides: %{name}-update = %{epoch}:%{version}-%{release} Obsoletes: %{name}-update @@ -359,7 +361,21 @@ Check for new GNU Gadu newer version. Verifica si hay nuevas versiones de GNU Gadu. %description plugin-update -l pl -Sprawdza czy jest dostêpna nowsza wersja GNU Gadu +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 @@ -380,9 +396,9 @@ Motywy graficzne dla GUI GNU Gadu 2. %prep %setup -q +%patch0 -p1 %build -rm -f missing %{__gettextize} %{__libtoolize} %{__aclocal} -I src/plugins/gadu_gadu/libgadu/m4 @@ -408,6 +424,8 @@ rm -f missing --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 @@ -522,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