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
2657b26
Name:           sugar-abacus
93b08f4
Version:        60
27b30e4
Release:        2%{?dist}
2657b26
Summary:        A simple abacus activity for Sugar
2657b26
2657b26
License:        LGPLv3+
2657b26
URL:            http://activities.sugarlabs.org/addon/4293
2657b26
Source0:        https://github.com/sugarlabs/activity-abacus/archive/v%{version}.tar.gz
2657b26
2657b26
BuildArch:      noarch
69519ea
BuildRequires:  python-unversioned-command
6db67dd
BuildRequires:  python2-devel
2657b26
BuildRequires:  sugar-base
2657b26
BuildRequires:  sugar-toolkit-gtk3
2657b26
BuildRequires:  gettext
2657b26
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
2657b26
%autosetup -n activity-abacus-%{version}
b6034ec
b6034ec
%build
b6034ec
python ./setup.py build
8f9308f
8f9308f
# %find_lang org.sugarlabs.AbacusActivity
b6034ec
b6034ec
%install
2657b26
rm -rf ${buildroot}
d6c478c
python ./setup.py install --prefix=%{buildroot}/%{_prefix}
2657b26
rm %{buildroot}%{_prefix}/share/applications/*.desktop || true
b6034ec
8f9308f
%find_lang org.sugarlabs.AbacusActivity
8f9308f
e6435bd
%files -f org.sugarlabs.AbacusActivity.lang
69519ea
%license COPYING
69519ea
%doc NEWS
b6034ec
%{sugaractivitydir}/Abacus.activity/
b6034ec
b6034ec
%changelog
27b30e4
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 60-2
27b30e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
27b30e4
93b08f4
* Thu Apr 12 2018 Kalpa Welivitigoda <callkalpa@gmail.com> - 60-1
93b08f4
- Release 60
93b08f4
6db67dd
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 59-4
6db67dd
- Update Python 2 dependency declarations to new packaging standards
6db67dd
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
6db67dd
805aa9b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 59-3
805aa9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
805aa9b
145b3ab
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 59-2
145b3ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
145b3ab
2657b26
* Mon Mar 27 2017 Kalpa Welivitigoda <callkalpa@gmail.com> - 59-1
2657b26
- Release 59
2657b26
d147a7a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 58-3
d147a7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d147a7a
890dc39
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 58-2
890dc39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
890dc39
bb36730
* Sun Sep 13 2015 Kalpa Welivitigoda <callkalpa@gmail.com> - 58-1
bb36730
- Release 58
bb36730
3f78904
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 57-2
3f78904
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3f78904
1bdd64a
* Thu Apr 23 2015 Peter Robinson <pbrobinson@fedoraproject.org> 57-1
1bdd64a
- Release 57
1bdd64a
2ce23e2
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 56-2
2ce23e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2ce23e2
2444a46
* Wed May 28 2014 Peter Robinson <pbrobinson@fedoraproject.org> 56-1
2444a46
- Release 56
2444a46
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