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