2014-10-26 11:55:33 +01:00
|
|
|
#
|
|
|
|
# spec file for package gajim
|
|
|
|
#
|
2015-02-10 22:57:11 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-10-26 11:55:33 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define _version 0.16
|
|
|
|
Name: gajim
|
2015-08-02 13:29:41 +02:00
|
|
|
Version: 0.16.3
|
2014-10-26 11:55:33 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Full-featured XMPP client written in Python and Gtk2
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Networking/Talk/Clients
|
|
|
|
Url: http://gajim.org/
|
|
|
|
Source: http://gajim.org/downloads/%{_version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
Requires: dbus-1-python
|
|
|
|
Requires: python-gtk >= 2.2
|
2015-03-02 00:23:56 +01:00
|
|
|
Requires: python-nbxmpp >= 0.5.2
|
2014-10-26 11:55:33 +01:00
|
|
|
Requires: python-pyOpenSSL >= 0.12
|
|
|
|
Requires: python-pyasn1
|
|
|
|
Requires: python-xml
|
2015-08-02 13:29:41 +02:00
|
|
|
Recommends: %{name}-lang
|
2014-10-26 11:55:33 +01:00
|
|
|
# nslookup for SRV support.
|
|
|
|
Recommends: bind-utils
|
|
|
|
Recommends: gtkspell
|
2015-02-10 22:57:11 +01:00
|
|
|
# VoIP support.
|
|
|
|
Recommends: python-farstream-0_1
|
|
|
|
# End-to-end encryption.
|
2014-10-26 11:55:33 +01:00
|
|
|
Recommends: python-pycrypto
|
|
|
|
# zeroconf support.
|
|
|
|
Suggests: dbus-1-glib
|
|
|
|
# KWallet support.
|
|
|
|
Suggests: kwalletcli
|
|
|
|
# Idle module.
|
|
|
|
Suggests: libXss1
|
2015-02-10 22:57:11 +01:00
|
|
|
Suggests: python-avahi
|
|
|
|
# GNOME Keyring support.
|
|
|
|
Suggests: python-gnomekeyring
|
2014-10-26 11:55:33 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
The goal of Gajim is to provide a full featured and easy to use
|
2015-03-02 00:23:04 +01:00
|
|
|
Jabber/XMPP client. Gajim works nicely with MATE and GNOME, but does
|
2014-10-26 11:55:33 +01:00
|
|
|
require neither to run.
|
|
|
|
|
|
|
|
Features:
|
2015-08-02 13:29:41 +02:00
|
|
|
* Tabbed chat window and single window modes
|
|
|
|
* Group chat support (with Multi-User Chat protocol), invitation,
|
|
|
|
chat to group chat transformation, minimize group chat to roster
|
|
|
|
* Emoticons, avatars, PEP (user activity, mood and tune)
|
|
|
|
* Audio / video conferences
|
|
|
|
* File transfer, room bookmarks
|
|
|
|
* Metacontacts support
|
|
|
|
* Trayicon, speller, extended chat history functionalities
|
|
|
|
* TLS, GPG and End-To-End encryption support (with SSL legacy support)
|
|
|
|
* Transport registration support
|
|
|
|
* Service discovery including nodes, user search
|
|
|
|
* Wikipedia, dictionary and search engine lookup
|
|
|
|
* Multiple accounts support
|
|
|
|
* DBus capabilities. Read more information
|
|
|
|
* XML console
|
|
|
|
* Link local (bonjour / zeroconf), BOSH
|
|
|
|
* Other features via plugins
|
2014-10-26 11:55:33 +01:00
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
sed -i '/^_Keywords/d' data/%{name}.desktop.in.in
|
|
|
|
|
|
|
|
%build
|
|
|
|
export PYTHON=python2
|
|
|
|
autoreconf -fi
|
2015-03-02 00:23:04 +01:00
|
|
|
%configure \
|
2015-07-26 00:25:19 +02:00
|
|
|
--prefix=%{_prefix} \
|
2015-03-02 00:23:04 +01:00
|
|
|
--enable-site-packages
|
2014-10-26 11:55:33 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
dirname $(find %{buildroot}%{python_sitelib} -name '*.py') | sort -u | while read dir; do
|
|
|
|
pushd "$dir"
|
|
|
|
# Fix python-bytecode-inconsistent-mtime (hacky).
|
|
|
|
rm -f *.pyc *.pyo
|
|
|
|
touch -c *.py
|
|
|
|
%py_compile .
|
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
|
|
|
%suse_update_desktop_file -r %{name} Network InstantMessaging
|
|
|
|
%fdupes %{buildroot}
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-03-02 00:23:04 +01:00
|
|
|
%doc AUTHORS ChangeLog COPYING README.html THANKS*
|
2014-10-26 11:55:33 +01:00
|
|
|
%{_bindir}/%{name}*
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
%{python_sitelib}/%{name}/
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2015-02-10 22:57:11 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/*/*
|
2015-07-26 00:25:19 +02:00
|
|
|
%{_mandir}/man?/%{name}*%{?ext_man}
|
2014-10-26 11:55:33 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|