]>
Commit | Line | Data |
---|---|---|
59216cf3 PZ |
1 | %define snap 20070731 |
2 | %define snap_date 2007-07-31 | |
beebb597 | 3 | Summary: A Jabber client written in PyGTK |
b93a977b | 4 | Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK |
5852d9d2 | 5 | Name: gajim |
08fda15b | 6 | Version: 0.11.1.5 |
847024a8 | 7 | Release: 0.%{snap}.1 |
59216cf3 | 8 | Epoch: 1 |
b1f53c75 | 9 | License: GPL v2 |
5852d9d2 | 10 | Group: Applications/Communications |
847024a8 | 11 | Source0: http://www.gajim.org/downloads/snap/%{name}-%{snap_date}.tar.gz |
59216cf3 | 12 | # Source0-md5: 87ec4a94fb4dd95d885b7936f30fb225 |
5852d9d2 | 13 | URL: http://www.gajim.org/ |
70e4ada7 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
5ad5e149 | 16 | BuildRequires: gettext-devel |
b4753e9b | 17 | BuildRequires: gtkspell-devel |
1da30c2b | 18 | BuildRequires: intltool |
70e4ada7 | 19 | BuildRequires: libtool |
1da30c2b | 20 | BuildRequires: python-pygtk-devel >= 2.8.0 |
b4753e9b | 21 | BuildRequires: rpmbuild(macros) >= 1.177 |
e51c8fd1 | 22 | BuildRequires: rpm-pythonprov |
739d169e | 23 | BuildRequires: xorg-lib-libSM-devel |
1d492f99 | 24 | BuildRequires: xorg-lib-libXScrnSaver-devel |
5852d9d2 | 25 | %pyrequires_eq python-modules |
26 | %pyrequires_eq python | |
113646e0 | 27 | Requires: python-docutils >= 0.4-2 |
13892137 | 28 | Requires: python-dns |
1da30c2b | 29 | Requires: python-pygtk-glade >= 2.8.0 |
847024a8 | 30 | Suggests: python-avahi |
1d7763e0 | 31 | Suggests: python-dbus >= 0.82.1 |
847024a8 PZ |
32 | Suggests: python-gnome-desktop-keyring |
33 | Suggests: python-gnome-gconf | |
08fda15b | 34 | Suggests: python-pyOpenSSL |
847024a8 | 35 | Suggests: python-sqlite |
5852d9d2 | 36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
beebb597 JB |
39 | Gajim is a Jabber client written in PyGTK. The goal of Gajim's |
40 | developers is to provide a full featured and easy to use XMPP client | |
41 | for the GTK+ users. Gajim does not require GNOME to run, eventhough it | |
42 | exists with it nicely. | |
5852d9d2 | 43 | |
b93a977b JR |
44 | %description -l pl.UTF-8 |
45 | Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest | |
46 | dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP | |
47 | dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć | |
48 | działa z nim ładnie. | |
5852d9d2 | 49 | |
50 | %prep | |
4d2c55e8 | 51 | %setup -q |
5852d9d2 | 52 | |
53 | %build | |
4d2c55e8 PZ |
54 | %{__intltoolize} |
55 | %{__aclocal} -I m4 | |
56 | %{__libtoolize} | |
57 | %{__autoheader} | |
58 | %{__autoconf} | |
59 | %{__automake} | |
60 | %{configure} | |
5852d9d2 | 61 | %{__make} \ |
c7665e23 | 62 | CC="%{__cc}" \ |
acf37287 | 63 | PREFIX=%{_prefix} \ |
4d00e833 | 64 | LIBDIR=/%{_lib} |
5852d9d2 | 65 | |
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} install \ | |
70 | PREFIX=%{_prefix} \ | |
4d00e833 | 71 | LIBDIR=/%{_lib} \ |
5852d9d2 | 72 | DESTDIR=$RPM_BUILD_ROOT |
73 | ||
5f33b669 | 74 | rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo} |
89c16923 | 75 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no |
5852d9d2 | 76 | |
006ce781 | 77 | %find_lang %{name} |
78 | ||
5852d9d2 | 79 | %clean |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
006ce781 | 82 | %files -f %{name}.lang |
5852d9d2 | 83 | %defattr(644,root,root,755) |
4d2c55e8 | 84 | %doc AUTHORS ChangeLog README THANKS |
5852d9d2 | 85 | %attr(755,root,root) %{_bindir}/* |
86 | %dir %{_libdir}/%{name} | |
87 | %attr(755,root,root) %{_libdir}/%{name}/*.so | |
1da30c2b | 88 | %{_datadir}/%{name} |
beebb597 JB |
89 | %{_desktopdir}/*.desktop |
90 | %{_mandir}/man1/* | |
7a74e812 | 91 | %{_pixmapsdir}/*.png |