2018-04-27 00:33:26 +03:00
|
|
|
Name: openrepos-books
|
|
|
|
Summary: E-book reader
|
2021-11-13 22:10:47 +03:00
|
|
|
Version: 1.0.46
|
2018-04-27 00:33:26 +03:00
|
|
|
Release: 1
|
|
|
|
License: BSD
|
|
|
|
Vendor: slava
|
|
|
|
Group: Applications/File
|
|
|
|
URL: http://github.com/monich/harbour-books
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
Requires: sailfishsilica-qt5
|
|
|
|
Requires: qt5-qtsvg-plugin-imageformat-svg
|
|
|
|
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(libudev)
|
|
|
|
BuildRequires: file-devel
|
|
|
|
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 CONFIG+=openrepos CONFIG+=app_settings harbour-books.pro
|
|
|
|
%qtc_make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
cd app
|
|
|
|
%qmake5_install
|
2022-10-10 03:45:18 +03:00
|
|
|
cd settings
|
|
|
|
%qmake5_install
|
2018-04-27 00:33:26 +03:00
|
|
|
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
%{buildroot}%{_datadir}/applications/*.desktop
|
|
|
|
|
2021-11-13 05:05:06 +03:00
|
|
|
%preun
|
|
|
|
if [ "$1" == 0 ] ; then \
|
|
|
|
getent passwd | grep -v '/nologin$' | \
|
|
|
|
while IFS=: read -r name pw uid gid comment home shell; \
|
|
|
|
do rm -fr "$home/.local/share/openrepos-books"; done; fi || :
|
|
|
|
|
2018-04-27 00:33:26 +03:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
|
%{_datadir}/translations/%{name}*.qm
|
2022-10-10 03:45:18 +03:00
|
|
|
%{_datadir}/dbus-1/services/%{name}.service
|
2018-04-27 00:33:26 +03:00
|
|
|
%{_datadir}/jolla-settings/entries/%{name}.json
|
2022-10-10 03:45:18 +03:00
|
|
|
%{_libdir}/qt5/qml/openrepos/books/settings
|
2018-04-27 00:33:26 +03:00
|
|
|
|
|
|
|
%check
|
|
|
|
make -C test test
|
2018-04-27 01:15:40 +03:00
|
|
|
|
|
|
|
%changelog
|
2021-11-13 22:10:47 +03:00
|
|
|
* Sat Nov 13 2021 Slava Monich <slava.monich@jolla.com> 1.0.46
|
|
|
|
- Added option to remove pulley menu from the book view
|
|
|
|
- Tweaked book opening and closing animations
|
|
|
|
- Remove cached files during uninstallation of OpenRepos app
|
|
|
|
- Register OpenRepos app as a file handler
|
|
|
|
|
2021-11-06 22:20:47 +03:00
|
|
|
* Sat Nov 06 2021 Slava Monich <slava.monich@jolla.com> 1.0.45
|
|
|
|
- Tweaked rendering of book covers
|
|
|
|
- Fixed opening external links
|
|
|
|
|
2021-11-01 02:34:18 +03:00
|
|
|
* Mon Nov 01 2021 Slava Monich <slava.monich@jolla.com> 1.0.44
|
|
|
|
- Improved rendering of book covers
|
|
|
|
- Show book count as menu label when appropriate
|
|
|
|
- Perserve settings layout when keyboard opens
|
|
|
|
- Minor content rendering tweaks
|
|
|
|
|
2021-05-15 22:42:12 +03:00
|
|
|
* Sat May 15 2021 Slava Monich <slava.monich@jolla.com> 1.0.43
|
|
|
|
- Integration with My Backup
|
|
|
|
- Updated Hungarian translation
|
|
|
|
- Updated Chinese translation
|
|
|
|
- Tweaked settings layout
|
|
|
|
|
2020-11-03 07:01:37 +03:00
|
|
|
* Tue Nov 3 2020 Slava Monich <slava.monich@jolla.com> 1.0.42
|
|
|
|
- Fixed detection of removable media on new fresh installs of Sailfish OS 3.4.0
|
|
|
|
- Implemented a fancy way of closing the book by swiping it up
|
|
|
|
- Optimized settings page for landscape orientation
|
|
|
|
- Made night mode brightness configurable
|
|
|
|
- Resolved a few issues with saving/restoring last page
|
|
|
|
- Eliminated unpleasant flicking when pages are being dragged
|
|
|
|
|
2020-02-05 03:24:09 +03:00
|
|
|
* Wed Feb 5 2020 Slava Monich <slava.monich@jolla.com> 1.0.41
|
|
|
|
- Fixed a problem with books opening at unexpected page
|
|
|
|
- Handle data: scheme for xhtml
|
|
|
|
- Various UI tweaks
|
|
|
|
|
2019-12-04 13:31:39 +03:00
|
|
|
* Wed Dec 4 2019 Slava Monich <slava.monich@jolla.com> 1.0.40
|
|
|
|
- Chinese translation
|
|
|
|
|
2019-12-04 05:21:42 +03:00
|
|
|
* Wed Dec 4 2019 Slava Monich <slava.monich@jolla.com> 1.0.39
|
|
|
|
- Fixed a permacrash
|
|
|
|
|
2019-04-01 13:36:02 +03:00
|
|
|
* Sun Mar 31 2019 Slava Monich <slava.monich@jolla.com> 1.0.38
|
|
|
|
- Fixed a problem with encoding in some format/language combinations
|
|
|
|
- Create sample book on the first time run
|
|
|
|
- Minor UI tweaks
|
|
|
|
|
2018-07-27 01:25:25 +03:00
|
|
|
* Fri Jul 27 2018 Slava Monich <slava.monich@jolla.com> 1.0.37
|
|
|
|
- Fixed a few CSS issues affecting layout
|
|
|
|
|
|
|
|
* Tue Jul 24 2018 Slava Monich <slava.monich@jolla.com> 1.0.36
|
2018-07-24 21:17:33 +03:00
|
|
|
- Updated Polish translations
|
|
|
|
- Updated Swedish translations
|
|
|
|
|
2018-07-27 01:25:25 +03:00
|
|
|
* Tue Jul 24 2018 Slava Monich <slava.monich@jolla.com> 1.0.35
|
2018-07-24 00:33:04 +03:00
|
|
|
- Added page layout option
|
|
|
|
- Added "turn page by tap" option
|
|
|
|
|
2018-06-08 17:28:16 +03:00
|
|
|
* Fri Jun 8 2018 Slava Monich <slava.monich@jolla.com> 1.0.34
|
|
|
|
- Support for SD-card labels containing spaces
|
|
|
|
|
2018-06-08 15:41:24 +03:00
|
|
|
* Fri Jun 8 2018 Slava Monich <slava.monich@jolla.com> 1.0.33
|
|
|
|
- Fixed SD-card support on Sailfish OS 2.2.0
|
|
|
|
|
2018-05-21 17:48:28 +03:00
|
|
|
* Mon May 21 2018 Slava Monich <slava.monich@jolla.com> 1.0.32
|
|
|
|
- Added Polish translations
|
|
|
|
|
2018-05-21 11:43:37 +03:00
|
|
|
* Mon May 21 2018 Slava Monich <slava.monich@jolla.com> 1.0.31
|
|
|
|
- Fixed "Keep display on while reading" on older systems
|
|
|
|
|
2018-05-19 12:47:15 +03:00
|
|
|
* Sat May 19 2018 Slava Monich <slava.monich@jolla.com> 1.0.30
|
|
|
|
- Added Brazilian Portuguese translations
|
|
|
|
|
2018-05-19 00:09:43 +03:00
|
|
|
* Sat May 19 2018 Slava Monich <slava.monich@jolla.com> 1.0.29
|
|
|
|
- Updated Swedish and Hungarian translations
|
|
|
|
|
2018-05-17 20:16:15 +03:00
|
|
|
* Thu May 17 2018 Slava Monich <slava.monich@jolla.com> 1.0.28
|
|
|
|
- Added "Keep display on while reading" option
|
|
|
|
- Fixed a few memory leaks
|
|
|
|
|
2018-04-27 01:15:40 +03:00
|
|
|
* Fri Apr 27 2018 Slava Monich <slava.monich@jolla.com> 1.0.27
|
|
|
|
- Added openrepos variant
|