385b2ee
Name:           sugar-getiabooks
35725d1
Version:        16
129c2bd
Release:        5%{?dist}
385b2ee
Summary:        Internet Archive Books receiver for Sugar
385b2ee
385b2ee
Group:          Sugar/Activities
385b2ee
License:        GPLv2+
385b2ee
URL:            http://wiki.sugarlabs.org/go/Activities/Get_Internet_Archive_Books
2e079cb
Source0:        http://download.sugarlabs.org/sources/honey/GetBooks/GetBooks-%{version}.tar.bz2
385b2ee
BuildArch:      noarch
385b2ee
385b2ee
BuildRequires:  python
7f6caa4
BuildRequires:  sugar-toolkit-gtk3
7f6caa4
BuildRequires:  gettext
385b2ee
Requires:       sugar
f931d1a
Requires:       sugar-toolkit-gtk3
385b2ee
385b2ee
385b2ee
%description
385b2ee
This Activity will use the Advanced Search capabilities of the
385b2ee
Internet Archive website to enable browsing the website's catalog,
385b2ee
getting information on the books therein, and downloading these
385b2ee
books to the Journal. Its user interface is similar to the offline
385b2ee
catalog search of Read Etexts, but where that Activity is used for
385b2ee
both getting books and reading them this one will concern itself
385b2ee
only with getting the books, so they may be read with the Read
385b2ee
Activity. 
385b2ee
385b2ee
385b2ee
%prep
1a2088b
%setup -q -n GetBooks-%{version}
385b2ee
385b2ee
385b2ee
%build
1a2088b
python ./setup.py build
385b2ee
385b2ee
385b2ee
%install
1a2088b
python ./setup.py install --prefix=%{buildroot}/%{_prefix}
129c2bd
rm %{buildroot}%{_prefix}/share/applications/*.desktop || true
1a2088b
rm %{buildroot}%{sugaractivitydir}GetBooks.activity/NEWS
385b2ee
1a2088b
#%find_lang org.laptop.GetIABooks.activity
1a2088b
%find_lang org.laptop.sugar.GetBooksActivity
385b2ee
1a2088b
%files -f org.laptop.sugar.GetBooksActivity.lang
385b2ee
%doc NEWS
1a2088b
%{sugaractivitydir}/GetBooks.activity/
385b2ee
385b2ee
385b2ee
%changelog
129c2bd
* Sat Apr 29 2017 Kalpa Welivitigoda <callkalpa@gmail.com> - 16-5
129c2bd
- Fix FTBFS issue 
129c2bd
e952220
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 16-4
e952220
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e952220
9afa9f3
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 16-3
9afa9f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9afa9f3
f931d1a
* Fri Sep 25 2015 Peter Robinson <pbrobinson@fedoraproject.org> 16-2
f931d1a
- Drop old dependencies
f931d1a
35725d1
* Fri Sep 25 2015 Peter Robinson <pbrobinson@fedoraproject.org> 16-1
35725d1
- Release 16
35725d1
6b232d7
* Tue Jun 30 2015 Peter Robinson <pbrobinson@fedoraproject.org> 15-1
6b232d7
- Release 15
6b232d7
24c687c
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14-6
24c687c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
24c687c
64adbe7
* Fri Mar  6 2015 Peter Robinson <pbrobinson@fedoraproject.org> 14-5
64adbe7
- Add Requires sugar-toolkit
64adbe7
5185751
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14-4
5185751
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5185751
b29266a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14-3
b29266a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b29266a
12a2669
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14-2
12a2669
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
12a2669
400c993
* Thu Sep 27 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 14-1
400c993
- Release 14
400c993
a1411f9
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 11-2
a1411f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a1411f9
1a2088b
* Mon Apr 23 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 11-1
1a2088b
- Release 11
1a2088b
091b825
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3-6
091b825
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
091b825
e4deebc
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3-5
e4deebc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e4deebc
0dd6b77
* Sat Jan 29 2011 Peter Robinson <pbrobinson@gmail.com> - 3-4
1583267
- bump build
1583267
1243de7
* Wed Aug 11 2010 David Malcolm <dmalcolm@redhat.com> - 3-3
1243de7
- recompiling .py files against Python 2.7 (rhbz#623371)
1243de7
385b2ee
* Sat Nov 14 2009 Fabian Affolter <fabian@bernewireless.net> - 3-2
385b2ee
- Removed second news files
385b2ee
385b2ee
* Sun Oct 04 2009 Fabian Affolter <fabian@bernewireless.net> - 3-1
385b2ee
- Updated to new upstream version 3
385b2ee
385b2ee
* Sat Aug 01 2009 Fabian Affolter <fabian@bernewireless.net> - 2-1
385b2ee
- Initial package for Fedora