2019-12-01 22:27:00 +03:00
|
|
|
Name: harbour-seaprint
|
|
|
|
|
|
|
|
Summary: SeaPrint
|
2020-12-03 21:03:48 +03:00
|
|
|
Version: 0
|
2020-05-03 15:26:55 +03:00
|
|
|
Release: 1
|
2019-12-01 22:27:00 +03:00
|
|
|
Group: Qt/Qt
|
|
|
|
License: LICENSE
|
|
|
|
URL: http://example.org/
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
Requires: sailfishsilica-qt5 >= 0.10.9
|
|
|
|
BuildRequires: pkgconfig(sailfishapp) >= 1.0.2
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
BuildRequires: pkgconfig(Qt5Qml)
|
|
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
2021-08-02 23:00:08 +03:00
|
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
2021-06-19 18:47:11 +03:00
|
|
|
BuildRequires: pkgconfig(mlite5)
|
2019-12-01 22:27:00 +03:00
|
|
|
BuildRequires: desktop-file-utils
|
2021-08-28 23:16:26 +03:00
|
|
|
BuildRequires: pkgconfig(libcurl)
|
2019-12-01 22:27:00 +03:00
|
|
|
|
|
|
|
%description
|
2021-08-02 23:00:08 +03:00
|
|
|
Network printing for Sailfish OS
|
2019-12-01 22:27:00 +03:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
2019-12-20 00:59:56 +03:00
|
|
|
%qmake5 \
|
|
|
|
VERSION=%{version}
|
2019-12-01 22:27:00 +03:00
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%qmake5_install
|
|
|
|
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
%{buildroot}%{_datadir}/applications/*.desktop
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|