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: pkgconfig(nemonotifications-qt5) | ||||
25 | BuildRequires: pkgconfig(qca2-qt5) >= 2.0.0 | ||||
26 | BuildRequires: desktop-file-utils | ||||
27 | BuildRequires: cmake >= 3.0 | ||||
28 | BuildRequires: extra-cmake-modules >= 5.31.0 | ||||
29 | BuildRequires: kcoreaddons-devel >= 5.31.0 | ||||
30 | BuildRequires: kdbusaddons-devel >= 5.31.0 | ||||
31 | BuildRequires: ki18n-devel >= 5.31.0 | ||||
32 | BuildRequires: kconfig-devel >= 5.31.0 | ||||
33 | BuildRequires: kiconthemes-devel >= 5.31.0 | ||||
34 | | ||||
35 | %description | ||||
36 | Short description of my Sailfish OS Application | ||||
37 | | ||||
38 | | ||||
39 | %prep | ||||
40 | %setup -q | ||||
41 | | ||||
42 | # >> setup | ||||
43 | # << setup | ||||
44 | | ||||
45 | %build | ||||
46 | # >> build pre | ||||
47 | # << build pre | ||||
48 | mkdir -p build | ||||
49 | cd build | ||||
50 | %cmake .. -DSAILFISHOS=YES | ||||
51 | make %{?jobs:-j%jobs} | ||||
52 | | ||||
53 | # >> build post | ||||
54 | # << build post | ||||
55 | | ||||
56 | %install | ||||
57 | rm -rf %{buildroot} | ||||
58 | # >> install pre | ||||
59 | # << install pre | ||||
60 | pushd build | ||||
61 | %make_install | ||||
62 | popd | ||||
63 | | ||||
64 | | ||||
65 | # >> install post | ||||
66 | # << install post | ||||
67 | | ||||
68 | desktop-file-install --delete-original \ | ||||
69 | --dir %{buildroot}%{_datadir}/applications \ | ||||
70 | %{buildroot}%{_datadir}/applications/*.desktop | ||||
71 | | ||||
72 | %files | ||||
73 | %defattr(-,root,root,-) | ||||
74 | %{_bindir} | ||||
75 | %{_libdir} | ||||
76 | %{_datadir}/%{name} | ||||
77 | %{_datadir}/applications/%{name}.desktop | ||||
78 | /etc/xdg/autostart/kdeconnectd.desktop | ||||
79 | /usr/share/dbus-1/services/org.kde.kdeconnect.service | ||||
80 | /usr/share/knotifications5/kdeconnect.notifyrc | ||||
81 | /usr/share/kservicetypes5/kdeconnect_plugin.desktop | ||||
82 | #%{_datadir}/icons/hicolor/*/apps/%{name}.png | ||||
83 | /usr/share/icons/ | ||||
84 | # >> files | ||||
85 | # << files |