Name: sugar-india Version: 2 Release: 2%{?dist} Summary: Game about the India geography License: GPLv3+ URL: http://activities.sugarlabs.org/en-US/sugar/addon/4587 Source0: http://download.sugarlabs.org/activities/4587/i_know_india-%{version}.xo BuildRequires: python sugar-toolkit gettext BuildArch: noarch Requires: sugar %description Game about the India geography. %prep %setup -q -n IknowIndia.activity sed -i -e '1i#!/usr/bin/python' recursos/0india/datos/*.py sed -i -e '1i#!/usr/bin/python' sugargame/*py sed -i -e '1i#!/usr/bin/python' recursos/comun/datos/*.py sed -i -e '1i#!/usr/bin/python' activity/activity.info %build %{__python} ./setup.py build %install %{__python} ./setup.py install --prefix=%{buildroot}/%{_prefix} %files %doc COPYING MANIFEST NEWS %{sugaractivitydir}/IknowIndia.activity/ %changelog * Thu Jul 26 2012 Danishka Navin - 2-2 - fixed shebang errors * Sun Jul 22 2012 Danishka Navin - 2-1 - initial packaging