Subversion Repositories harbour-onvista

Rev

Rev 1 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 devnull 1
#
2
# Do NOT Edit the Auto-generated Part!
3
# Generated by: spectacle version 0.27
4
#
5
 
6
Name:       harbour-onvista
7
 
8
# >> macros
9
# << macros
10
 
11
Summary:    Onvista (unofficial)
2 devnull 12
Version:    0.2
1 devnull 13
Release:    1
14
Group:      Qt/Qt
2 devnull 15
License:    GPL
1 devnull 16
BuildArch:  noarch
17
URL:        http://example.org/
18
Source0:    %{name}-%{version}.tar.bz2
19
Source100:  harbour-onvista.yaml
20
Requires:   sailfishsilica-qt5 >= 0.10.9
21
Requires:   libsailfishapp-launcher
22
BuildRequires:  pkgconfig(sailfishapp) >= 1.0.3
23
BuildRequires:  pkgconfig(Qt5Core)
24
BuildRequires:  pkgconfig(Qt5Qml)
25
BuildRequires:  pkgconfig(Qt5Quick)
26
BuildRequires:  desktop-file-utils
27
 
28
%description
29
Short description of my Sailfish OS Application
30
 
31
 
32
%prep
33
%setup -q -n %{name}-%{version}
34
 
35
# >> setup
36
# << setup
37
 
38
%build
39
# >> build pre
40
# << build pre
41
 
42
%qmake5
43
 
44
make %{?_smp_mflags}
45
 
46
# >> build post
47
# << build post
48
 
49
%install
50
rm -rf %{buildroot}
51
# >> install pre
52
# << install pre
53
%qmake5_install
54
 
55
# >> install post
56
# << install post
57
 
58
desktop-file-install --delete-original       \
59
  --dir %{buildroot}%{_datadir}/applications             \
60
   %{buildroot}%{_datadir}/applications/*.desktop
61
 
62
%files
63
%defattr(-,root,root,-)
64
%defattr(0644,root,root,-)
65
%{_datadir}/%{name}
66
%{_datadir}/applications/%{name}.desktop
67
%{_datadir}/icons/hicolor/*/apps/%{name}.png
68
# >> files
69
# << files