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