File sugar-presence-service.spec of Package sugar-presence-service
#
# spec file for package sugar-presence-service
#
# Copyright (c) 2013 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: sugar-presence-service
Version: 0.90.2
%if 0%{?suse_version}
Release: 1
%else
Release: 1%{?dist}
%endif
License: GPL-2.0+
Summary: Sugar presence service
Url: http://sugarlabs.org/
Group: Development/Libraries/Other
Source: http://download.sugarlabs.org/sources/sucrose/glucose/sugar-presence-service/sugar-presence-service-%{version}.tar.bz2
Requires: avahi
Requires: dbus-1-python
Requires: gnutls >= 2.4
Requires: python
Requires: python-gconf
Requires: python-gobject2
Requires: python-telepathy >= 0.15.7
Requires: sugar-base >= 0.96.0
Requires: telepathy-gabble
Requires: telepathy-salut
BuildRequires: fdupes
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Sugar presence service.
%prep
%setup -q
%build
%define __libtoolize true
%configure
make %{?_smp_mflags}
%install
%make_install
%fdupes -s %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%dir %{_datadir}/dbus-1
%dir %{_datadir}/dbus-1/services
%{_datadir}/sugar-presence-service
%attr(755,root,root) %{_datadir}/sugar-presence-service/main.py
%{_datadir}/dbus*/services/*
%{_bindir}/*
%doc COPYING NEWS
%changelog