]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
- oops, ver up
[packages/gajim.git] / gajim.spec
1 %define         _snap   20060530
2 %define         _snap_with_dashes 2006-05-30
3 Summary:        A Jabber client written in PyGTK
4 Summary(pl):    Klient Jabbera napisany w PyGTK
5 Name:           gajim
6 Version:        0.11
7 Release:        0.%{_snap}.1
8 License:        GPL v2
9 Group:          Applications/Communications
10 Source0:        http://www.gajim.org/downloads/snap/%{name}-%{_snap_with_dashes}.tar.gz
11 # Source0-md5:  ef8f6770874bbcc66079327ad4a80e3e
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:  rpm-pythonprov
19 BuildRequires:  xorg-lib-libXScrnSaver-devel
20 %pyrequires_eq  python-modules
21 %pyrequires_eq  python
22 Requires:       python-dns
23 Requires:       python-pygtk-glade >= 2.8.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
28 developers is to provide a full featured and easy to use XMPP client
29 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
30 exists with it nicely.
31
32 %description -l pl
33 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
34 dostarczenie w pe³ni funkcjonalnego i ³atwego w u¿yciu klienta XMPP
35 dla u¿ytkowników GTK+. Gajim nie wymaga do dzia³ania GNOME, choæ
36 dzia³a z nim ³adnie.
37
38 %prep
39 %setup -q
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.034582 seconds and 3 git commands to generate.