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