]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
141651ddc2f3ed1587361760c078f79bc3b7c582
[packages/gajim.git] / gajim.spec
1 %define         _snap   20061130
2 %define         _snap_with_dashes 2006-11-30
3 Summary:        A Jabber client written in PyGTK
4 Summary(pl):    Klient Jabbera napisany w PyGTK
5 Name:           gajim
6 Version:        0.10.1.8
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:  232070ed4ba0f0b3ad226afff3a22b36
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 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-gconf (for xmpp url-handler in GNOME)
80 - python-sqlite (for logs)
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.052294 seconds and 2 git commands to generate.