Name: sugar-countries Version: 33 Release: 2%{?dist} Summary: A game to play with identifying countries Group: Sugar/Activities License: GPLv3+ URL: http://activities.sugarlabs.org/en-US/sugar/addon/4528 Source0: http://activities.sugarlabs.org/downloads/file/27834/countries-%{version}.xo BuildRequires: python sugar-toolkit gettext BuildArch: noarch Requires: sugar %description Countries is a game where players have to type in a country for each letter of the alphabet. Successes are rewarded with the display of the country's flag. The activity consists of the English names of 212 countries. %prep %setup -q -n Countries.activity chmod +x Countries.py sed -i 's/\r//' Countries.py %build %{__python} ./setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} ./setup.py install --prefix=%{buildroot}/%{_prefix} %files %defattr(-,root,root,-) %{sugaractivitydir}/Countries.activity/ %changelog * Sat Mar 10 2012 Kalpa Welivitigoda - 33-2 - changed url - removed chmod +x for setup.py in prep * Sun Feb 19 2012 Kalpa Welivitigoda - 33-1 - initial packaging