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