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