|
|
5a9094f |
# This package depends on automagic byte compilation
|
|
|
5a9094f |
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
|
|
|
5a9094f |
%global _python_bytecompile_extra 1
|
|
|
5a9094f |
|
|
|
c971bfe |
Name: sugar-view-slides
|
|
|
c971bfe |
Version: 8
|
|
|
d91aeed |
Release: 20%{?dist}
|
|
|
c971bfe |
Summary: Image serie viewer for Sugar
|
|
|
c971bfe |
|
|
|
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 |
BuildArch: noarch
|
|
|
c971bfe |
|
|
|
6acab14 |
BuildRequires: python2
|
|
|
c971bfe |
BuildRequires: sugar-toolkit
|
|
|
ac1a23e |
BuildRequires: gettext
|
|
|
c971bfe |
|
|
|
c971bfe |
Requires: sugar
|
|
|
29ee199 |
Requires: sugar-toolkit
|
|
|
6acab14 |
Requires: python2-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 |
|
|
|
0d13eaa |
sed -i 's/python/python2/' *.py
|
|
|
0d13eaa |
|
|
|
c971bfe |
%build
|
|
|
e2d3371 |
%{__python} setup.py build
|
|
|
c971bfe |
|
|
|
c971bfe |
|
|
|
c971bfe |
%install
|
|
|
e2d3371 |
%{__python} setup.py install --prefix=%{buildroot}/%{_prefix}
|
|
|
c971bfe |
%find_lang org.laptop.ViewSlidesActivity
|
|
|
c971bfe |
|
|
|
c971bfe |
|
|
|
c971bfe |
%files -f org.laptop.ViewSlidesActivity.lang
|
|
|
c971bfe |
%doc NEWS
|
|
|
c971bfe |
%{sugaractivitydir}/ViewSlides.activity/
|
|
|
c971bfe |
|
|
|
c971bfe |
|
|
|
c971bfe |
%changelog
|
|
|
d91aeed |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 8-20
|
|
|
d91aeed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d91aeed |
|
|
|
dd78aa1 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8-19
|
|
|
dd78aa1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
dd78aa1 |
|
|
|
6acab14 |
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 8-18
|
|
|
6acab14 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
6acab14 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
6acab14 |
|
|
|
2fa0355 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 8-17
|
|
|
2fa0355 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
2fa0355 |
|
|
|
44c3e56 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-16
|
|
|
44c3e56 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
44c3e56 |
|
|
|
e0ed28e |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 8-15
|
|
|
e0ed28e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e0ed28e |
|
|
|
f31f546 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8-14
|
|
|
f31f546 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
f31f546 |
|
|
|
d686b3d |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-13
|
|
|
d686b3d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d686b3d |
|
|
|
29ee199 |
* Fri Mar 6 2015 Peter Robinson <pbrobinson@fedoraproject.org> 8-12
|
|
|
29ee199 |
- Add Requires sugar-toolkit
|
|
|
29ee199 |
|
|
|
ce1f814 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-11
|
|
|
ce1f814 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ce1f814 |
|
|
|
f30bb46 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-10
|
|
|
f30bb46 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f30bb46 |
|
|
|
bf51d71 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-9
|
|
|
bf51d71 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
bf51d71 |
|
|
|
3d1a3bd |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-8
|
|
|
3d1a3bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
3d1a3bd |
|
|
|
de9fe4c |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8-7
|
|
|
de9fe4c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
de9fe4c |
|
|
|
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
|