c971bfe
Name:           sugar-view-slides
c971bfe
Version:        8
1c71cd1
Release:        6%{?dist}
c971bfe
Summary:        Image serie viewer for Sugar
c971bfe
c971bfe
Group:          Sugar/Activities
c971bfe
License:        GPLv3+
c971bfe
URL:            http://wiki.laptop.org/go/View_Slides
c971bfe
Source0:        http://download.sugarlabs.org/sources/honey/ViewSlides/ViewSlides-%{version}.tar.bz2
c971bfe
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c971bfe
BuildArch:      noarch
c971bfe
c971bfe
BuildRequires:  python
c971bfe
BuildRequires:  sugar-toolkit
ac1a23e
BuildRequires:  gettext
c971bfe
c971bfe
Requires:       sugar
c971bfe
Requires:       pygame
c971bfe
c971bfe
c971bfe
%description
c971bfe
The View Slides activity is meant to allow the XO laptop to read
c971bfe
view the contents of a Zip file containing images named sequentially.
c971bfe
Project Gutenberg has a few books as raw scanned images, and this can
c971bfe
be a useful format for picture books, comic books, magazine articles,
c971bfe
photo essays, etc.
c971bfe
c971bfe
The interface to View Slides is similar to the core Read activity,
c971bfe
which should not be surprising as the toolbar code was adapted from
c971bfe
Read's toolbar. You can use the up and down arrows or the game
c971bfe
controller to move from page to page.
c971bfe
c971bfe
c971bfe
%prep
c971bfe
%setup -q -n ViewSlides-%{version}
c971bfe
chmod +x xopower.py
c971bfe
c971bfe
%build
e2d3371
%{__python} setup.py build
c971bfe
c971bfe
c971bfe
%install
c971bfe
rm -rf  %{buildroot}
e2d3371
%{__python} setup.py install --prefix=%{buildroot}/%{_prefix}
c971bfe
%find_lang org.laptop.ViewSlidesActivity
c971bfe
c971bfe
c971bfe
%clean
c971bfe
rm -rf  %{buildroot}
c971bfe
c971bfe
c971bfe
%files -f org.laptop.ViewSlidesActivity.lang
c971bfe
%defattr(-,root,root,-)
c971bfe
%doc NEWS
c971bfe
%{sugaractivitydir}/ViewSlides.activity/
c971bfe
c971bfe
c971bfe
%changelog
1c71cd1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-6
1c71cd1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1c71cd1
ef9f6d5
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 8-5
ef9f6d5
- recompiling .py files against Python 2.7 (rhbz#623390)
ef9f6d5
ac1a23e
* Wed Mar 17 2010 Fabian Affolter <fabian@bernewireless.net> - 8-4
ac1a23e
- Added gettext as a BR
ac1a23e
e2d3371
* Mon Mar 15 2010 Fabian Affolter <fabian@bernewireless.net> - 8-3
e2d3371
- Minor layout changes
e2d3371
c971bfe
* Sat Aug 01 2009 Fabian Affolter <fabian@bernewireless.net> - 8-2
c971bfe
- Added pygame as a requirement (as mentioned in #508441) 
c971bfe
c971bfe
* Wed Jun 24 2009 Fabian Affolter <fabian@bernewireless.net> - 8-1
c971bfe
- Updated to new upstream version 7
c971bfe
- Added translation support
c971bfe
- Removed all the vcs checkout stuff 
c971bfe
c971bfe
* Thu Jan 29 2009 Fabian Affolter <fabian@bernewireless.net> - 0-1.20090129
c971bfe
- Initial package for Fedora