File zeitgeist.spec of Package zeitgeist

#
# spec file for package zeitgeist
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# 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:           zeitgeist
Version:        0.9.0.1
Release:        0
Summary:        Zeitgeist Engine
License:        LGPL-2.1+
Group:          Productivity/Other
Url:            https://launchpad.net/zeitgeist
Source:         https://launchpad.net/zeitgeist/0.9/0.9.0.1/+download/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM zeitgeist-gmodule.patch dimstar@opensuse.org -- Check for gmodule, taken from upstream, commit r501.
Patch0:         zeitgeist-gmodule.patch
BuildRequires:  fdupes
BuildRequires:  intltool
# Needed for patch0
BuildRequires:  libtool
BuildRequires:  libxapian-devel
BuildRequires:  python
BuildRequires:  python-rdflib
BuildRequires:  python-xml
BuildRequires:  raptor
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.26.0
BuildRequires:  pkgconfig(glib-2.0) >= 2.26.0
BuildRequires:  pkgconfig(gobject-2.0) >= 2.26.0
BuildRequires:  pkgconfig(sqlite3) >= 3.7
Requires:       python-xdg
Requires:       python-xml
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Zeitgeist is a service that logs the users activity. The log can be
queried and managed in various ways over a DBus API.

This is the Zeitgeist backend engine.

%lang_package
%prep
%setup -q
%patch0 -p1

%build
# Needed for patch0
autoreconf -fi
%configure
make %{?_smp_mflags}

%install
%make_install
# We have the NEWS and AUTHORS in package doc
rm -rf %{buildroot}%{_prefix}/doc
%fdupes %{buildroot}%{python_sitelib}

%files
%defattr(-,root,root)
%doc AUTHORS NEWS COPYING
%{_bindir}/zeitgeist*
%{python_sitelib}/zeitgeist/
%{_datadir}/dbus-1/services/org.gnome.zeitgeist.service
%{_mandir}/man?/*.*
%{_datadir}/zeitgeist/
%{_libexecdir}/zeitgeist-fts
%{_datadir}/dbus-1/services/org.gnome.zeitgeist.fts.service

%files lang

%changelog
openSUSE Build Service is sponsored by