2 %define snap_date 2008-07-31
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: 16b971426c6ce43e121b98e7d4357c60
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
72 rm -rf $RPM_BUILD_ROOT
77 DESTDIR=$RPM_BUILD_ROOT
79 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
80 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
82 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
84 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
85 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
89 rm -rf $RPM_BUILD_ROOT
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog README THANKS
94 %attr(755,root,root) %{_bindir}/*
95 %dir %{_libdir}/%{name}
96 %attr(755,root,root) %{_libdir}/%{name}/*.so
98 %{_desktopdir}/*.desktop