]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
- fixed Rs (gajim is GTK+ app and there is egg and gtkspell distributed
[packages/gajim.git] / gajim.spec
1 %define         _snap   2005-11-16
2 Summary:        A Jabber client written in PyGTK
3 Summary(pl):    Klient Jabbera napisany w PyGTK
4 Name:           gajim
5 Version:        0.9
6 Release:        0.%(echo %{_snap}|tr -d -).2
7 License:        GPL v2
8 Group:          Applications/Communications
9 Source0:        http://gajim.org/downloads/snap/%{name}-%{_snap}.tar.bz2
10 # Source0-md5:  9d4b1981b8eeafd89846e8e620dd0b84
11 URL:            http://www.gajim.org/
12 BuildRequires:  gettext-devel
13 BuildRequires:  gtkspell-devel
14 BuildRequires:  intltool
15 BuildRequires:  python-pygtk-devel >= 2.8.0
16 BuildRequires:  rpmbuild(macros) >= 1.177
17 %pyrequires_eq  python-modules
18 %pyrequires_eq  python
19 Requires:       python-dns
20 Requires:       python-pygtk-glade >= 2.8.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
25 developers is to provide a full featured and easy to use XMPP client
26 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
27 exists with it nicely.
28
29 %description -l pl
30 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
31 dostarczenie w pe³ni funkcjonalnego i ³atwego w u¿yciu klienta XMPP
32 dla u¿ytkowników GTK+. Gajim nie wymaga do dzia³ania GNOME, choæ
33 dzia³a z nim ³adnie.
34
35 %prep
36 %setup -q
37
38 %build
39 %{__make} \
40         PREFIX=%{_prefix} \
41         LIBDIR=/%{_lib}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         PREFIX=%{_prefix} \
48         LIBDIR=/%{_lib} \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
52
53 %find_lang %{name}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post
59 %banner %{name} -e << EOF
60 For full functionality, you need to install:
61 - python-dbus (for gajim-remote and notification-daemon support)
62 - python-gnome-gconf (for xmpp url-handler in GNOME)
63 EOF
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc AUTHORS README Changelog
68 %attr(755,root,root) %{_bindir}/*
69 %dir %{_libdir}/%{name}
70 %attr(755,root,root) %{_libdir}/%{name}/*.so
71 %{_datadir}/%{name}
72 %{_desktopdir}/*.desktop
73 %{_mandir}/man1/*
74 %{_pixmapsdir}/*.png
This page took 0.04177 seconds and 3 git commands to generate.