|
|
d6c478c |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
d6c478c |
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
|
|
b6034ec |
|
|
|
b6034ec |
Name: sugar-abacus
|
|
|
bccae45 |
Version: 54
|
|
|
0093da7 |
Release: 1%{?dist}
|
|
|
b6034ec |
Summary: A simple abacus activity for Sugar
|
|
|
b6034ec |
|
|
|
b6034ec |
Group: Sugar/Activities
|
|
|
b6034ec |
License: LGPLv3+
|
|
|
b6034ec |
URL: http://activities.sugarlabs.org/addon/4293
|
|
|
4178fcf |
Source0: http://download.sugarlabs.org/sources/honey/Abacus/Abacus-%{version}.tar.bz2
|
|
|
b6034ec |
|
|
|
e91f7af |
BuildArch: noarch
|
|
|
8f9308f |
BuildRequires: python-devel
|
|
|
21ae249 |
BuildRequires: sugar-base
|
|
|
c995624 |
BuildRequires: sugar-toolkit-gtk3
|
|
|
8f9308f |
BuildRequires: gettext
|
|
|
4545a39 |
Requires: sugar >= 0.96.0
|
|
|
b6034ec |
|
|
|
b6034ec |
%description
|
|
|
b6034ec |
Abacus lets the learner explore different representations of numbers using
|
|
|
b6034ec |
different mechanical counting systems developed by the ancient Romans and
|
|
|
b6034ec |
Chinese. There are several different variants available for exploration: a
|
|
|
b6034ec |
suanpan, the traditional Chinese abacus with 2 beads on top and 5 beads below;
|
|
|
b6034ec |
a soroban, the traditional Japanese abacus with 1 bead on top and 4 beads below;
|
|
|
e91f7af |
the schety, the traditional Russian abacus, with 10 beads per column, with the
|
|
|
b6034ec |
exception of one column with just 4 beads used for counting in fourths; and the
|
|
|
b6034ec |
nepohualtzintzin, the traditional Mayan abacus, with 3 beads on top and 4 beads
|
|
|
b6034ec |
below (it uses base 20).
|
|
|
b6034ec |
|
|
|
b6034ec |
%prep
|
|
|
658a5b6 |
%setup -q -n Abacus-%{version}
|
|
|
b6034ec |
|
|
|
b6034ec |
%build
|
|
|
b6034ec |
python ./setup.py build
|
|
|
8f9308f |
|
|
|
8f9308f |
# %find_lang org.sugarlabs.AbacusActivity
|
|
|
b6034ec |
|
|
|
b6034ec |
%install
|
|
|
d6c478c |
python ./setup.py install --prefix=%{buildroot}/%{_prefix}
|
|
|
b6034ec |
|
|
|
8f9308f |
%find_lang org.sugarlabs.AbacusActivity
|
|
|
8f9308f |
|
|
|
e6435bd |
%files -f org.sugarlabs.AbacusActivity.lang
|
|
|
b6034ec |
%defattr(-,root,root,-)
|
|
|
b6034ec |
%doc COPYING NEWS
|
|
|
b6034ec |
%{sugaractivitydir}/Abacus.activity/
|
|
|
b6034ec |
|
|
|
b6034ec |
%changelog
|
|
|
bccae45 |
* Sat Dec 21 2013 Peter Robinson <pbrobinson@fedoraproject.org> 54-1
|
|
|
bccae45 |
- Release 54
|
|
|
bccae45 |
|
|
|
0093da7 |
* Tue Nov 12 2013 Peter Robinson <pbrobinson@fedoraproject.org> 53-1
|
|
|
0093da7 |
- Release 53
|
|
|
0093da7 |
|
|
|
93f7fc2 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 49-2
|
|
|
93f7fc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
93f7fc2 |
|
|
|
a59bcc6 |
* Sun May 26 2013 Peter Robinson <pbrobinson@fedoraproject.org> 49-1
|
|
|
a59bcc6 |
- Release 49
|
|
|
a59bcc6 |
|
|
|
5f28e0f |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 43-2
|
|
|
5f28e0f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5f28e0f |
|
|
|
8db15ae |
* Mon Nov 26 2012 Kalpa Welivitigoda <callkalpa@gmail.com> - 43-1
|
|
|
e80b39e |
- Release 43
|
|
|
e80b39e |
|
|
|
9cef83a |
* Sun Nov 4 2012 Peter Robinson <pbrobinson@fedoraproject.org> 41-1
|
|
|
9cef83a |
- Release 41
|
|
|
9cef83a |
|
|
|
485eebd |
* Tue Oct 2 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 39-1
|
|
|
485eebd |
- Release 39
|
|
|
485eebd |
|
|
|
4545a39 |
* Fri Sep 28 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 37-1
|
|
|
4545a39 |
- Release 37
|
|
|
824eb52 |
|
|
|
d1426b4 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 35-2
|
|
|
d1426b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
d1426b4 |
|
|
|
8496d51 |
* Sat May 5 2012 Kalpa Welivitigoda <callkalpa@gmail.com> - 35-1
|
|
|
8496d51 |
- Release 35
|
|
|
8496d51 |
|
|
|
f426f23 |
* Thu May 3 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 34-1
|
|
|
f426f23 |
- Release 34
|
|
|
f426f23 |
|
|
|
21ae249 |
* Tue Mar 20 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 32-1
|
|
|
21ae249 |
- Release 32
|
|
|
21ae249 |
|
|
|
c995624 |
* Tue Jan 3 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 31-1
|
|
|
c995624 |
- Release 31, gtk3 support
|
|
|
c995624 |
|
|
|
ee6c602 |
* Mon Oct 31 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 28-1
|
|
|
ee6c602 |
- Release 28
|
|
|
ee6c602 |
|
|
|
42dac40 |
* Tue Oct 11 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 26-1
|
|
|
42dac40 |
- Release 26
|
|
|
42dac40 |
|
|
|
f16bfd2 |
* Sat Oct 1 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 24-1
|
|
|
f16bfd2 |
- Update to 24
|
|
|
f16bfd2 |
|
|
|
d6c478c |
* Mon Sep 26 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 23-1
|
|
|
d6c478c |
- Update to 23
|
|
|
d6c478c |
|
|
|
d6c478c |
* Wed Aug 10 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 22-1
|
|
|
45b5f67 |
- Update to 22
|
|
|
45b5f67 |
|
|
|
fd52080 |
* Sat Jun 25 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 20-1
|
|
|
042c873 |
- Update to 20
|
|
|
042c873 |
|
|
|
db09a89 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 19-2
|
|
|
db09a89 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
db09a89 |
|
|
|
d6c478c |
* Mon Jan 31 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 19-1
|
|
|
b6034ec |
- Update to 19
|
|
|
b6034ec |
|
|
|
d6c478c |
* Mon Sep 27 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 17-1
|
|
|
b6034ec |
- Update to 17
|
|
|
b6034ec |
|
|
|
fd52080 |
* Fri Jun 25 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 14-1
|
|
|
b6034ec |
- Update to 14
|
|
|
b6034ec |
|
|
|
d6c478c |
* Sat Jun 19 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 13-2
|
|
|
b6034ec |
- Some spec file cleanups
|
|
|
b6034ec |
|
|
|
d6c478c |
* Thu Jun 10 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 13-1
|
|
|
b6034ec |
- Update to version 13
|
|
|
b6034ec |
|
|
|
d6c478c |
* Thu Jun 10 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 12-1
|
|
|
b6034ec |
- Initial package of abacus
|