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 - 12-2 - use of %{__python} in install * Sun Sep 11 2011 Kalpa Welivitigoda - 12-1 - removed unsupported languages * Thu Sep 7 2011 Kalpa Welivitigoda - 11-6 - changed summary and description * Thu Sep 1 2011 Kalpa Welivitigoda - 11-5 - fixed too long error and fullstop warning in summary - fixed license error * Fri Aug 26 2011 Kalpa Welivitigoda - 11-4 - use of %{__python} * Fri Aug 26 2011 Kalpa Welivitigoda - 11-3 - word splitting in description fixed * Fri Aug 26 2011 Kalpa Welivitigoda - 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 - 11-1 - initial packaging