]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
- removed run patch
[packages/gajim.git] / gajim.spec
1 # TODO
2 # - use /usr/share/locale
3 #
4 Summary:        A Jabber client written in PyGTK
5 Summary(pl):    Klient Jabbera napisany w PyGTK
6 Name:           gajim
7 Version:        0.8.1
8 Release:        1
9 License:        GPL
10 Group:          Applications/Communications
11 Source0:        http://gajim.org/downloads/%{name}-%{version}.tar.bz2
12 # Source0-md5:  d4cbbd64078b9c93fdd1492c27dbcdab
13 Patch0:         %{name}-makefile.patch
14 Patch1:         %{name}-remote.patch
15 Patch2:         %{name}-dbus_version.patch
16 URL:            http://www.gajim.org/
17 BuildRequires:  gtkspell-devel
18 BuildRequires:  gettext-devel
19 BuildRequires:  python-pygtk-devel
20 %pyrequires_eq  python-modules
21 %pyrequires_eq  python
22 Requires:       python-dbus
23 Requires:       python-dns
24 Requires:       python-gnome-extras-egg >= 2.10.0
25 Requires:       python-gnome-extras-gtkspell >= 2.10.0
26 Requires:       python-pygtk-glade >= 2.6.0
27 Requires:       python-pygtk-gtk >= 2.6.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 %patch0 -p1
45 %patch1 -p1
46 %patch2 -p1
47
48 %build
49 %{__make} \
50         PREFIX=%{_prefix} \
51         LIBDIR=/%{_lib}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         PREFIX=%{_prefix} \
58         LIBDIR=/%{_lib} \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc AUTHORS README Changelog
69 %attr(755,root,root) %{_bindir}/*
70 %dir %{_libdir}/%{name}
71 %attr(755,root,root) %{_libdir}/%{name}/*.so
72 %dir %{_datadir}/%{name}
73 %{_datadir}/%{name}/COPYING
74 %{_datadir}/%{name}/data
75 %{_datadir}/%{name}/po
76 %dir %{_datadir}/%{name}/src
77 %{_datadir}/%{name}/src/common
78 %attr(755,root,root) %{_datadir}/%{name}/src/gajim.py
79 %{_datadir}/%{name}/src/[!g]*.py
80 %{_datadir}/%{name}/src/g[!a]*
81 %{_datadir}/%{name}/src/gajim[!.]*
82 %{_desktopdir}/*.desktop
83 %{_mandir}/man1/*
84 %{_pixmapsdir}/*.png
This page took 0.067405 seconds and 3 git commands to generate.