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