2018-04-27 00:33:26 +03:00
|
|
|
Name: openrepos-books
|
|
|
|
Summary: E-book reader
|
2018-06-08 17:28:16 +03:00
|
|
|
Version: 1.0.34
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
|
%{_datadir}/translations/%{name}*.qm
|
|
|
|
%{_datadir}/jolla-settings/entries/%{name}.json
|
|
|
|
|
|
|
|
%check
|
|
|
|
make -C test test
|
2018-04-27 01:15:40 +03:00
|
|
|
|
|
|
|
%changelog
|
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
|