]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
- added desktop patch
[packages/gajim.git] / gajim.spec
1 Summary:        A Jabber client written in PyGTK
2 Summary(pl.UTF-8):      Klient Jabbera napisany w PyGTK
3 Name:           gajim
4 Version:        0.11.1
5 Release:        2
6 Epoch:          1
7 License:        GPL v2
8 Group:          Applications/Communications
9 Source0:        http://www.gajim.org/downloads/%{name}-%{version}.tar.bz2
10 # Source0-md5:  cc587e7617f53ae8d5e0b30d7324e89c
11 Patch0:         %{name}-desktop.patch
12 URL:            http://www.gajim.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gettext-devel
16 BuildRequires:  gtkspell-devel
17 BuildRequires:  intltool
18 BuildRequires:  libtool
19 BuildRequires:  python-pygtk-devel >= 2.8.0
20 BuildRequires:  rpmbuild(macros) >= 1.177
21 BuildRequires:  rpm-pythonprov
22 BuildRequires:  xorg-lib-libXScrnSaver-devel
23 %pyrequires_eq  python-modules
24 %pyrequires_eq  python
25 Requires:       python-docutils >= 0.4-2
26 Requires:       python-dns
27 Requires:       python-pygtk-glade >= 2.8.0
28 Requires:       python-sqlite
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
33 developers is to provide a full featured and easy to use XMPP client
34 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
35 exists with it nicely.
36
37 %description -l pl.UTF-8
38 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
39 dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
40 dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
41 działa z nim ładnie.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46
47 %build
48 %{__intltoolize}
49 %{__aclocal} -I m4
50 %{__libtoolize}
51 %{__autoheader}
52 %{__autoconf}
53 %{__automake}
54 %configure
55 %{__make} \
56         CC="%{__cc}" \
57         PREFIX=%{_prefix} \
58         LIBDIR=/%{_lib}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         PREFIX=%{_prefix} \
65         LIBDIR=/%{_lib} \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
69 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 %banner %{name} -e << EOF
78 For full functionality, you need to install:
79 - avahi-discover (for zeroconf chat over local networks)
80 - python-dbus (for gajim-remote and notification-daemon support)
81 - python-gnome-desktop-keyring (for secure password storage)
82 - python-gnome-gconf (for xmpp url-handler in GNOME)
83 EOF
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog README THANKS
88 %attr(755,root,root) %{_bindir}/*
89 %dir %{_libdir}/%{name}
90 %attr(755,root,root) %{_libdir}/%{name}/*.so
91 %{_datadir}/%{name}
92 %{_desktopdir}/*.desktop
93 %{_mandir}/man1/*
94 %{_pixmapsdir}/*.png
This page took 0.033088 seconds and 4 git commands to generate.