Changeset View
Changeset View
Standalone View
Standalone View
sfos/rpm/kdeconnect-sfos.spec
- This file was added.
1 | # | ||||
---|---|---|---|---|---|
2 | # Do NOT Edit the Auto-generated Part! | ||||
3 | # Generated by: spectacle version 0.27 | ||||
4 | # | ||||
5 | | ||||
6 | Name: kdeconnect-sfos | ||||
7 | | ||||
8 | # >> macros | ||||
9 | # << macros | ||||
10 | | ||||
11 | Summary: KDEConnect client for Sailfish | ||||
12 | Version: 0.1 | ||||
13 | Release: 1 | ||||
14 | Group: Qt/Qt | ||||
15 | License: LICENSE | ||||
16 | URL: http://example.org/ | ||||
17 | Source0: %{name}-%{version}.tar.bz2 | ||||
18 | Source100: kdeconnect-sfos.yaml | ||||
19 | Requires: sailfishsilica-qt5 >= 0.10.9 | ||||
20 | BuildRequires: pkgconfig(sailfishapp) >= 1.0.2 | ||||
21 | BuildRequires: pkgconfig(Qt5Core) | ||||
22 | BuildRequires: pkgconfig(Qt5Qml) | ||||
23 | BuildRequires: pkgconfig(Qt5Quick) | ||||
24 | BuildRequires: desktop-file-utils | ||||
25 | BuildRequires: cmake >= 3.0 | ||||
26 | BuildRequires: extra-cmake-modules >= %{_tar_path} | ||||
27 | | ||||
28 | %description | ||||
29 | Short description of my Sailfish OS Application | ||||
30 | | ||||
31 | | ||||
32 | %prep | ||||
33 | %setup -q | ||||
34 | | ||||
35 | # >> setup | ||||
36 | # << setup | ||||
37 | | ||||
38 | %build | ||||
39 | # >> build pre | ||||
40 | # << build pre | ||||
41 | mkdir -p build | ||||
42 | cd build | ||||
43 | %cmake .. -DSAILFISHOS=YES | ||||
44 | make %{?jobs:-j%jobs} | ||||
45 | | ||||
46 | # >> build post | ||||
47 | # << build post | ||||
48 | | ||||
49 | %install | ||||
50 | rm -rf %{buildroot} | ||||
51 | # >> install pre | ||||
52 | # << install pre | ||||
53 | pushd build | ||||
54 | %make_install | ||||
55 | popd | ||||
56 | | ||||
57 | | ||||
58 | # >> install post | ||||
59 | # << install post | ||||
60 | | ||||
61 | desktop-file-install --delete-original \ | ||||
62 | --dir %{buildroot}%{_datadir}/applications \ | ||||
63 | %{buildroot}%{_datadir}/applications/*.desktop | ||||
64 | | ||||
65 | %files | ||||
66 | %defattr(-,root,root,-) | ||||
67 | %{_bindir} | ||||
68 | %{_libdir} | ||||
69 | %{_datadir}/%{name} | ||||
70 | %{_datadir}/applications/%{name}.desktop | ||||
71 | /etc/xdg/autostart/kdeconnectd.desktop | ||||
72 | /usr/share/dbus-1/services/org.kde.kdeconnect.service | ||||
73 | /usr/share/knotifications5/kdeconnect.notifyrc | ||||
74 | /usr/share/kservicetypes5/kdeconnect_plugin.desktop | ||||
75 | #%{_datadir}/icons/hicolor/*/apps/%{name}.png | ||||
76 | /usr/share/icons/ | ||||
77 | # >> files | ||||
78 | # << files |