2015-06-28 14:22:35 +03:00
|
|
|
Name: harbour-books
|
|
|
|
Summary: E-book reader
|
2021-11-13 22:10:47 +03:00
|
|
|
Version: 1.0.46
|
2015-06-28 14:22:35 +03:00
|
|
|
Release: 1
|
2016-07-27 23:29:03 +03:00
|
|
|
License: BSD
|
2015-06-28 14:22:35 +03:00
|
|
|
Group: Applications/File
|
|
|
|
URL: http://github.com/monich/harbour-books
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
Requires: sailfishsilica-qt5
|
2016-10-07 18:00:36 +03:00
|
|
|
Requires: qt5-qtsvg-plugin-imageformat-svg
|
2015-06-28 14:22:35 +03:00
|
|
|
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)
|
2016-08-30 12:01:21 +03:00
|
|
|
BuildRequires: pkgconfig(libudev)
|
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
|
|
|
|
|
2022-10-11 02:52:10 +03:00
|
|
|
%check
|
|
|
|
make -C test test
|
|
|
|
|
2015-06-28 14:22:35 +03:00
|
|
|
%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
|