]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
fix plugin installer
[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.16.7
5 Release:        2
6 Epoch:          1
7 License:        GPL v3+
8 Group:          Applications/Communications
9 Source0:        http://gajim.org/downloads/0.16/%{name}-%{version}.tar.bz2
10 # Source0-md5:  08d6fc3025977700e5bafde12cda36f4
11 URL:            http://www.gajim.org/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-tools
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-nbxmpp
32 Requires:       python-pygtk-glade >= 2.8.0
33 Suggests:       dbus(org.freedesktop.Notifications)
34 Suggests:       gnome-keyring
35 Suggests:       gnupg2
36 Suggests:       gpgme >= 1.0.0
37 Suggests:       python-Crypto
38 Suggests:       python-avahi
39 Suggests:       python-dbus >= 0.82.1
40 Suggests:       python-gnome-desktop-keyring
41 Suggests:       python-gnome-gconf
42 Suggests:       python-gnome-ui
43 Suggests:       python-pyOpenSSL >= 0.9
44 Suggests:       python-pyasn1
45 Suggests:       python-modules-sqlite
46 # sr@Latn vs. sr@latin
47 Conflicts:      glibc-misc < 6:2.7
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
52 developers is to provide a full featured and easy to use XMPP client
53 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
54 exists with it nicely.
55
56 %description -l pl.UTF-8
57 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
58 dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
59 dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
60 działa z nim ładnie.
61
62 %prep
63 %setup -q
64
65 %build
66 %{__intltoolize}
67 %{__aclocal} -I m4
68 %{__libtoolize}
69 %{__autoheader}
70 %{__autoconf}
71 %{__automake}
72 %configure
73
74 %{__make} \
75         CC="%{__cc}" \
76         PREFIX=%{_prefix} \
77         LIBDIR=/%{_lib}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         PREFIX=%{_prefix} \
84         LIBDIR=/%{_lib} \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 cp -a plugins/plugin_installer/*.pem $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/plugin_installer/
88
89 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/nb_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 %{_desktopdir}/gajim-remote.desktop
111 %{_mandir}/man1/*.1*
112 %{_iconsdir}/hicolor/64x64/apps/gajim.png
113 %{_iconsdir}/hicolor/128x128/apps/gajim.png
114 %{_iconsdir}/hicolor/scalable/apps/gajim.svg
This page took 0.067681 seconds and 3 git commands to generate.