diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2016-02-12 01:09:19 +0100 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2016-02-12 01:09:19 +0100 |
| commit | 0d5ae0b50811736713bda642489d038759883589 (patch) | |
| tree | f3b94d7fed375b60c28762c0f4631459749daa60 /rpm/rockpool.spec | |
| parent | 29aaea2d80a9eb1715b6cddfac2d2aacf76358bd (diff) | |
Compiling
Sailfish platform integration files created and bluetooth debug tweaked
to build.
Diffstat (limited to 'rpm/rockpool.spec')
| -rw-r--r-- | rpm/rockpool.spec | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/rpm/rockpool.spec b/rpm/rockpool.spec new file mode 100644 index 0000000..5e19eb5 --- /dev/null +++ b/rpm/rockpool.spec @@ -0,0 +1,87 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.27 +# + +Name: rockpool + +# >> macros +# << macros + +%{!?qtc_qmake:%define qtc_qmake %qmake} +%{!?qtc_qmake5:%define qtc_qmake5 %qmake5} +%{!?qtc_make:%define qtc_make make} +%{?qtc_builddir:%define _builddir %qtc_builddir} +Summary: Support for Pebble watches in SailfishOS +Version: 1.0 +Release: 1 +Group: Qt/Qt +License: GPL3 +URL: http://getpebble.com/ +Source0: %{name}-%{version}.tar.xz +Source100: rockpool.yaml +Requires: sailfishsilica-qt5 >= 0.10.9 +Requires: systemd-user-session-targets +Requires: nemo-qml-plugin-dbus-qt5 +BuildRequires: pkgconfig(Qt5DBus) +BuildRequires: pkgconfig(Qt5Bluetooth) +BuildRequires: pkgconfig(Qt5Contacts) +BuildRequires: pkgconfig(Qt5Quick) +BuildRequires: pkgconfig(Qt5Qml) +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(mlite5) +BuildRequires: pkgconfig(sailfishapp) >= 0.0.10 +BuildRequires: pkgconfig(icu-i18n) +BuildRequires: pkgconfig(zlib) + +%description +Support for Pebble watch to receive events from SailfishOS device via Bluetooth. + + +%prep +%setup -q -n %{name}-%{version} + +# >> setup +# << setup + +%build +# >> build pre +# << build pre + +%qtc_qmake5 \ + VERSION='%{version}-%{release}' + +%qtc_make %{?_smp_mflags} + +# >> build post +# << build post + +%install +rm -rf %{buildroot} +# >> install pre +# << install pre +%qmake5_install + +# >> install post +mkdir -p %{buildroot}%{_libdir}/systemd/user/user-session.target.wants +ln -s ../rockpoold.service %{buildroot}%{_libdir}/systemd/user/user-session.target.wants/ +# << install post + +%post +# >> post +su nemo -c 'systemctl --user daemon-reload' +su nemo -c 'systemctl --user try-restart rockpoold.service' +update-desktop-database +# << post + +%files +%defattr(-,root,root,-) +%{_bindir} +%{_datadir}/%{name}/qml +%{_datadir}/%{name}/jsfiles.qrc +%{_datadir}/%{name}/translations +%{_datadir}/icons/hicolor/86x86/apps/%{name}.png +%{_libdir}/systemd/user/%{name}d.service +%{_libdir}/systemd/user/user-session.target.wants/%{name}d.service +# >> files +# << files |
