Name: sugar-visualmatch Version: 8 Release: 1%{?dist} Summary: A visual matching game Group: Sugar/Activities License: GPLv3 URL: http://wiki.sugarlabs.org/go/Activities/VisualMatch Source0: http://download.sugarlabs.org/sources/honey/Visualmatch/VisualMatch-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python sugar-toolkit BuildArch: noarch Requires: sugar %description The object is to find sets of three cards where each attribute—color, shape, number of elements, and shading—either match on all three cards or are different on all three cards. The current version doesn't yet support sharing with multiple players or saving to the Journal, but it can be played by a single player. %prep %setup -q -n VisualMatch-%{version} %build python ./setup.py build %install rm -rf $RPM_BUILD_ROOT python ./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix} chmod 0644 $RPM_BUILD_ROOT/%{sugaractivitydir}/VisualMatch.activity/gen-cards.py %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING NEWS %{sugaractivitydir}/VisualMatch.activity/ %changelog * Sun Dec 06 2009 Sebastian Dziallas - 8-1 - initial packaging