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