[sugar-measure] Initial sugar-measure SRPM

Kedar Sovani kedars at fedoraproject.org
Sat Sep 18 09:21:07 UTC 2010


commit aad3d4bca12d07e88b6ca99423a6906501f292a0
Author: Kedar Sovani <kedars at marvell.com>
Date:   Sat Sep 18 14:50:04 2010 +0530

    Initial sugar-measure SRPM
    
    Signed-off-by: Kedar Sovani <kedars at marvell.com>

 .gitignore         |    1 +
 sources            |    1 +
 sugar-measure.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bf25fe4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Measure-31.tar.bz2
diff --git a/sources b/sources
index e69de29..ea3d4e3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1ab42ddc46cea099e6b35974462bd0b9  Measure-31.tar.bz2
diff --git a/sugar-measure.spec b/sugar-measure.spec
new file mode 100644
index 0000000..1837fe5
--- /dev/null
+++ b/sugar-measure.spec
@@ -0,0 +1,55 @@
+Name:           sugar-measure
+Version:        31
+Release:        1%{?dist}
+Summary:        Measure for Sugar
+
+Group:          Sugar/Activities
+License:        GPLv2+
+URL:            http://wiki.laptop.org/go/Measure
+Source0:        http://download.sugarlabs.org/sources/honey/Measure/Measure-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+BuildRequires:  python
+BuildRequires:  sugar-toolkit
+
+Requires:       sugar
+
+
+%description
+A tool on the XO that allows kids to indulge in "learning by doing". 
+It provides an interface for the kids to connect  sensors (light, heat,
+magnetic field etc) and view their signal.
+
+
+%prep
+%setup -q -n Measure-%{version}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install --prefix=%{buildroot}/%{_prefix}
+# find  %{buildroot}%{sugaractivitydir}Measure.activity/  -type f -name \*.py -exec chmod 755 {} \;
+
+%find_lang org.laptop.MeasureActivity
+
+%clean
+rm -rf %{buildroot}
+
+
+%files -f org.laptop.MeasureActivity.lang
+%defattr(-,root,root,-)
+%doc README
+%{sugaractivitydir}/Measure.activity/
+
+
+%changelog
+* Sat Jul 31 2010 Kedar Sovani <kedars at marvell.com> - 31.1
+- Update to upstream Measure version 31.
+
+* Tue Jan 19 2010 Kedar Sovani <kedars at marvell.com> - 29-1
+- Initial package for Fedora


More information about the scm-commits mailing list