42 lines
944 B
RPMSpec
42 lines
944 B
RPMSpec
Name: harbour-anchor
|
|
|
|
Summary: Anchor
|
|
Version: 0.1
|
|
Release: 1
|
|
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)
|
|
BuildRequires: desktop-file-utils
|
|
|
|
%description
|
|
App using compass and GPS to mark your position and create an anchor so you can find back to that location at a later time.
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
|
|
%qmake5
|
|
|
|
%make_build
|
|
|
|
|
|
%install
|
|
%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
|