Summary: Very easy to use GNOME Telepathy client
Summary(pl.UTF-8): Bardzo łatwy w użyciu klient Telepathy dla GNOME
Name: empathy
-Version: 0.21.1
-Release: 2
-License: GPL
+Version: 2.30.2
+Release: 1
+License: GPL v2
Group: Applications/Communications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/0.21/%{name}-%{version}.tar.bz2
-# Source0-md5: dff1f9f60920cd41bf56bc121eba0b19
-Patch0: %{name}-python2.5.patch
-URL: http://empathy.imendio.org/
-BuildRequires: GConf2-devel
-BuildRequires: aspell-devel
+Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/2.30/%{name}-%{version}.tar.bz2
+# Source0-md5: 964b48ccc63a2acdd14224eb763d6bf6
+Patch0: configure.patch
+URL: http://live.gnome.org/Empathy
+BuildRequires: GConf2-devel >= 2.26.0
+BuildRequires: NetworkManager-devel >= 0.7
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.9
-BuildRequires: dbus-glib-devel
-BuildRequires: evolution-data-server-devel
-BuildRequires: gnome-panel-devel
-BuildRequires: gnome-vfs2-devel
-BuildRequires: gtk+2-devel >= 2:2.12.0
-BuildRequires: intltool >= 0.36.2
-BuildRequires: iso-codes
-BuildRequires: libglade2-devel >= 1:2.6.2
-BuildRequires: libtelepathy-devel >= 0.0.57
+#BuildRequires: check >= 0.9.4
+#BuildRequires: clutter-gtk-devel >= 0.10.0
+BuildRequires: dbus-glib-devel >= 0.74
+#BuildRequires: docbook-dtd412-xml
+BuildRequires: enchant-devel >= 1.2.0
+BuildRequires: evolution-data-server-devel >= 2.24.0
+BuildRequires: farsight2-devel
+BuildRequires: geoclue-devel >= 0.11
+BuildRequires: gettext-devel
+BuildRequires: gnome-common >= 2.24.0
+BuildRequires: gnome-doc-utils >= 0.18.0
+#BuildRequires: gnome-panel-devel >= 2.24.0
+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: 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: libtool
+BuildRequires: libunique-devel
BuildRequires: libxml2-devel >= 1:2.6.28
+BuildRequires: nautilus-sendto-devel >= 2.28.1
BuildRequires: pkgconfig
-BuildRequires: python-pygtk-devel
+#BuildRequires: python-pygtk-devel
+#BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 1.311
-BuildRequires: telepathy-mission-control-devel >= 4.37
+BuildRequires: sed >= 4.0
+BuildRequires: telepathy-farsight-devel
+BuildRequires: telepathy-glib-devel >= 0.9.2
+BuildRequires: telepathy-logger-devel
+#BuildRequires: telepathy-mission-control-devel >= 5.0
Requires(post,postun): gtk+2 >= 2:2.12.0
Requires(post,postun): hicolor-icon-theme
Requires(post,preun): GConf2
-Requires: %{name}-libs = %{version}-%{release}
+Requires: telepathy-mission-control
Suggests: telepathy-butterfly
Suggests: telepathy-gabble
+Suggests: telepathy-haze
Suggests: telepathy-idle
Suggests: telepathy-salut
+Suggests: telepathy-sofiasip
+Obsoletes: empathy-apidocs < 2.29.1
+Obsoletes: empathy-devel < 2.29.1
+Obsoletes: empathy-libs < 2.29.1
Obsoletes: gnome-jabber
+Obsoletes: python-empathy < 2.29.1
# sr@Latn vs. sr@latin
Conflicts: glibc-misc < 6:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Celem Empathy jest uczynienie komunikowania poprzez Jabbera tak łatwym
jak to tylko możliwe.
-%package libs
-Summary: Libraries for empathy
-Summary(pl.UTF-8): Biblioteki dla empathy
-Group: Libraries
+%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
+Group: X11/Applications
+Requires: %{name} = %{version}-%{release}
+Requires: nautilus-sendto >= 2.28.1
-%description libs
-Libraries for empathy.
+%description -n nautilus-sendto-empathy
+Enables sending files from Nautilus to your Empathy contacts.
-%description libs -l pl.UTF-8
-Biblioteki dla empathy.
-
-%package devel
-Summary: empathy header files
-Summary(pl.UTF-8): Pliki nagłówkowe empathy
-Group: X11/Development/Libraries
-Requires: %{name}-libs = %{version}-%{release}
-
-%description devel
-empathy header files.
-
-%description devel -l pl.UTF-8
-Pliki nagłówkowe empathy.
-
-%package static
-Summary: empathy static libraries
-Summary(pl.UTF-8): Statyczne biblioteki empathy
-Group: Development/Libraries
-Requires: %{name}-devel = %{version}-%{release}
-
-%description static
-empathy static libraries.
-
-%description static -l pl.UTF-8
-Statyczne biblioteki empathy.
-
-%package -n python-%{name}
-Summary: Python module for Empathy
-Summary(pl.UTF-8): Moduł Pythona dla Empathy
-Group: Development/Libraries
-Requires: %{name}-libs = %{version}-%{release}
-
-%description -n python-%{name}
-Python module for Empathy.
-
-%description -n python-%{name} -l pl.UTF-8
-Moduł Pythona dla Empathy.
+%description -n nautilus-sendto-empathy -l pl.UTF-8
+Pozwala na przesyłanie z 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
-%{__glib_gettextize}
-%{__libtoolize}
%{__intltoolize}
-%{__aclocal}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
%{__autoheader}
%{__automake}
-%{__autoconf}
%configure \
+ --with-connectivity=nm \
--disable-schemas-install \
- --with-html-dir=%{_gtkdocdir}
-%{__make}
+ --disable-silent-rules \
+ --disable-static \
+ --enable-favourite-contacts \
+ --enable-location \
+ --enable-nautilus-sendto
+
+%{__make} -j 1
%install
rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT \
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus-sendto/plugins/*.la
rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
- mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
-%find_lang %{name} --with-gnome --all-name
+%find_lang %{name} --with-gnome --with-omf
%clean
rm -rf $RPM_BUILD_ROOT
%post
%gconf_schema_install empathy.schemas
-%gconf_schema_install GNOME_Megaphone_Applet.schemas
%update_icon_cache hicolor
%preun
%gconf_schema_uninstall empathy.schemas
-%gconf_schema_uninstall GNOME_Megaphone_Applet.schemas
%postun
%update_icon_cache hicolor
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS CONTRIBUTORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/empathy
+%attr(755,root,root) %{_bindir}/empathy-accounts
+%attr(755,root,root) %{_bindir}/empathy-debugger
%{_datadir}/%{name}
+%{_datadir}/telepathy/clients/Empathy.client
+%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Empathy.service
%{_iconsdir}/hicolor/*/apps/*
%{_sysconfdir}/gconf/schemas/empathy.schemas
-%{_sysconfdir}/gconf/schemas/GNOME_Megaphone_Applet.schemas
-%{_sysconfdir}/xdg/autostart/empathy.desktop
-%attr(755,root,root) %{_libdir}/megaphone-applet
-%{_libdir}/bonobo/servers/GNOME_Megaphone_Applet.server
-%{_datadir}/dbus-1/services/*.service
-%{_datadir}/mission-control/profiles/*.profile
-%{_datadir}/telepathy/managers/empathy-chat.chandler
-
-%files libs
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libempathy.so.*.*.*
-%attr(755,root,root) %{_libdir}/libempathy-gtk.so.*.*.*
-
-%files devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libempathy.so
-%attr(755,root,root) %{_libdir}/libempathy-gtk.so
-%{_libdir}/libempathy.la
-%{_libdir}/libempathy-gtk.la
-%{_includedir}/libempathy
-%{_includedir}/libempathy-gtk
-%{_gtkdocdir}/libempathy
-%{_gtkdocdir}/libempathy-gtk
-%{_pkgconfigdir}/libempathy.pc
-%{_pkgconfigdir}/libempathy-gtk.pc
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/libempathy.a
-%{_libdir}/libempathy-gtk.a
+%{_mandir}/man1/empathy*.1*
+%{_desktopdir}/*.desktop
-%files -n python-%{name}
+%files -n nautilus-sendto-empathy
%defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/empathy.so
-%attr(755,root,root) %{py_sitedir}/empathygtk.so
+%attr(755,root,root) %{_libdir}/nautilus-sendto/plugins/libnstempathy.so