From ce6d5151733e67537a9dc10cdccd5bdc26bc7ebe Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Feb 21 2010 20:22:23 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..c8bf6b2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ViewSlides-8.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..4753e9e --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +sugar-view-slides-8-2_fc11:F-12:sugar-view-slides-8-2.fc11.src.rpm:1266783715 diff --git a/sources b/sources index e69de29..53b40fc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d73950965325d9bc77a6cb497c41f0b8 ViewSlides-8.tar.bz2 diff --git a/sugar-view-slides.spec b/sugar-view-slides.spec new file mode 100644 index 0000000..7e7c51b --- /dev/null +++ b/sugar-view-slides.spec @@ -0,0 +1,67 @@ +Name: sugar-view-slides +Version: 8 +Release: 2%{?dist} +Summary: Image serie viewer for Sugar + +Group: Sugar/Activities +License: GPLv3+ +URL: http://wiki.laptop.org/go/View_Slides +Source0: http://download.sugarlabs.org/sources/honey/ViewSlides/ViewSlides-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: python +BuildRequires: sugar-toolkit + +Requires: sugar +Requires: pygame + + +%description +The View Slides activity is meant to allow the XO laptop to read +view the contents of a Zip file containing images named sequentially. +Project Gutenberg has a few books as raw scanned images, and this can +be a useful format for picture books, comic books, magazine articles, +photo essays, etc. + +The interface to View Slides is similar to the core Read activity, +which should not be surprising as the toolbar code was adapted from +Read's toolbar. You can use the up and down arrows or the game +controller to move from page to page. + + +%prep +%setup -q -n ViewSlides-%{version} +chmod +x xopower.py + +%build +python setup.py build + + +%install +rm -rf %{buildroot} +python setup.py install --prefix=%{buildroot}/%{_prefix} +%find_lang org.laptop.ViewSlidesActivity + + +%clean +rm -rf %{buildroot} + + +%files -f org.laptop.ViewSlidesActivity.lang +%defattr(-,root,root,-) +%doc NEWS +%{sugaractivitydir}/ViewSlides.activity/ + + +%changelog +* Sat Aug 01 2009 Fabian Affolter - 8-2 +- Added pygame as a requirement (as mentioned in #508441) + +* Wed Jun 24 2009 Fabian Affolter - 8-1 +- Updated to new upstream version 7 +- Added translation support +- Removed all the vcs checkout stuff + +* Thu Jan 29 2009 Fabian Affolter - 0-1.20090129 +- Initial package for Fedora