+%define _snap 2005-10-31
Summary: A Jabber client written in PyGTK
Summary(pl): Klient Jabbera napisany w PyGTK
Name: gajim
-Version: 0.8
-Release: 1
-License: GPL
+Version: 0.9
+Release: 0.%(echo %{_snap}|tr -d -).1
+License: GPL v2+
Group: Applications/Communications
-Source0: http://gajim.org/downloads/%{name}-%{version}.tar.bz2
-# Source0-md5: d851d06ea0105cc6fcecf84e68765fd2
-Patch0: %{name}-makefile.patch
+Source0: http://gajim.org/downloads/snap/%{name}-%{_snap}.tar.bz2
+# Source0-md5: a65eeb6778ea083acb327eb30dced4ba
URL: http://www.gajim.org/
BuildRequires: gtkspell-devel
BuildRequires: gettext-devel
-BuildRequires: python-pygtk-devel
+BuildRequires: intltool
+BuildRequires: python-pygtk-devel >= 2.8.0
%pyrequires_eq python-modules
%pyrequires_eq python
+Requires: python-dbus
Requires: python-dns
-Requires: python-gnome-extras-egg >= 2.10.0
-Requires: python-gnome-extras-gtkspell >= 2.10.0
-Requires: python-pygtk-glade >= 2.6.0
-Requires: python-pygtk-gtk >= 2.6.0
+Requires: python-gnome-gconf >= 2.12.0
+Requires: python-gnome-extras-egg >= 2.12.0
+Requires: python-gnome-extras-gtkspell >= 2.12.0
+Requires: python-pygtk-glade >= 2.8.0
+Requires: python-pygtk-gtk >= 2.8.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
-%patch0 -p1
%build
%{__make} \
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS README Changelog
%attr(755,root,root) %{_bindir}/*