File telepathy-salut.spec of Package telepathy-salut

# spec file for package telepathy-salut
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

Name:           telepathy-salut
Version:        0.8.1
Release:        0
# FIXME: check if libgcrypt-devel BuildRequires is really needed (see fdo#43992). Last checked: 0.7.0.
Summary:        Link-local XMPP connection manager for Telepathy
License:        LGPL-2.1+ and MIT
Group:          System/Libraries
BuildRequires:  dbus-1-glib-devel
BuildRequires:  libavahi-glib-devel
BuildRequires:  libavahi-gobject-devel
# FIXME: Not sure it's totally right, but there's an include for gcrypt.h. Follow upstream bug: fdo#43992
BuildRequires:  libgcrypt-devel
BuildRequires:  libsoup-devel
BuildRequires:  libxml2-devel
BuildRequires:  libxslt
BuildRequires:  python-avahi
BuildRequires:  python-xml
BuildRequires:  telepathy-glib-devel
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(glib-2.0) >= 2.24
BuildRequires:  pkgconfig(gnutls)
BuildRequires:  pkgconfig(gobject-2.0) >= 2.16
BuildRequires:  pkgconfig(gthread-2.0) >= 2.4
BuildRequires:  pkgconfig(sqlite3)
BuildRequires:  pkgconfig(uuid)
# doc subpackage removed during 12.2 development
Provides:       %{name}-doc = %{version}
Obsoletes:      %{name}-doc < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

A connection manager for Telepathy that implements peer to peer XMPP
using local-link as done by and compatible with Apple Bonjour(tm) chat.

%setup -q

%configure --disable-static --docdir=%{_docdir}/%{name}
make %{?_smp_mflags}

find %{buildroot} -type f -name "*.la" -delete -print

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%{__rm} -rf %{buildroot}

%doc %{_docdir}/%{name}/clique.html
%dir %{_datadir}/telepathy
%dir %{_datadir}/telepathy/managers
%dir %{_libdir}/telepathy

openSUSE Build Service is sponsored by