File telepathy-gabble.spec of Package telepathy-gabble

#
# spec file for package telepathy-gabble
#
# 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-gabble
Version:        0.10.4
Release:        3.<RELEASE2>
License:        LGPLv2.1+
Summary:        XMPP connection manager for Telepathy
Url:            http://telepathy.freedesktop.org/wiki/
Group:          Productivity/Networking/Instant Messenger
Source:         %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM telepathy-gabble-CVE-2011-1000.patch CVE-2011-1000 bnc#673257 fdo#34048 vuntz@opensuse.org -- insufficient input validation, taken from upstream
Patch0:         telepathy-gabble-CVE-2011-1000.patch
BuildRequires:  dbus-1-glib-devel
BuildRequires:  libgnutls-devel
BuildRequires:  libnice-devel
BuildRequires:  libsoup-devel
BuildRequires:  libxslt-devel
BuildRequires:  python-xml
BuildRequires:  sqlite3-devel
BuildRequires:  telepathy-glib-devel
Recommends:     ca-certificates
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Gabble is a Jabber/XMPP connection manager for the Telepathy framework,
currently supporting single user chats, multi user chats and
voice/video calls. Install this package to use Telepathy instant
messaging clients with Jabber/XMPP servers, including Google Talk.

%package doc
License:        LGPLv2.1+
Summary:        XMPP connection manager for Telepathy (documentation)
Group:          Documentation/Other
Requires:       %{name} = %{version}

%description doc
Gabble is a Jabber/XMPP connection manager for the Telepathy framework,
currently supporting single user chats, multi user chats and
voice/video calls. Install this package to use Telepathy instant
messaging clients with Jabber/XMPP servers, including Google Talk.

This package contain the documentation.

%prep
%setup -q
%patch0 -p1

%build
%configure \
        --disable-static \
        --docdir=%{_docdir}/%{name} \
        --with-ca-certificates=%{_sysconfdir}/ssl/ca-bundle.pem
make %{?jobs:-j %jobs}

%install
%makeinstall
find %{buildroot} -type f -name "*.la" -delete -print
cp AUTHORS ChangeLog COPYING %{buildroot}%{_docdir}/%{name}

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

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

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

%changelog