2 %define snap_date 2008-07-22
3 Summary: A Jabber client written in PyGTK
4 Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK
10 Group: Applications/Communications
11 Source0: http://www.gajim.org/downloads/snap/%{name}-%{snap_date}.tar.gz
12 # Source0-md5: 36e5cc8945a28817af9d6b73e22bad15
13 URL: http://www.gajim.org/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: gettext-devel
17 BuildRequires: gtkspell-devel
18 BuildRequires: intltool
19 BuildRequires: libtool
20 BuildRequires: python-pygtk-devel >= 2.8.0
21 BuildRequires: rpm-pythonprov
22 BuildRequires: rpmbuild(macros) >= 1.177
23 BuildRequires: xorg-lib-libSM-devel
24 BuildRequires: xorg-lib-libXScrnSaver-devel
25 %pyrequires_eq python-modules
28 Requires: python-docutils >= 0.4-2
29 Requires: python-pygtk-glade >= 2.8.0
30 Requires: python-sqlite
31 Suggests: gpgme >= 1.0.0
32 Suggests: python-avahi
33 Suggests: python-dbus >= 0.82.1
34 Suggests: python-gnome-desktop-keyring
35 Suggests: python-gnome-gconf
36 Suggests: python-pyOpenSSL
37 Suggests: python-sqlite
38 # sr@Latn vs. sr@latin
39 Conflicts: glibc-misc < 6:2.7
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
44 developers is to provide a full featured and easy to use XMPP client
45 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
46 exists with it nicely.
48 %description -l pl.UTF-8
49 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
50 dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
51 dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
55 %setup -q -n %{name}-%{version}-svn
71 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
78 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
79 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
81 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
82 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
86 rm -rf $RPM_BUILD_ROOT
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog README THANKS
91 %attr(755,root,root) %{_bindir}/*
92 %dir %{_libdir}/%{name}
93 %attr(755,root,root) %{_libdir}/%{name}/*.so
95 %{_desktopdir}/*.desktop