[sugar-abacus] v19

Peter Robinson pbrobinson at fedoraproject.org
Mon Jan 31 01:23:50 UTC 2011


commit b6034eceb6e1fb89796989254b877eb16b1a1132
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Mon Jan 31 01:23:10 2011 +0000

    v19

 .gitignore        |    1 +
 sources           |    1 +
 sugar-abacus.spec |   70 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..95c8b9c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Abacus-19.tar.bz2
diff --git a/sources b/sources
index e69de29..1561ce2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7770ff3ffffe68f395a1fafd7d32eea9  Abacus-19.tar.bz2
diff --git a/sugar-abacus.spec b/sugar-abacus.spec
new file mode 100644
index 0000000..c838e1e
--- /dev/null
+++ b/sugar-abacus.spec
@@ -0,0 +1,70 @@
+# sitelib for noarch packages, sitearch for others (remove the unneeded one)
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+Name: sugar-abacus
+Version: 19
+Release: 1%{?dist}
+Summary: A simple abacus activity for Sugar
+
+Group: Sugar/Activities
+License: LGPLv3+
+BuildArch: noarch
+URL: http://activities.sugarlabs.org/addon/4293
+Source0: http://download.sugarlabs.org/activities/4293/abacus-%{version}.xo
+
+BuildRequires: python2-devel
+BuildRequires: sugar-toolkit
+Requires: sugar 
+
+%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.activity
+
+%build
+python ./setup.py build
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{sugaractivitydir}
+python ./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix}
+
+# Remove files that shouldn't be shipped. Bad Walter!
+find %{buildroot} -name '*.orig' -exec rm -f {} ';'
+find %{buildroot} -name '*.rej' -exec rm -f {} ';'
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING NEWS
+%{sugaractivitydir}/Abacus.activity/
+
+%changelog
+* Mon Jan 31 2011 Peter Robinson <pbrobinson at gmail.com> - 19-1
+- Update to 19
+
+* Mon Sep 27 2010 Peter Robinson <pbrobinson at gmail.com> - 17-1
+- Update to 17
+
+* Sat Jun 25 2010 Peter Robinson <pbrobinson at gmail.com> - 14-1
+- Update to 14
+
+* Sat Jun 19 2010 Peter Robinson <pbrobinson at gmail.com> - 13-2
+- Some spec file cleanups
+
+* Thu Jun 10 2010 Peter Robinson <pbrobinson at gmail.com> - 13-1
+- Update to version 13
+
+* Thu Jun 10 2010 Peter Robinson <pbrobinson at gmail.com> - 12-1
+- Initial package of abacus


More information about the scm-commits mailing list