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 http://bugs.opensuse.org/
#


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
Url:            http://telepathy.freedesktop.org/wiki/
Source:         http://telepathy.freedesktop.org/releases/telepathy-salut/%{name}-%{version}.tar.gz
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

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

%prep
%setup -q

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

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

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README
%doc %{_docdir}/%{name}/clique.html
%dir %{_datadir}/telepathy
%dir %{_datadir}/telepathy/managers
%dir %{_libdir}/telepathy
%{_libdir}/telepathy/salut-0/
%{_libexecdir}/telepathy-salut
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.salut.service
%{_datadir}/telepathy/managers/salut.manager
%{_mandir}/man8/telepathy-salut.8%{?ext_man}

%changelog
openSUSE Build Service is sponsored by