[sugar-ruler] Initial import (#733603).

Kalpa Welivitigoda callkalpa at fedoraproject.org
Thu Sep 15 09:11:39 UTC 2011


commit 8aeebb7c1194f970aa95f2b6e0c9a84cc3fcd573
Author: Kalpa Pathum Welivitigoda <callkalpa at gmail.com>
Date:   Thu Sep 15 14:41:11 2011 +0530

    Initial import (#733603).

 .gitignore       |    1 +
 sources          |    1 +
 sugar-ruler.spec |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ceb7877 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Ruler-12.tar.bz2
diff --git a/sources b/sources
index e69de29..722efb2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3132ec29ddc760f3ba5f185fd05740d4  Ruler-12.tar.bz2
diff --git a/sugar-ruler.spec b/sugar-ruler.spec
new file mode 100644
index 0000000..7061c1b
--- /dev/null
+++ b/sugar-ruler.spec
@@ -0,0 +1,70 @@
+Name:           sugar-ruler
+Version:        12
+Release:        2%{?dist}
+Summary:        Simple collection of measurement tools
+
+Group:          Sugar/Activities
+License:        GPLv3+
+URL:            http://wiki.sugarlabs.org/go/Activities/Ruler
+Source0:        http://download.sugarlabs.org/sources/honey/Ruler/Ruler-%{version}.tar.bz2
+
+BuildRequires:  python sugar-toolkit gettext
+BuildArch:      noarch
+Requires:       sugar
+
+%description
+Ruler is a simple collection of measurement tools that are displayed 
+on the screen. Since the OLPC XO computer has a 200 DPI display, the 
+rulers are quite accurate. One other hardware, where the display 
+resolution is not known, their is a spinner to let the user set the DPI. 
+Ruler saves this value to the Journal, so it need not be set on 
+subsequent uses of the Activity.
+
+%prep
+%setup -q -n Ruler-%{version}
+
+
+%build
+%{__python} ./setup.py build
+
+%install
+%{__python} ./setup.py install --prefix=%{buildroot}/%{_prefix}
+
+%find_lang com.laptop.Ruler
+
+
+%files -f com.laptop.Ruler.lang
+%defattr(-,root,root,-)
+%doc COPYING NEWS
+%{sugaractivitydir}/Ruler.activity/
+
+
+%changelog
+* Tue Sep 13 2011 Kalpa Welivitigoda <callkalpa at gmail.com> - 12-2
+- use of %{__python} in install
+
+* Sun Sep 11 2011 Kalpa Welivitigoda <callkalpa at gmail.com> - 12-1
+- removed unsupported languages
+
+* Thu Sep 7 2011 Kalpa Welivitigoda <callkalpa at gmail.com> - 11-6
+- changed summary and description
+
+* Thu Sep 1 2011 Kalpa Welivitigoda <callkalpa at gmail.com> - 11-5
+- fixed too long error and fullstop warning in summary
+- fixed license error
+
+* Fri Aug 26 2011 Kalpa Welivitigoda <callkalpa at gmail.com> - 11-4
+- use of %{__python}
+
+* Fri Aug 26 2011 Kalpa Welivitigoda <callkalpa at gmail.com> - 11-3
+- word splitting in description fixed
+
+* Fri Aug 26 2011 Kalpa Welivitigoda <callkalpa at gmail.com> - 11-2
+- removed BuildRoot
+- removed "rm -rf $RPM_BUILD_ROOT"
+- removed %clean
+- description wrapped at 80 chars
+- swapped $RPM_BUILD_ROOT with %{buildroot}
+
+* Fri Aug 26 2011 Kalpa Welivitigoda <callkalpa at gmail.com> - 11-1
+- initial packaging


More information about the scm-commits mailing list