diff --git a/gajim.spec b/gajim.spec index 37198d3..87acf64 100644 --- a/gajim.spec +++ b/gajim.spec @@ -12,28 +12,25 @@ URL: http://gajim.org/ Source0: http://gajim.org/downloads/%{majorver}/%{name}-%{version}%{?prever}.tar.bz2 BuildArch: noarch -Requires: dbus-python -# Audio/Video calls: -Requires: farstream-python -Requires: gstreamer-python -Requires: gupnp-igd-python +## Hard requirements Requires: pygobject2 Requires: pygtk2 +Requires: python-nbxmpp >= 0.5.3 Requires: hicolor-icon-theme -Requires: notify-python +## Optional, but highly recommended +# Secure connection to server Requires: pyOpenSSL -Requires: python-avahi +# Certificate verification +Requires: python-pyasn1 +# End to End message encryption Requires: python-crypto -Requires: python-gnupg +## Optional, but not too big and not worth exploding the test matrix for +# For gajim-remote, desktop notifications, logind, NetworkManager, ... +Requires: dbus-python +# Async DNS resolver (though Gajim has a fallback: spawn 'host' or 'nslookup') Requires: python-libasyncns -Requires: python-nbxmpp >= 0.5.3 -Requires: python-pyasn1 +# For downloading images via proxy or OAUTH2 authentication via proxy Requires: python-pycurl - -# these are dlopen'd using ctypes find_library/LoadLibrary: -Requires: gtkspell -Requires: libXScrnSaver - # Optional features with significatly sized deps. Gajim detects them at # runtime. Intentionally not as hard deps. # XXX: Gajim could install them using PackageKit when really necessary. @@ -41,6 +38,29 @@ Requires: libXScrnSaver #Requires: gnome-python2-gnomekeyring # RST Generator: #Requires: python-docutils +## Optional +# Play event sounds +Recommends: /usr/bin/paplay +# UPnP-IGD - Ability to request your router to forward port for file transfer +Recommends: gupnp-igd-python +# Desktop notifications (Gajim uses org.freedesktop.Notifications interface) +# XXX This just pulls in a random desktop environment implementing the notify interface +# (e.g. cinnamon). Even as a weak dependency this is useless. +#Recommends: desktop-notification-daemon +# XXX Even with libasyncns Gajim still wants to see nslookup in PATH in order to +# show the SRV feature as supported. This may be an upstream bug. +Recommends: /usr/bin/nslookup +# Bonjour / Zeroconf - Serverless chatting with autodetected clients in a local network +Recommends: python-avahi +# OpenPGP message encryption - Encrypting chat messages with OpenPGP keys +Recommends: python-gnupg +# Automatic status - Ability to measure idle time, in order to set auto status (lib dlopened using ctypes) +Recommends: libXScrnSaver +# Spell checker - Spellchecking of composed messages (lib dlopened using ctypes) +Recommends: gtkspell +# Audio / Video - Ability to start audio and video chat +Recommends: farstream-python +Recommends: gstreamer-python BuildRequires: python2-devel BuildRequires: desktop-file-utils