File zeitgeist-datahub.spec of Package zeitgeist-datahub
#
# spec file for package zeitgeist-datahub
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (C) 2011 Federico Mena Quintero
#
# 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-datahub
Version: 0.7.0
Release: 1
License: GPLv3+
Summary: Passive logging daemon for Zeitgeist
Url: https://launchpad.net/zeitgeist-datahub
Group: Productivity/Other
Source: %{name}-%{version}.tar.gz
BuildRequires: intltool
BuildRequires: update-desktop-files
BuildRequires: vala
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(zeitgeist-1.0)
Requires: zeitgeist
Recommends: %{name}-lang
Supplements: zeitgeist
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The datahub provides passive plugins which insert events into
Zeitgeist.
%lang_package
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%find_lang %{name}
%suse_update_desktop_file zeitgeist-datahub
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS
%{_bindir}/zeitgeist-datahub
%{_sysconfdir}/xdg/autostart/zeitgeist-datahub.desktop
%{_mandir}/man1/zeitgeist-datahub.1*
%files lang -f %{name}.lang
%changelog