summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2014-04-25 14:21:20 +0200
committerTomasz Olszak <olszak.tomasz@gmail.com>2014-05-07 00:28:22 +0200
commita67b647679e362599fc2dfbada78a82412bfcb46 (patch)
treeab4231f4af8bfe2347dea11fad3f00a278c41191
parentbfda1732471ee6be6b9f483565e7e4303fa27195 (diff)
downloadqtsensors-a67b647679e362599fc2dfbada78a82412bfcb46.tar.gz
qtsensors-a67b647679e362599fc2dfbada78a82412bfcb46.tar.bz2
qtsensors-a67b647679e362599fc2dfbada78a82412bfcb46.zip
Added manifest file according to smack 3-domain model.
Bug-Tizen:TIVI-2416 Change-Id: I76cb9a06d3b82fae6b9f0756465632ed4797d371 Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r--packaging/qt5-qtsensors.manifest5
-rw-r--r--packaging/qt5-qtsensors.spec9
2 files changed, 14 insertions, 0 deletions
diff --git a/packaging/qt5-qtsensors.manifest b/packaging/qt5-qtsensors.manifest
new file mode 100644
index 0000000..75b0fa5
--- /dev/null
+++ b/packaging/qt5-qtsensors.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/qt5-qtsensors.spec b/packaging/qt5-qtsensors.spec
index b7f8046..beb1ffb 100644
--- a/packaging/qt5-qtsensors.spec
+++ b/packaging/qt5-qtsensors.spec
@@ -31,6 +31,7 @@ Group: Base/Libraries
License: LGPL-2.1+ or GPL-3.0
URL: http://qt.digia.com
Source0: %{name}-%{version}.tar.bz2
+Source1001: %{name}.manifest
BuildRequires: qt5-qtcore-devel
BuildRequires: qt5-qtgui-devel
BuildRequires: qt5-qtopengl-devel
@@ -106,6 +107,7 @@ This package contains the gesture plugin for sensors
%prep
%setup -q -n %{name}-%{version}/qtsensors
+cp %{SOURCE1001} .
%build
export QTDIR=/usr/share/qt5
@@ -139,11 +141,13 @@ rm -f %{buildroot}/%{_libdir}/*.la
%files
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Sensors.so.5
%{_libdir}/libQt5Sensors.so.5.*
%files devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Sensors.so
%{_libdir}/libQt5Sensors.prl
%{_libdir}/pkgconfig/*
@@ -153,23 +157,28 @@ rm -f %{buildroot}/%{_libdir}/*.la
%files -n qt5-qtdeclarative-import-sensors
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/qml/QtSensors
%files plugin-generic
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/sensors/libqtsensors_generic.so
%files plugin-tizen
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/sensors/libqtsensors_tizen.so
%files plugin-gestures-shake
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/sensorgestures/libqtsensorgestures_shakeplugin.so
%files plugin-gestures-sensor
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/sensorgestures/libqtsensorgestures_plugin.so