-Summary: Very easy to use GNOME Telepathy client
+Summary: High-level library and user-interface for Telepathy
Summary(pl.UTF-8): Bardzo łatwy w użyciu klient Telepathy dla GNOME
Name: empathy
-Version: 2.32.0
+Version: 3.2.0
Release: 1
-License: GPL v2
+License: GPL v2+
Group: Applications/Communications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/2.32/%{name}-%{version}.tar.bz2
-# Source0-md5: 491ad04843938951afa5e34a3e238aca
-Patch0: configure.patch
+Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/3.2/%{name}-%{version}.tar.xz
+# Source0-md5: 316ad43c85f6bbe915cf3b013d4d9e9a
URL: http://live.gnome.org/Empathy
-BuildRequires: GConf2-devel >= 2.26.0
-BuildRequires: NetworkManager-devel >= 0.7
+BuildRequires: NetworkManager-devel >= 0.7.0
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.9
-#BuildRequires: check >= 0.9.4
-#BuildRequires: clutter-gtk-devel >= 0.10.0
+BuildRequires: clutter-devel >= 1.7.14
+BuildRequires: clutter-gtk-devel >= 0.90.3
BuildRequires: dbus-glib-devel >= 0.74
-#BuildRequires: docbook-dtd412-xml
+BuildRequires: docbook-dtd412-xml
BuildRequires: enchant-devel >= 1.2.0
-BuildRequires: evolution-data-server-devel >= 2.24.0
+BuildRequires: evolution-data-server-devel >= 3.1.90
BuildRequires: farsight2-devel
-BuildRequires: folks-devel
+BuildRequires: folks-devel >= 0.6.2
BuildRequires: geoclue-devel >= 0.11
BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.28.0
BuildRequires: gnome-common >= 2.24.0
BuildRequires: gnome-doc-utils >= 0.18.0
-#BuildRequires: gnome-panel-devel >= 2.24.0
+BuildRequires: gnome-keyring-devel >= 2.91.4
+BuildRequires: gnome-online-accounts-devel
+BuildRequires: gnutls-devel >= 2.8.5
+BuildRequires: gsettings-desktop-schemas-devel
BuildRequires: gstreamer-devel
BuildRequires: gstreamer-plugins-base-devel
-BuildRequires: gtk+2-devel >= 2:2.18.0
-#BuildRequires: gtk-doc >= 1.3
-BuildRequires: gtk-webkit-devel >= 1.1.7
+BuildRequires: gtk+3-devel >= 3.0.2
+BuildRequires: gtk-webkit3-devel >= 1.3.2
BuildRequires: intltool >= 0.40.0
BuildRequires: iso-codes >= 0.35
-BuildRequires: libcanberra-gtk-devel >= 0.4
-BuildRequires: libchamplain-devel >= 0.4
-BuildRequires: libgnome-keyring-devel
-BuildRequires: libnotify-devel >= 0.4.4
+BuildRequires: libcanberra-gtk3-devel >= 0.25
+BuildRequires: libchamplain-devel >= 0.12.0
+BuildRequires: libgnome-keyring-devel >= 2.26.0
+BuildRequires: libnotify-devel >= 0.7.0
BuildRequires: libtool
-BuildRequires: libunique-devel
BuildRequires: libxml2-devel >= 1:2.6.28
-BuildRequires: nautilus-sendto-devel >= 2.31.7
+BuildRequires: libxslt-progs
+BuildRequires: nautilus-sendto-devel >= 2.91.6
BuildRequires: pkgconfig
+BuildRequires: python >= 2.3
+BuildRequires: python-modules >= 2.3
BuildRequires: rpmbuild(find_lang) >= 1.23
-BuildRequires: rpmbuild(macros) >= 1.311
-BuildRequires: sed >= 4.0
-BuildRequires: telepathy-farsight-devel
-BuildRequires: telepathy-glib-devel >= 0.9.2
-BuildRequires: telepathy-logger-devel >= 0.1.5
-Requires(post,postun): glib2 >= 1:2.25.11
-Requires(post,postun): gtk+2 >= 2:2.12.0
+BuildRequires: rpmbuild(macros) >= 1.592
+BuildRequires: telepathy-farsight-devel >= 0.0.14
+BuildRequires: telepathy-farstream-devel
+BuildRequires: telepathy-glib-devel >= 0.15.3
+BuildRequires: telepathy-logger-devel >= 0.2.10-2
+Requires(post,postun): glib2 >= 1:2.26.0
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme
+Requires: telepathy-logger >= 0.1.5
Requires: telepathy-mission-control
Suggests: telepathy-butterfly
Suggests: telepathy-gabble
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Empathy aims at making Instant Messaging with Jabber as easy as
-possible.
+Instant messaging program supporting text, voice, video, file
+transfers and inter-application communication over many different
+protocols, including: AIM, MSN, Google Talk (Jabber/XMPP), Facebook,
+Yahoo!, Salut, Gadu-Gadu, Groupwise, ICQ and QQ. (Supported protocols
+depend on installed components.)
%description -l pl.UTF-8
Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym
%package -n nautilus-sendto-empathy
Summary: Empathy support for sending files in Nautilus
-Summary(pl.UTF-8): Wsparcie Empathy przy wysyłaniu plików z Nautilusa
+Summary(pl.UTF-8): Obsługa Empathy przy wysyłaniu plików z Nautilusa
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
-Requires: nautilus-sendto >= 2.28.1
+Requires: nautilus-sendto >= 2.91.6
%description -n nautilus-sendto-empathy
-Enables sending files from Nautilus to your Empathy contacts.
+This plugin enables sending files from Nautilus to your Empathy
+contacts.
%description -n nautilus-sendto-empathy -l pl.UTF-8
-Pozwala na przesyłanie z Nautilusa plików do kontaktów Empathy.
+Ta wtyczka pozwala na przesyłanie z poziomu Nautilusa plików do
+kontaktów Empathy.
%prep
%setup -q
-%patch0 -p1
-
-rm po/en@shaw.po
-sed -i 's/^en@shaw//' po/LINGUAS
%build
%{__intltoolize}
%{__autoconf}
%{__autoheader}
%{__automake}
+# missing geocode-glib in pld
%configure \
--with-connectivity=nm \
- --disable-schemas-install \
+ --with-cheese \
+ --with-eds \
--disable-silent-rules \
--disable-static \
- --enable-favourite-contacts \
+ --disable-control-center-embedding \
+ --disable-geocode \
+ --enable-call \
+ --enable-call-logs \
+ --enable-gudev \
--enable-location \
- --enable-nautilus-sendto
+ --enable-map \
+ --enable-nautilus-sendto \
+ --enable-spell
-%{__make} -j 1
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+ DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus-sendto/plugins/*.la
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus-sendto/plugins/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/mission-control-plugins.0/*.la
+#%{__rm} $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.la
%find_lang %{name} --with-gnome --with-omf
rm -rf $RPM_BUILD_ROOT
%post
-glib-compile-schemas %{_datadir}/glib-2.0/schemas
+%glib_compile_schemas
%update_icon_cache hicolor
%postun
-glib-compile-schemas %{_datadir}/glib-2.0/schemas
+%glib_compile_schemas
%update_icon_cache hicolor
%files -f %{name}.lang
%attr(755,root,root) %{_bindir}/empathy
%attr(755,root,root) %{_bindir}/empathy-accounts
%attr(755,root,root) %{_bindir}/empathy-debugger
+#%attr(755,root,root) %{_libdir}/control-center-1/panels/libempathy-accounts-panel.so
%attr(755,root,root) %{_libexecdir}/empathy-auth-client
%attr(755,root,root) %{_libexecdir}/empathy-av
+%attr(755,root,root) %{_libexecdir}/empathy-call
+%attr(755,root,root) %{_libexecdir}/empathy-chat
+%attr(755,root,root) %{_libdir}/mission-control-plugins.0/mcp-account-manager-goa.so
%{_datadir}/%{name}
%{_datadir}/GConf/gsettings/empathy.convert
-%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.service
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.AudioVideo.service
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Auth.service
+%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Call.service
+%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.Chat.service
+%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.FileTransfer.service
%{_datadir}/glib-2.0/schemas/org.gnome.Empathy.gschema.xml
-%{_datadir}/telepathy/clients/Empathy.client
%{_datadir}/telepathy/clients/Empathy.AudioVideo.client
%{_datadir}/telepathy/clients/Empathy.Auth.client
+%{_datadir}/telepathy/clients/Empathy.Call.client
+%{_datadir}/telepathy/clients/Empathy.Chat.client
+%{_datadir}/telepathy/clients/Empathy.FileTransfer.client
%{_iconsdir}/hicolor/*/apps/*
%{_mandir}/man1/empathy*.1*
%{_desktopdir}/*.desktop