File sugar-bounce-activity.spec of Package sugar-bounce-activity
#
# spec file for package sugar-bounce-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-bounce-activity
Version: 7
%if 0%{?suse_version}
Release: 1
%else
Release: 1.20090421%{?dist}
%endif
License: GPL-3.0+
Summary: Bounce is a fast paced 3D action game for the XO laptop
Url: http://sugarlabs.org/
Group: Sugar/Activities
# wget --no-clobber --continue 'http://git.sugarlabs.org/projects/bounce/repos/package/archive/b6e61a21abf6c1845b4e94daa776d6494104bb1c.tar.gz' -O sugar-bounce-activity-6-20090421.tar.gz
Source: sugar-bounce-activity-7.tar.bz2
# PATCH-FIX-UPSTREAM -- install below libdir
Patch0: fix-install.patch
Requires: gstreamer-0_10
Requires: python
Requires: python-gtk
Requires: python-json
Requires: python-pygame
Requires: sugar-toolkit >= 0.83.6
BuildRequires: gcc-c++
BuildRequires: python-devel
BuildRequires: python-gtk-devel
BuildRequires: sugar-toolkit >= 0.83.6
BuildRequires: swig
BuildRequires: pkgconfig(gstreamer-0.10)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The game is analogous to the arcade game Pong, however it takes place within
a three dimensional box with physical effects such as gravity.
Additionally, Bounce features an editor which allows children to create
their own version of the game.
Bounce was initially called 3dpong, and was written during the 2007 Boston
Game Jam where it took second prize.
%prep
%setup -q -n sugar-bounce-activity-7
%patch0 -p1
#remove generated file
make clean
%build
%install
%make_install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_datadir}/sugar/activities/*
%{python_sitelib}/*
%doc NEWS TODO