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