+# TODO
+# - --disable-coca flag for configure seems to be broken, so
+# I've added BC: gnustep-gui-devel. Of course better solution
+# is to fix configure.*
Summary: A Jabber client written in PyGTK
Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK
Name: gajim
-Version: 0.11.3
+Version: 0.13.4
Release: 1
Epoch: 1
License: GPL v2
Group: Applications/Communications
-Source0: http://www.gajim.org/downloads/%{name}-%{version}.tar.bz2
-# Source0-md5: a94545228d8a63fb2263ea4aca6dd3db
+Source0: http://gajim.org/downloads/0.13/%{name}-%{version}.tar.bz2
+# Source0-md5: 097e96c2f73a13be4edadea11b495ce6
URL: http://www.gajim.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gtkspell-devel
BuildRequires: intltool
BuildRequires: libtool
+BuildRequires: pkgconfig
BuildRequires: python-pygtk-devel >= 2.8.0
-BuildRequires: rpmbuild(macros) >= 1.177
BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.177
+BuildRequires: xorg-lib-libSM-devel
BuildRequires: xorg-lib-libXScrnSaver-devel
+Requires: python-modules-sqlite
%pyrequires_eq python-modules
%pyrequires_eq python
-Requires: python-docutils >= 0.4-2
+BuildConflicts: gnustep-gui-devel
Requires: python-dns
+Requires: python-docutils >= 0.4-2
Requires: python-pygtk-glade >= 2.8.0
Requires: python-sqlite
+Suggests: dbus(org.freedesktop.Notifications)
+Suggests: gnome-keyring
+Suggests: gnupg2
+Suggests: gpgme >= 1.0.0
+Suggests: python-Crypto
Suggests: python-avahi
Suggests: python-dbus >= 0.82.1
+Suggests: python-farsight2
Suggests: python-gnome-desktop-keyring
Suggests: python-gnome-gconf
-Suggests: python-pyOpenSSL
+Suggests: python-gnome-ui
+Suggests: python-gstreamer
+Suggests: python-pyOpenSSL >= 0.9
+Suggests: python-sexy
Suggests: python-sqlite
# sr@Latn vs. sr@latin
Conflicts: glibc-misc < 6:2.7
%{__autoconf}
%{__automake}
%configure
+
%{__make} \
CC="%{__cc}" \
PREFIX=%{_prefix} \
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
+
[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
- mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
+ mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
%find_lang %{name}
%clean
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README THANKS
+%doc AUTHORS ChangeLog README THANKS THANKS.artists
%attr(755,root,root) %{_bindir}/*
%dir %{_libdir}/%{name}
%attr(755,root,root) %{_libdir}/%{name}/*.so
%{_desktopdir}/*.desktop
%{_mandir}/man1/*
%{_pixmapsdir}/*.png
+%{_pixmapsdir}/*.svg