]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
1e82069c9439faea1880bcccef6c099aad5d9f51
[packages/gajim.git] / gajim.spec
1 Summary:        A Jabber client written in PyGTK
2 Summary(pl):    Klient Jabbera napisany w PyGTK
3 Name:           gajim
4 Version:        0.9
5 Release:        2
6 License:        GPL v2
7 Group:          Applications/Communications
8 Source0:        http://gajim.org/downloads/%{name}-%{version}.tar.bz2
9 # Source0-md5:  351c59ca1a162d134f546385b35bf804
10 Patch0:         %{name}-typos.patch
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 %patch0 -p1
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.07217 seconds and 3 git commands to generate.