-#
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.5
+Version: 0.11
Release: 1
License: GPL
Group: Applications/Communications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: e363689295c78ad62d323111a0176ea5
+Source0: http://ftp.gnome.org/pub/GNOME/sources/empathy/0.11/%{name}-%{version}.tar.bz2
+# Source0-md5: 8ee7ae2993d754fe5dcb3bc6cee2c1cd
URL: http://empathy.imendio.org/
-BuildRequires: aspell-devel
-BuildRequires: autoconf
-BuildRequires: automake
+BuildRequires: GConf2-devel
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.9
BuildRequires: dbus-glib-devel
-BuildRequires: gnome-common >= 2.12.0
-BuildRequires: gnome-doc-utils
-BuildRequires: gnome-panel-devel >= 2.16.2
-BuildRequires: gnutls-devel >= 1.2.5
-BuildRequires: gtk+2-devel >= 2:2.10.7
-BuildRequires: intltool >= 0.35.0
-BuildRequires: iso-codes
+BuildRequires: gnome-vfs2-devel >= 2.18.1
+BuildRequires: gtk+2-devel >= 2:2.10.12
+BuildRequires: intltool >= 0.35.5
BuildRequires: libglade2-devel >= 1:2.6.0
-BuildRequires: libgnomeui-devel >= 2.16.1
-BuildRequires: libnotify-devel >= 0.4.2
+BuildRequires: libgnomeui-devel >= 2.18.1
+BuildRequires: libtelepathy-devel >= 0.0.51
BuildRequires: libtool
-BuildRequires: libxml2-devel >= 1:2.6.27
+BuildRequires: libxml2-devel >= 1:2.6.28
+BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.311
-BuildRequires: telepathy-glib-devel
-BuildRequires: xorg-lib-libXScrnSaver-devel
-Requires(post,postun): gtk+2 >= 2:2.10.7
+BuildRequires: telepathy-mission-control-devel >= 4.33
+Requires: %{name}-libs = %{version}-%{release}
+Requires(post,postun): gtk+2 >= 2:2.10.12
Requires(post,postun): hicolor-icon-theme
-Requires(post,postun): scrollkeeper
-Requires(post,preun): GConf2 >= 2.16.0
-Requires: iso-codes
-Requires: loudmouth >= 1.0.4
+Requires(post,preun): GConf2
+Suggests: telepathy-butterfly
+Suggests: telepathy-gabble
+Suggests: telepathy-idle
+Suggests: telepathy-salut
Obsoletes: gnome-jabber
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Empathy aims at making Instant Messaging with Jabber as easy as
possible.
+%description -l pl.UTF-8
+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
+
+%description libs
+Libraries for empathy.
+
+%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.
+
%prep
%setup -q
%{__autoconf}
%configure \
--disable-schemas-install \
- --disable-scrollkeeper \
- --enable-aspell \
- --enable-dbus \
- --enable-libnotify
+ --with-html-dir=%{_gtkdocdir}
%{__make}
%install
%post
%gconf_schema_install empathy.schemas
-%scrollkeeper_update_post
%update_icon_cache hicolor
%preun
%gconf_schema_uninstall empathy.schemas
%postun
-%scrollkeeper_update_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
%{_datadir}/gnome/autostart/empathy.desktop
%{_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