2015-06-28 14:22:35 +03:00
|
|
|
Name: harbour-books
|
|
|
|
Summary: E-book reader
|
2016-02-21 18:38:34 +03:00
|
|
|
Version: 1.0.10
|
2015-06-28 14:22:35 +03:00
|
|
|
Release: 1
|
|
|
|
License: GPL
|
|
|
|
Group: Applications/File
|
|
|
|
URL: http://github.com/monich/harbour-books
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
Requires: sailfishsilica-qt5
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(sailfishapp)
|
|
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
|
|
BuildRequires: pkgconfig(mlite5)
|
|
|
|
BuildRequires: pkgconfig(expat)
|
|
|
|
BuildRequires: pkgconfig(systemd)
|
2015-07-07 12:47:07 +03:00
|
|
|
BuildRequires: file-devel
|
2015-06-28 14:22:35 +03:00
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: qt5-qttools-linguist
|
|
|
|
|
|
|
|
%{!?qtc_qmake5:%define qtc_qmake5 %qmake5}
|
|
|
|
%{!?qtc_make:%define qtc_make make}
|
|
|
|
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
|
|
|
|
|
|
|
%description
|
|
|
|
FBReader-based e-book reader.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%qtc_qmake5 harbour-books.pro
|
|
|
|
%qtc_make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
cd app
|
|
|
|
%qmake5_install
|
|
|
|
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
%{buildroot}%{_datadir}/applications/*.desktop
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2015-10-19 16:54:37 +03:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
2015-06-28 14:22:35 +03:00
|
|
|
|
2015-08-09 14:41:49 +03:00
|
|
|
%check
|
|
|
|
make -C test test
|
|
|
|
|
2015-06-28 14:22:35 +03:00
|
|
|
%changelog
|
2016-02-21 18:38:34 +03:00
|
|
|
* Sub Feb 21 2016 Slava Monich <slava.monich@jolla.com> 1.0.10
|
|
|
|
- Per-book text size
|
|
|
|
- Support for XML entities
|
|
|
|
- Fixed the problem with styleless XHTML
|
|
|
|
- Miscellaneous tweaks and UI improvements
|
|
|
|
|
2015-11-02 22:57:21 +03:00
|
|
|
* Mon Nov 2 2015 Slava Monich <slava.monich@jolla.com> 1.0.9
|
|
|
|
- Workaround for Qt crash
|
|
|
|
|
2015-10-21 14:03:05 +03:00
|
|
|
* Wed Oct 21 2015 Slava Monich <slava.monich@jolla.com> 1.0.8
|
|
|
|
- Fixed the cancel button problem
|
|
|
|
|
2015-10-15 16:30:01 +03:00
|
|
|
* Thu Oct 15 2015 Slava Monich <slava.monich@jolla.com> 1.0.7
|
|
|
|
- First official build for Jolla tablet
|
|
|
|
- Moved font controls from pulley menu to the toolbar
|
|
|
|
- Fixed a few EPUB rendering and decoding issues
|
|
|
|
- Made it easier to cancel book loading
|
|
|
|
- Plugged a few memory leaks
|
|
|
|
|
2015-08-09 14:55:53 +03:00
|
|
|
* Sun Aug 9 2015 Slava Monich <slava.monich@jolla.com> 1.0.6
|
|
|
|
- Improved rendering of EPUB books
|
|
|
|
- Fixed saving the shelf position for zipped books
|
|
|
|
|
2015-07-18 01:12:17 +03:00
|
|
|
* Sat Jul 18 2015 Slava Monich <slava.monich@jolla.com> 1.0.5
|
|
|
|
- Added support for zipped books
|
|
|
|
- Improved performance of scanning for new books
|
|
|
|
- Fixed a problem with some EPUBs being ignored
|
|
|
|
|
|
|
|
* Sun Jul 12 2015 Slava Monich <slava.monich@jolla.com> 1.0.4
|
|
|
|
- Implemented "night mode", switched by double-click
|
|
|
|
- Added left swipe hint
|
|
|
|
- Finnish and Swedish translations
|
|
|
|
- Fixed a bug with current page getting reset after rotation
|
|
|
|
|
|
|
|
* Tue Jul 7 2015 Slava Monich <slava.monich@jolla.com> 1.0.3
|
|
|
|
- Improved CSS support and XHTML formatting
|
|
|
|
|
|
|
|
* Mon Jul 6 2015 Slava Monich <slava.monich@jolla.com> 1.0.2
|
|
|
|
- Replaced Books with Documents/Books for internal storage
|
|
|
|
|
|
|
|
* Fri Jul 3 2015 Slava Monich <slava.monich@jolla.com> 1.0.1
|
|
|
|
- Improved recovery from infinite formatting loops
|
|
|
|
- Fixed one infinite formatting loop
|
|
|
|
|
|
|
|
* Sun Jun 28 2015 Slava Monich <slava.monich@jolla.com> 1.0.0
|
2015-06-28 14:22:35 +03:00
|
|
|
- Initial version
|