blob: 6e54b37efd76a1ab639c771f1b03b8353f4324c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
|
# TODO
# - --disable-coca flag for configure seems to be broken, so
# I've added BC: gnustep-gui-devel. Of course better solution
# is to fix configure.*
Summary: A Jabber client written in PyGTK
Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK
Name: gajim
Version: 0.14.4
Release: 0.1
Epoch: 1
License: GPL v3+
Group: Applications/Communications
Source0: http://gajim.org/downloads/0.14/%{name}-%{version}.tar.bz2
# Source0-md5: b6b88b084de38d9fb34d39c37d4f185b
Patch0: %{name}-keyring-bug.patch
URL: http://www.gajim.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: gtkspell-devel
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: python-pygtk-devel >= 2.8.0
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.177
BuildRequires: xorg-lib-libSM-devel
BuildRequires: xorg-lib-libXScrnSaver-devel
Requires: python-modules-sqlite
%pyrequires_eq python-modules
%pyrequires_eq python
BuildConflicts: gnustep-gui-devel
Requires: python-dns
Requires: python-docutils >= 0.4-2
Requires: python-pygtk-glade >= 2.8.0
Suggests: dbus(org.freedesktop.Notifications)
Suggests: gnome-keyring
Suggests: gnupg2
Suggests: gpgme >= 1.0.0
Suggests: python-Crypto
Suggests: python-avahi
Suggests: python-dbus >= 0.82.1
Suggests: python-farsight2
Suggests: python-gnome-desktop-keyring
Suggests: python-gnome-gconf
Suggests: python-gnome-ui
Suggests: python-gstreamer
Suggests: python-pyOpenSSL >= 0.9
Suggests: python-sexy
Suggests: python-sqlite
# sr@Latn vs. sr@latin
Conflicts: glibc-misc < 6:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Gajim is a Jabber client written in PyGTK. The goal of Gajim's
developers is to provide a full featured and easy to use XMPP client
for the GTK+ users. Gajim does not require GNOME to run, eventhough it
exists with it nicely.
%description -l pl.UTF-8
Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
działa z nim ładnie.
%prep
%setup -q
%patch0 -p1
%build
%{__intltoolize}
%{__aclocal} -I m4
%{__libtoolize}
%{__autoheader}
%{__autoconf}
%{__automake}
%configure
%{__make} \
CC="%{__cc}" \
PREFIX=%{_prefix} \
LIBDIR=/%{_lib}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
PREFIX=%{_prefix} \
LIBDIR=/%{_lib} \
DESTDIR=$RPM_BUILD_ROOT
%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/no
[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README THANKS THANKS.artists
%attr(755,root,root) %{_bindir}/gajim*
%{_datadir}/%{name}
%{_desktopdir}/gajim.desktop
%{_mandir}/man1/*.1*
%{_iconsdir}/hicolor/64x64/apps/gajim.png
%{_iconsdir}/hicolor/scalable/apps/gajim.svg
%{_docdir}/gajim
|