# # spec file for package telepathy-logger (Version 0.1.7) # # Copyright (c) 2010 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.1.7 Release: 1 License: GPLv2 Summary: Centralized Logging for the Telepathy Framework Group: System/Libraries Source: %{name}-%{version}.tar.bz2 BuildRequires: gnome-doc-utils-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: GPLv2 Summary: Centralized Logging for the Telepathy Framework - Development Files Group: Development/Languages/C and C++ Requires: libtelepathy-logger1 = %{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-logger1 License: GPLv2 Summary: Centralized Logging for the Telepathy Framework - Shared Library Group: System/Libraries %description -n libtelepathy-logger1 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_flag} %install %makeinstall find %{buildroot}%{_libdir} -name '*.la' -delete -print %post %glib2_gsettings_schema_post %postun %glib2_gsettings_schema_postun %post -n libtelepathy-logger1 -p /sbin/ldconfig %postun -n libtelepathy-logger1 -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-logger1 %defattr(-, root, root) %{_libdir}/libtelepathy-logger.so.* %files devel %defattr(-, root, root) %{_includedir}/telepathy-logger-0.1/ %{_libdir}/pkgconfig/telepathy-logger-0.1.pc %{_libdir}/libtelepathy-logger.so %{_datadir}/gtk-doc/html/telepathy-logger/ %changelog