File telepathy-salut.spec of Package telepathy-salut

#
# spec file for package telepathy-salut
#
# Copyright (c) 2011 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.6.0
Release:        1
License:        GPLv2+
Summary:        Link-local XMPP connection manager for Telepathy
Url:            http://telepathy.freedesktop.org/wiki/
Group:          System/Libraries
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
BuildRequires:  libsoup-devel
BuildRequires:  libxml2-devel
BuildRequires:  libxslt
BuildRequires:  python-xml
BuildRequires:  telepathy-glib-devel
BuildRequires:  pkgconfig(gnutls)
BuildRequires:  pkgconfig(sqlite3)
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.

%package doc
License:        GPLv2+
Summary:        Link-local XMPP connection manager for Telepathy (documentation)
Group:          Documentation/Other
Requires:       %{name} = %{version}

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

This package contains the documentation.

%prep
%setup -q

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

%install
%make_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

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

%files
%defattr(-,root,root)
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.salut.service
%dir %{_datadir}/telepathy
%dir %{_datadir}/telepathy/managers
%{_datadir}/telepathy/managers/salut.manager
%{_libexecdir}/telepathy-salut
%{_mandir}/man8/telepathy-salut.8.gz

%files doc
%defattr (-,root,root)
%{_docdir}/%{name}

%changelog
openSUSE Build Service is sponsored by