-%define _snap 20060530
-%define _snap_with_dashes 2006-05-30
+%define _snap 20061204
+%define _snap_with_dashes 2006-12-04
Summary: A Jabber client written in PyGTK
Summary(pl): Klient Jabbera napisany w PyGTK
Name: gajim
-Version: 0.11
+Version: 0.10.1.8
Release: 0.%{_snap}.1
License: GPL v2
Group: Applications/Communications
Source0: http://www.gajim.org/downloads/snap/%{name}-%{_snap_with_dashes}.tar.gz
-# Source0-md5: ef8f6770874bbcc66079327ad4a80e3e
+# Source0-md5: a2a0a8b4db91a4be0e3eceb091e7f04e
URL: http://www.gajim.org/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: gtkspell-devel
BuildRequires: intltool
+BuildRequires: libtool
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-docutils >= 0.4-2
Requires: python-dns
Requires: python-pygtk-glade >= 2.8.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q
%build
-%{__make} clean
+%{__intltoolize}
+%{__aclocal} -I m4
+%{__libtoolize}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%{configure}
%{__make} \
CC="%{__cc}" \
PREFIX=%{_prefix} \
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}
%post
%banner %{name} -e << EOF
For full functionality, you need to install:
+- avahi-discover (for zeroconf chat over local networks)
- python-dbus (for gajim-remote and notification-daemon support)
- python-gnome-gconf (for xmpp url-handler in GNOME)
- python-sqlite (for logs)
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS README Changelog
+%doc AUTHORS ChangeLog README THANKS
%attr(755,root,root) %{_bindir}/*
%dir %{_libdir}/%{name}
%attr(755,root,root) %{_libdir}/%{name}/*.so