+%define _snap 20060903
+%define _snap_with_dashes 2006-09-03
Summary: A Jabber client written in PyGTK
Summary(pl): Klient Jabbera napisany w PyGTK
Name: gajim
-Version: 0.9
-Release: 1
+Version: 0.11
+Release: 0.%{_snap}.1
License: GPL v2
Group: Applications/Communications
-Source0: http://gajim.org/downloads/%{name}-%{version}.tar.bz2
-# Source0-md5: 351c59ca1a162d134f546385b35bf804
+Source0: http://www.gajim.org/downloads/snap/%{name}-%{_snap_with_dashes}.tar.gz
+# Source0-md5: d324a61bf57d12298cfeac8f9f34a2e4
URL: http://www.gajim.org/
BuildRequires: gettext-devel
BuildRequires: gtkspell-devel
BuildRequires: intltool
BuildRequires: python-pygtk-devel >= 2.8.0
BuildRequires: rpmbuild(macros) >= 1.177
+BuildRequires: rpm-pythonprov
+BuildRequires: xorg-lib-libXScrnSaver-devel
%pyrequires_eq python-modules
%pyrequires_eq python
Requires: python-dns
dzia³a z nim ³adnie.
%prep
-%setup -q
+%setup -q -n %{name}-0.10
%build
+%{__make} clean
%{__make} \
+ CC="%{__cc}" \
PREFIX=%{_prefix} \
LIBDIR=/%{_lib}
DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
%find_lang %{name}