File sugar-analyze.spec of Package sugar-analyze
#
# spec file for package sugar-analyze
#
# 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-analyze
Version: 8
%if 0%{?suse_version}
Release: 1
%else
Release: 4%{?dist}
%endif
Summary: Analysing tool for Sugar
License: GPL-2.0+
Url: http://wiki.laptop.org/go/Analyze
Group: Sugar/Activities
Source0: http://dev.laptop.org/pub/sugar/sources/Analyze/Analyze-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: python
BuildRequires: sugar-toolkit
Requires: sugar
%description
The Analyze activity helps developers analyze their system. Along with
Log Viewer and Terminal, one of three activities that used to make up
the developer console.
%prep
%setup -q -n Analyze-%{version}
%build
python ./setup.py build
%install
./setup.py install --prefix=%{buildroot}/%{_prefix}
%clean
rm -rf $%{buildroot}
%files
%defattr(-,root,root,-)
%doc README NEWS
%{sugaractivitydir}/Analyze.activity/
%changelog