f7e2690
Name:      sugar-read
ea0ad46
Version:   123
76428a0
Release:   7%{?dist}
8bbb950
Summary:   A document reader for Sugar
8bbb950
License:   GPLv2+
8bbb950
URL:       http://wiki.laptop.org/go/Read
368d1c3
Source0:   http://download.sugarlabs.org/sources/sucrose/fructose/Read/Read-%{version}.tar.bz2
fe6c412
BuildArch: noarch
a259d7e
1108ab7
BuildRequires: evince-devel
0d60cdc
BuildRequires: gettext
ea0ad46
BuildRequires: python3-devel
aa751ba
BuildRequires: sugar-toolkit-gtk3-devel
0d60cdc
95025f4
Requires: evince-libs
8d22308
Requires: evince-djvu
753780d
Requires: python3-beautifulsoup4
aa751ba
Requires: sugar-toolkit-gtk3
a259d7e
a259d7e
%description
a259d7e
The Read activity allows the laptop to act as a book reader. It has a
a259d7e
simple interface, and will view many kinds of text and image-based book-
a259d7e
like materials. It will have particular strengths in handheld mode, with
a259d7e
extremely low power consumption and simple navigation controls.
a259d7e
a259d7e
Read can read PDF files, single-page TIFF files, and also read DJVU files.
a259d7e
a259d7e
%prep
368d1c3
%autosetup -n Read-%{version}
ea0ad46
sed -i 's#usr/bin/env python#usr/bin/env python3#' setup.py
a259d7e
a259d7e
%build
ea0ad46
python3 ./setup.py build
a259d7e
a259d7e
%install
a259d7e
mkdir -p $RPM_BUILD_ROOT%{sugaractivitydir}
ea0ad46
python3 ./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix}
693494a
rm -rf $RPM_BUILD_ROOT%{sugaractivitydir}/Read.activity/screenshots/
696092f
rm %{buildroot}%{_prefix}/share/applications/*.desktop || true
a259d7e
a7e811e
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3
a7e811e
%py_byte_compile %{python3} %{buildroot}%{_datadir}/{sugaractivitydir}/Read.activity/
a7e811e
a259d7e
%find_lang org.laptop.sugar.ReadActivity
a259d7e
a259d7e
%files -f org.laptop.sugar.ReadActivity.lang
1ec58f4
%license COPYING
1ec58f4
%doc AUTHORS
a259d7e
%{sugaractivitydir}/Read.activity/
a259d7e
a259d7e
a259d7e
%changelog
76428a0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 123-7
76428a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
76428a0
af6b684
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 123-6
af6b684
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
af6b684
c18bf69
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 123-5
c18bf69
- Second attempt - Rebuilt for
c18bf69
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c18bf69
482ebcb
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 123-4
482ebcb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
482ebcb
c23faee
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 123-3
c23faee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c23faee
753780d
* Mon Jan 27 2020 Peter Robinson <pbrobinson@fedoraproject.org> 123-2
753780d
- Require python3-beautifulsoup4 instead of python3-beautifulsoup
753780d
ea0ad46
* Mon Jan 27 2020 Peter Robinson <pbrobinson@fedoraproject.org> 123-1
ea0ad46
- Release 123
ea0ad46
f9c7cda
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 122-2
f9c7cda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f9c7cda
4690048
* Tue Apr 16 2019 Peter Robinson <pbrobinson@fedoraproject.org> 122-1
4690048
- Release 122
4690048
475f152
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 121-2
475f152
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
475f152
e40b4fd
* Sat Oct  6 2018 Peter Robinson <pbrobinson@fedoraproject.org> 121-1
e40b4fd
- Release 121
e40b4fd
295c313
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 120-2
295c313
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
295c313
0d9f0de
* Thu Apr 05 2018 Kalpa Welivitigoda <callkalpa@gmail.com> - 120-1
0d9f0de
- Release 120
0d9f0de
0c40219
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 119-3
0c40219
- Update Python 2 dependency declarations to new packaging standards
0c40219
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
0c40219
f7914a4
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 119-2
f7914a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f7914a4
1ec58f4
* Sat Oct 28 2017 Peter Robinson <pbrobinson@fedoraproject.org> 0.112-1
1ec58f4
- Upgrade to sugar 0.112 stable release
1ec58f4
caddeba
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 118-2
caddeba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
caddeba
2840cc6
* Thu Jun 08 2017 Kalpa Welivitigoda <callkalpa@gmail.com> - 118-1
2840cc6
- Release 118
2840cc6
696092f
* Sat Apr 29 2017 Kalpa Welivitigoda <callkalpa@gmail.com> - 117-4
696092f
- Fix FTBFS issue 
696092f
9820b14
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 117-3
9820b14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9820b14
c439529
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 117-2
c439529
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c439529
39f03b3
* Fri Sep 25 2015 Peter Robinson <pbrobinson@fedoraproject.org> 117-1
39f03b3
- Release 117
39f03b3
693494a
* Wed Jun 17 2015 Peter Robinson <pbrobinson@fedoraproject.org> 115-1
693494a
- Release 115
693494a
58f6a7b
* Thu Nov 13 2014 Peter Robinson <pbrobinson@fedoraproject.org> 114-1
58f6a7b
- Release 114
58f6a7b
25d3379
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 113-2
25d3379
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
25d3379
1861ea6
* Tue Mar 11 2014 Peter Robinson <pbrobinson@fedoraproject.org> 113-1
1861ea6
- Release 113
1861ea6
352ff35
* Mon Jan 13 2014 Peter Robinson <pbrobinson@fedoraproject.org> 112-1
352ff35
- Release 112
352ff35
4d1cb59
* Fri Sep  6 2013 Peter Robinson <pbrobinson@fedoraproject.org> 111-1
4d1cb59
- Release 111
4d1cb59
570e1b2
* Wed Aug  7 2013 Peter Robinson <pbrobinson@fedoraproject.org> 110-1
570e1b2
- Release 110
570e1b2
3a5c822
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 109-2
3a5c822
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3a5c822
5140802
* Tue May 28 2013 Peter Robinson <pbrobinson@fedoraproject.org> 109-1
5140802
- Release 109
5140802
8bbb950
* Wed Apr 10 2013 Peter Robinson <pbrobinson@fedoraproject.org> 108-1
8bbb950
- Release 108
8bbb950
47c097a
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 106-2
47c097a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
47c097a
0ceee75
* Tue Nov 27 2012 Peter Robinson <pbrobinson@fedoraproject.org> 106-1
0ceee75
- Release 106
0ceee75
be5fd8e
* Fri Nov 23 2012 Peter Robinson <pbrobinson@fedoraproject.org> 105-1
be5fd8e
- Release 105
be5fd8e
c777a17
* Wed Oct 17 2012 Peter Robinson <pbrobinson@fedoraproject.org> 104-1
c777a17
- Release 104
c777a17
c9bdc01
* Tue Oct  9 2012 Peter Robinson <pbrobinson@fedoraproject.org> 103-1
c9bdc01
- Release 103
c9bdc01
f830217
* Thu Oct  4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 102-2
f830217
- Update dependencies for gtk3
f830217
c8583d0
* Fri Sep 28 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 102-1
c8583d0
- Release 102
c8583d0
37a7d6b
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 99-2
37a7d6b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
37a7d6b
fd8e7f0
* Mon Apr 16 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 99-1
fd8e7f0
- Release 99
fd8e7f0
b94054e
* Tue Apr 10 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 98-1
b94054e
- Release 98
b94054e
2484044
* Wed Mar 21 2012 Kalev Lember <kalevlember@gmail.com> - 97-2
2484044
- Rebuild for libevdocument3 soname bump
2484044
f426007
* Thu Mar  8 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 97-1
f426007
- Release 97
aa751ba
63c4f35
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 94-2
63c4f35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
63c4f35
1108ab7
* Thu Dec  8 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 94-1
1108ab7
- Release 94
1108ab7
95025f4
* Tue Oct 18 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 92-1
95025f4
- Release 92
95025f4
1108ab7
* Tue Apr  5 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 88-1
fe6c412
- New 88 release
fe6c412
c5260bb
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 79-4
c5260bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c5260bb
1108ab7
* Sat Jan 29 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 29-3
e77d484
- Bump build
e77d484
3b7eefb
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 79-2
3b7eefb
- recompiling .py files against Python 2.7 (rhbz#623384)
3b7eefb
27221b7
* Wed Jul 21 2010 Sebastian Dziallas <sebastian@when.com> - 79-1
27221b7
- New upstream release fixing issues on F13
27221b7
f134594
* Wed Dec 23 2009 Sebastian Dziallas <sebastian@when.com> - 78-1
f134594
- New upstream release
f134594
dc1f82c
* Sun Oct 11 2009 Sebastian Dziallas <sebastian@when.com> - 76-1
dc1f82c
- Fix pagination for IA Epubs
dc1f82c
- Updated Vietnamese translations
dc1f82c
a7bd87b
* Sun Sep 27 2009 Sebastian Dziallas <sebastian@when.com> - 75-1
a7bd87b
- Fix search in Epub files (dslo #1319)
a7bd87b
- Updated translations for German, Mongolian and Portuguese
a7bd87b
0d60cdc
* Sat Sep 12 2009 Simon Schampijer <simon@schampijer.de> - 73-1
0d60cdc
- New toolbars
0d60cdc
- Support for Epub files
0d60cdc
- Support for notes associated with bookmarks
0d60cdc
- Show a information bar in fullscreen mode, with pagecount and battery information
0d60cdc
c3735ee
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 66-2
c3735ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c3735ee
d0aeeea
* Mon Apr 06 2009 Simon Schampijer <simon@schampijer.de> - 66-1
d0aeeea
- Support evince binding w/o document_links support #703
d0aeeea
- Update translations
d0aeeea
a259d7e
* Fri Mar 06 2009 Simon Schampijer <simon@schampijer.de> - 65-2
a259d7e
- make dependency only on gnome-python2-evince to not drag in 
a259d7e
  all gnome-python
a259d7e
a259d7e
* Wed Mar 04 2009 Simon Schampijer <simon@schampijer.de> - 65-1
a259d7e
- Initial packaging