]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
- current snap
[packages/gajim.git] / gajim.spec
1 %define         _snap   20060607
2 %define         _snap_with_dashes 2006-06-07
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:  f2c5b10388b2ccb6f0bb3e2691ad6090
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 -n %{name}-0.10
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 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
58
59 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post
65 %banner %{name} -e << EOF
66 For full functionality, you need to install:
67 - python-dbus (for gajim-remote and notification-daemon support)
68 - python-gnome-gconf (for xmpp url-handler in GNOME)
69 - python-sqlite (for logs)
70 EOF
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc AUTHORS README Changelog
75 %attr(755,root,root) %{_bindir}/*
76 %dir %{_libdir}/%{name}
77 %attr(755,root,root) %{_libdir}/%{name}/*.so
78 %{_datadir}/%{name}
79 %{_desktopdir}/*.desktop
80 %{_mandir}/man1/*
81 %{_pixmapsdir}/*.png
This page took 0.033711 seconds and 3 git commands to generate.