2 # - --disable-coca flag for configure seems to be broken, so
3 # I've added BC: gnustep-gui-devel. Of course better sollution
4 # is to fix configure.*
5 Summary: A Jabber client written in PyGTK
6 Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK
12 Group: Applications/Communications
13 Source0: http://gajim.org/downloads/0.13/%{name}-%{version}.tar.bz2
14 # Source0-md5: 66a01c38ad6ea61e0998f849fe0be6f6
15 URL: http://www.gajim.org/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: gettext-devel
19 BuildRequires: gtkspell-devel
20 BuildRequires: intltool
21 BuildRequires: libtool
22 BuildRequires: pkgconfig
23 BuildRequires: python-pygtk-devel >= 2.8.0
24 BuildRequires: rpm-pythonprov
25 BuildRequires: rpmbuild(macros) >= 1.177
26 BuildRequires: xorg-lib-libSM-devel
27 BuildRequires: xorg-lib-libXScrnSaver-devel
28 Requires: python-modules-sqlite
29 %pyrequires_eq python-modules
31 BuildConflicts: gnustep-gui-devel
33 Requires: python-docutils >= 0.4-2
34 Requires: python-pygtk-glade >= 2.8.0
35 Requires: python-sqlite
36 Suggests: dbus(org.freedesktop.Notifications)
37 Suggests: gnome-keyring
39 Suggests: gpgme >= 1.0.0
40 Suggests: python-Crypto
41 Suggests: python-avahi
42 Suggests: python-dbus >= 0.82.1
43 Suggests: python-farsight2
44 Suggests: python-gnome-desktop-keyring
45 Suggests: python-gnome-gconf
46 Suggests: python-gnome-ui
47 Suggests: python-gstreamer
48 Suggests: python-pyOpenSSL
50 Suggests: python-sqlite
51 # sr@Latn vs. sr@latin
52 Conflicts: glibc-misc < 6:2.7
53 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
57 developers is to provide a full featured and easy to use XMPP client
58 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
59 exists with it nicely.
61 %description -l pl.UTF-8
62 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
63 dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
64 dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
85 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
92 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
93 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
95 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
97 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
98 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
102 rm -rf $RPM_BUILD_ROOT
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog README THANKS THANKS.artists
107 %attr(755,root,root) %{_bindir}/*
108 %dir %{_libdir}/%{name}
109 %attr(755,root,root) %{_libdir}/%{name}/*.so
111 %{_desktopdir}/*.desktop