telepathy-logger/telepathy-logger.spec

125 lines
4.4 KiB
RPMSpec

#
# spec file for package telepathy-logger
#
# 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-logger
Version: 0.2.10
Release: 1
License: LGPLv2.1+
Summary: Centralized Logging for the Telepathy Framework
Group: System/Libraries
Source: http://telepathy.freedesktop.org/releases/telepathy-logger/%{name}-%{version}.tar.bz2
BuildRequires: gnome-doc-utils-devel
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(telepathy-glib)
BuildRequires: python-xml
%glib2_gsettings_schema_requires
%description
tp-logger is a headless Observer client that logs information received by the
Telepathy framework. It features pluggable backends to log different sorts of
messages, in different formats.
tp-logger features a Telepathy-style D-Bus API to expose logs and interesting
information related to logging (most frequent contacts, etc.). It also provides
a GLib-compatible client API for making bulk log requests (e.g. for display
logs in applications without having to provide lots of information over D-Bus).
%package devel
License: LGPLv2.1+
Summary: Centralized Logging for the Telepathy Framework - Development Files
Group: Development/Languages/C and C++
Requires: libtelepathy-logger2 = %{version}
%description devel
tp-logger is a headless Observer client that logs information received by the
Telepathy framework. It features pluggable backends to log different sorts of
messages, in different formats.
tp-logger features a Telepathy-style D-Bus API to expose logs and interesting
information related to logging (most frequent contacts, etc.). It also provides
a GLib-compatible client API for making bulk log requests (e.g. for display
logs in applications without having to provide lots of information over D-Bus).
%package -n libtelepathy-logger2
License: LGPLv2.1+
Summary: Centralized Logging for the Telepathy Framework - Shared Library
Group: System/Libraries
%description -n libtelepathy-logger2
tp-logger is a headless Observer client that logs information received by the
Telepathy framework. It features pluggable backends to log different sorts of
messages, in different formats.
tp-logger features a Telepathy-style D-Bus API to expose logs and interesting
information related to logging (most frequent contacts, etc.). It also provides
a GLib-compatible client API for making bulk log requests (e.g. for display
logs in applications without having to provide lots of information over D-Bus).
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -delete -print
%post
%glib2_gsettings_schema_post
%postun
%glib2_gsettings_schema_postun
%post -n libtelepathy-logger2 -p /sbin/ldconfig
%postun -n libtelepathy-logger2 -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_libexecdir}/telepathy-logger
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Logger.service
%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Logger.service
%{_datadir}/glib-2.0/schemas/org.freedesktop.Telepathy.Logger.gschema.xml
%dir %{_datadir}/telepathy
%dir %{_datadir}/telepathy/clients
%{_datadir}/telepathy/clients/Logger.client
%files -n libtelepathy-logger2
%defattr(-, root, root)
%{_libdir}/libtelepathy-logger.so.*
%{_libdir}/girepository-1.0/TelepathyLogger-0.2.typelib
%files devel
%defattr(-, root, root)
%{_includedir}/telepathy-logger-0.2/
%{_libdir}/pkgconfig/telepathy-logger-0.2.pc
%{_libdir}/libtelepathy-logger.so
%{_datadir}/gtk-doc/html/telepathy-logger/
%{_datadir}/gir-1.0/TelepathyLogger-0.2.gir
%changelog