]>
Commit | Line | Data |
---|---|---|
beebb597 | 1 | Summary: A Jabber client written in PyGTK |
934b1af7 | 2 | Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK |
5852d9d2 | 3 | Name: gajim |
99830fa8 | 4 | Version: 0.11 |
18a487be | 5 | Release: 1 |
835b18c9 | 6 | Epoch: 1 |
a8189f30 | 7 | License: GPL v2 |
5852d9d2 | 8 | Group: Applications/Communications |
99830fa8 PZ |
9 | Source0: http://www.gajim.org/downloads/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: 7ac7ac6fdfc515cb927adf21793856fa | |
5852d9d2 | 11 | URL: http://www.gajim.org/ |
99830fa8 PZ |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
5ad5e149 | 14 | BuildRequires: gettext-devel |
a8189f30 PZ |
15 | BuildRequires: gtkspell-devel |
16 | BuildRequires: intltool | |
99830fa8 | 17 | BuildRequires: libtool |
a8189f30 PZ |
18 | BuildRequires: python-pygtk-devel >= 2.8.0 |
19 | BuildRequires: rpmbuild(macros) >= 1.177 | |
99830fa8 | 20 | BuildRequires: rpm-pythonprov |
59fd577f | 21 | BuildRequires: xorg-lib-libXScrnSaver-devel |
5852d9d2 | 22 | %pyrequires_eq python-modules |
23 | %pyrequires_eq python | |
99830fa8 | 24 | Requires: python-docutils >= 0.4-2 |
13892137 | 25 | Requires: python-dns |
a8189f30 | 26 | Requires: python-pygtk-glade >= 2.8.0 |
c18a4c61 | 27 | Requires: python-sqlite |
5852d9d2 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
29 | ||
30 | %description | |
beebb597 JB |
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. | |
5852d9d2 | 35 | |
934b1af7 JR |
36 | %description -l pl.UTF-8 |
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. | |
5852d9d2 | 41 | |
42 | %prep | |
bad78d3d | 43 | %setup -q |
5852d9d2 | 44 | |
45 | %build | |
99830fa8 PZ |
46 | %{__intltoolize} |
47 | %{__aclocal} -I m4 | |
48 | %{__libtoolize} | |
49 | %{__autoheader} | |
50 | %{__autoconf} | |
51 | %{__automake} | |
7500c436 | 52 | %configure |
5852d9d2 | 53 | %{__make} \ |
4c66f19f | 54 | CC="%{__cc}" \ |
acf37287 | 55 | PREFIX=%{_prefix} \ |
4d00e833 | 56 | LIBDIR=/%{_lib} |
5852d9d2 | 57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | PREFIX=%{_prefix} \ | |
4d00e833 | 63 | LIBDIR=/%{_lib} \ |
5852d9d2 | 64 | DESTDIR=$RPM_BUILD_ROOT |
65 | ||
5f33b669 | 66 | rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo} |
c0f7a1fc | 67 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no |
5852d9d2 | 68 | |
006ce781 | 69 | %find_lang %{name} |
70 | ||
5852d9d2 | 71 | %clean |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
a8189f30 PZ |
74 | %post |
75 | %banner %{name} -e << EOF | |
76 | For full functionality, you need to install: | |
99830fa8 | 77 | - avahi-discover (for zeroconf chat over local networks) |
a8189f30 | 78 | - python-dbus (for gajim-remote and notification-daemon support) |
99830fa8 | 79 | - python-gnome-desktop-keyring (for secure password storage) |
a8189f30 | 80 | - python-gnome-gconf (for xmpp url-handler in GNOME) |
a8189f30 PZ |
81 | EOF |
82 | ||
006ce781 | 83 | %files -f %{name}.lang |
5852d9d2 | 84 | %defattr(644,root,root,755) |
99830fa8 | 85 | %doc AUTHORS ChangeLog README THANKS |
5852d9d2 | 86 | %attr(755,root,root) %{_bindir}/* |
87 | %dir %{_libdir}/%{name} | |
88 | %attr(755,root,root) %{_libdir}/%{name}/*.so | |
a8189f30 | 89 | %{_datadir}/%{name} |
beebb597 JB |
90 | %{_desktopdir}/*.desktop |
91 | %{_mandir}/man1/* | |
7a74e812 | 92 | %{_pixmapsdir}/*.png |