diff options
Diffstat (limited to 'rpm')
| -rw-r--r-- | rpm/rockpool.changes | 2 | ||||
| -rw-r--r-- | rpm/rockpool.spec | 87 | ||||
| -rw-r--r-- | rpm/rockpool.yaml | 38 |
3 files changed, 127 insertions, 0 deletions
diff --git a/rpm/rockpool.changes b/rpm/rockpool.changes new file mode 100644 index 0000000..fee8c03 --- /dev/null +++ b/rpm/rockpool.changes @@ -0,0 +1,2 @@ +* Thu Jan 21 2016 Andrew Branson <andrew@andrewbranson.net> 0.1
+- Initial Merge of pebbled and rockwork
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 diff --git a/rpm/rockpool.yaml b/rpm/rockpool.yaml new file mode 100644 index 0000000..51d72b6 --- /dev/null +++ b/rpm/rockpool.yaml @@ -0,0 +1,38 @@ +Name: rockpool
+Summary: Support for Pebble watches in SailfishOS
+Version: 1.0
+Release: 1
+Group: Qt/Qt
+URL: http://getpebble.com/
+License: GPL3
+Sources:
+- '%{name}-%{version}.tar.xz'
+Description: |
+ Support for Pebble watch to receive events from SailfishOS device via Bluetooth.
+Configure: none
+Builder: qtc5
+QMakeOptions:
+- VERSION='%{version}-%{release}'
+PkgConfigBR:
+- Qt5DBus
+- Qt5Bluetooth
+- Qt5Contacts
+- Qt5Quick
+- Qt5Qml
+- Qt5Core
+- mlite5
+- sailfishapp >= 0.0.10
+- icu-i18n
+- zlib
+Requires:
+- sailfishsilica-qt5 >= 0.10.9
+- systemd-user-session-targets
+- nemo-qml-plugin-dbus-qt5
+Files:
+- '%{_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'
|
