3 %define snap_date 2009-11-17
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://www.gajim.org/downloads/snap/%{name}-%{snap_date}.tar.gz
14 # Source0-md5: 4358eb04ddeaea93fc09f037332d2e4d
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: python-pygtk-devel >= 2.8.0
23 BuildRequires: rpm-pythonprov
24 BuildRequires: rpmbuild(macros) >= 1.177
25 BuildRequires: xorg-lib-libSM-devel
26 BuildRequires: xorg-lib-libXScrnSaver-devel
27 %pyrequires_eq python-modules
30 Requires: python-docutils >= 0.4-2
31 Requires: python-modules-sqlite
32 Requires: python-pygtk-glade >= 2.8.0
33 Requires: python-sqlite
34 Suggests: gnome-keyring
36 Suggests: gpgme >= 1.0.0
37 Suggests: notification-daemon
38 Suggests: python-Crypto
39 Suggests: python-avahi
40 Suggests: python-dbus >= 0.82.1
41 Suggests: python-farsight2
42 Suggests: python-gnome-desktop-keyring
43 Suggests: python-gnome-gconf
44 Suggests: python-gnome-ui
45 Suggests: python-gstreamer
46 Suggests: python-pyOpenSSL
48 Suggests: python-sqlite
49 # sr@Latn vs. sr@latin
50 Conflicts: glibc-misc < 6:2.7
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
55 developers is to provide a full featured and easy to use XMPP client
56 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
57 exists with it nicely.
59 %description -l pl.UTF-8
60 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
61 dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
62 dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
66 %setup -q -n %{name}-%{version}-dev
83 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT
90 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
91 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
93 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
95 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
96 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
100 rm -rf $RPM_BUILD_ROOT
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog README THANKS THANKS.artists
105 %attr(755,root,root) %{_bindir}/*
106 %dir %{_libdir}/%{name}
107 %attr(755,root,root) %{_libdir}/%{name}/*.so
109 %{_desktopdir}/*.desktop