3 #%define snap_date 2008-08-12
4 Summary: A Jabber client written in PyGTK
5 Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK
11 Group: Applications/Communications
12 #Source0: http://www.gajim.org/downloads/snap/%{name}-%{snap_date}.tar.gz
13 Source0: http://gajim.org/downloads/%{name}-%{version}-%{_state}.tar.gz
14 # Source0-md5: 74d1f85461d656d6e429f3f097ae7091
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-pygtk-glade >= 2.8.0
32 Requires: python-sqlite
33 Suggests: gnome-keyring
34 Suggests: gpgme >= 1.0.0
35 Suggests: python-Crypto
36 Suggests: python-avahi
37 Suggests: python-dbus >= 0.82.1
38 Suggests: python-gnome-desktop-keyring
39 Suggests: python-gnome-gconf
40 Suggests: python-pyOpenSSL
41 Suggests: python-sqlite
42 # sr@Latn vs. sr@latin
43 Conflicts: glibc-misc < 6:2.7
44 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
48 developers is to provide a full featured and easy to use XMPP client
49 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
50 exists with it nicely.
52 %description -l pl.UTF-8
53 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
54 dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
55 dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
59 %setup -q -n %{name}-%{version}-%{_state}
76 rm -rf $RPM_BUILD_ROOT
81 DESTDIR=$RPM_BUILD_ROOT
83 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
84 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
86 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
88 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
89 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
93 rm -rf $RPM_BUILD_ROOT
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog README THANKS
98 %attr(755,root,root) %{_bindir}/*
99 %dir %{_libdir}/%{name}
100 %attr(755,root,root) %{_libdir}/%{name}/*.so
102 %{_desktopdir}/*.desktop