File sugar-flipsticks-activity.spec of Package sugar-flipsticks-activity
#
# spec file for package sugar-flipsticks-activity
#
# 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/
#
%define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
Name: sugar-flipsticks-activity
Version: 13
%if 0%{?suse_version}
Release: 1
%else
Release: 1.20090216%{?dist}
%endif
License: GPL-2.0+
Summary: Using keyframes, program a stick figure to twist, turn, tumble and dance
Url: http://sugarlabs.org/
Group: Sugar/Activities
Source: http://download.sugarlabs.org/activities/4044/flip_sticks-%{version}.xo
Requires: sugar-toolkit >= 0.83.6
BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: sugar-toolkit >= 0.83.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Flipsticks is a NEW keyframe animation activity that lets you pose and program
a stick figure to walk, run, rotate, twist, tumble and dance. You can save
your animations to the journal and will soon be able to share them via
the mesh. Flipsticks can be used to explore concepts in geometry, computer
programming and animation; it helps develop spatial and analytical
thinking skills.
This is a WorldWideWorkshop project.
%prep
%setup -q -n FlipSticks.activity
%build
python \
setup.py \
build
%install
python \
setup.py \
install \
--prefix=%{buildroot}/%{_prefix}
%find_lang org.worldwideworkshop.olpc.FlipSticks
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%files -f org.worldwideworkshop.olpc.FlipSticks.lang
%defattr(-,root,root,-)
%{_datadir}/sugar/activities/*
%doc AUTHORS COPYING NEWS README TODO
%changelog