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