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