Blob Blame History Raw
Name:           sugar-clock
Version:        7
Release:        1%{?dist}
Summary:        Clock activity for Sugar

Group:          Sugar/Activities
License:        GPLv3+
URL:            http://wiki.laptop.org/go/Clock
Source0:        http://download.sugarlabs.org/sources/honey/Clock/Clock-%{version}.tar.bz2
BuildArch:      noarch

BuildRequires:  gettext
BuildRequires:  python
BuildRequires:  sugar-toolkit

Requires:       sugar


%description
This activity displays time in analog, digital, and "natural" forms.
The "natural" form will be an image of a sun or moon arcing across
the sky, rising and setting as the day progresses. This is more than
a simple clock; the user will be able to grab any element and readjust
it, which will update each of the other elements. In this manner,
hopefully the children can explore and understand different methods of
telling time. 


%prep
%setup -q -n Clock-%{version}
#sed -i 's/\r$//' {icons/*,activity/activity-clock.svg,misc/activity-clock.svg}
#chmod -x {icons/*,activity/activity-clock.svg,misc/activity-clock.svg}
#chmod +x {test_timewriter/*.py,speaker.py,timewriter.py,pgettext.py}


%build
python ./setup.py build


%install
python ./setup.py install --prefix=%{buildroot}/%{_prefix}
%find_lang tv.alterna.Clock


%files -f tv.alterna.Clock.lang
%defattr(-,root,root,-)
%doc NEWS README
%{sugaractivitydir}/Clock.activity/


%changelog
* Wed Oct  5 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 7-1
- Release 7

* Sat Jun  4 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 6-1
- Update to v6

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 5-4
- recompiling .py files against Python 2.7 (rhbz#623366)

* Mon Dec 14 2009 Peter Robinson <pbrobinson@fedoraproject.org> - 5-3
- Add buildreq gettext to fix build issues on F-12/rawhide - fixes # 538921

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Sun Jun 14 2009 Fabian Affolter <fabian@bernewireless.net> - 5-1
- Updated to new upstream version 5
- Removed all vcs checkout stuff 

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.3.20090207
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sat Feb 07 2009 Fabian Affolter <fabian@bernewireless.net> - 0-0.2.20090207
- Fixed version and release

* Mon Jan 26 2009 Fabian Affolter <fabian@bernewireless.net> - 20090126-1
- Initial package for Fedora