%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} Name: sugar-abacus Version: 49 Release: 1%{?dist} Summary: A simple abacus activity for Sugar Group: Sugar/Activities License: LGPLv3+ URL: http://activities.sugarlabs.org/addon/4293 Source0: http://download.sugarlabs.org/sources/honey/Abacus/Abacus-%{version}.tar.bz2 BuildArch: noarch BuildRequires: python-devel BuildRequires: sugar-base BuildRequires: sugar-toolkit-gtk3 BuildRequires: gettext Requires: sugar >= 0.96.0 %description Abacus lets the learner explore different representations of numbers using different mechanical counting systems developed by the ancient Romans and Chinese. There are several different variants available for exploration: a suanpan, the traditional Chinese abacus with 2 beads on top and 5 beads below; a soroban, the traditional Japanese abacus with 1 bead on top and 4 beads below; the schety, the traditional Russian abacus, with 10 beads per column, with the exception of one column with just 4 beads used for counting in fourths; and the nepohualtzintzin, the traditional Mayan abacus, with 3 beads on top and 4 beads below (it uses base 20). %prep %setup -q -n Abacus-%{version} %build python ./setup.py build # %find_lang org.sugarlabs.AbacusActivity %install python ./setup.py install --prefix=%{buildroot}/%{_prefix} %find_lang org.sugarlabs.AbacusActivity %files -f org.sugarlabs.AbacusActivity.lang %defattr(-,root,root,-) %doc COPYING NEWS %{sugaractivitydir}/Abacus.activity/ %changelog * Sun May 26 2013 Peter Robinson 49-1 - Release 49 * Fri Feb 15 2013 Fedora Release Engineering - 43-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Nov 26 2012 Kalpa Welivitigoda - 43-1 - Release 43 * Sun Nov 4 2012 Peter Robinson 41-1 - Release 41 * Tue Oct 2 2012 Peter Robinson - 39-1 - Release 39 * Fri Sep 28 2012 Peter Robinson - 37-1 - Release 37 * Sat Jul 21 2012 Fedora Release Engineering - 35-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat May 5 2012 Kalpa Welivitigoda - 35-1 - Release 35 * Thu May 3 2012 Peter Robinson - 34-1 - Release 34 * Tue Mar 20 2012 Peter Robinson - 32-1 - Release 32 * Tue Jan 3 2012 Peter Robinson - 31-1 - Release 31, gtk3 support * Mon Oct 31 2011 Peter Robinson - 28-1 - Release 28 * Tue Oct 11 2011 Peter Robinson - 26-1 - Release 26 * Sat Oct 1 2011 Peter Robinson - 24-1 - Update to 24 * Mon Sep 26 2011 Peter Robinson - 23-1 - Update to 23 * Wed Aug 10 2011 Peter Robinson - 22-1 - Update to 22 * Sat Jun 25 2011 Peter Robinson - 20-1 - Update to 20 * Wed Feb 09 2011 Fedora Release Engineering - 19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jan 31 2011 Peter Robinson - 19-1 - Update to 19 * Mon Sep 27 2010 Peter Robinson - 17-1 - Update to 17 * Fri Jun 25 2010 Peter Robinson - 14-1 - Update to 14 * Sat Jun 19 2010 Peter Robinson - 13-2 - Some spec file cleanups * Thu Jun 10 2010 Peter Robinson - 13-1 - Update to version 13 * Thu Jun 10 2010 Peter Robinson - 12-1 - Initial package of abacus