summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2014-04-25 14:28:13 +0200
committerTomasz Olszak <olszak.tomasz@gmail.com>2014-10-04 18:17:51 +0200
commit089b0239ea368018fbb035baa778ccf95b97cfd5 (patch)
tree6ac8ff80049e491f9bdc7fb47dd590fc108ea4e9
parent53d28f6b20e9385fbad844b5f76ea74860a566a3 (diff)
downloadqttools-089b0239ea368018fbb035baa778ccf95b97cfd5.tar.gz
qttools-089b0239ea368018fbb035baa778ccf95b97cfd5.tar.bz2
qttools-089b0239ea368018fbb035baa778ccf95b97cfd5.zip
Added manifest file according to smack 3-domain model.
Bug-Tizen:TIVI-2416 Change-Id: I983645067965df072c0d5a38c88705beb5b258c9 Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r--packaging/qt5-qttools.manifest5
-rw-r--r--packaging/qt5-qttools.spec17
2 files changed, 21 insertions, 1 deletions
diff --git a/packaging/qt5-qttools.manifest b/packaging/qt5-qttools.manifest
new file mode 100644
index 00000000..75b0fa5e
--- /dev/null
+++ b/packaging/qt5-qttools.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/qt5-qttools.spec b/packaging/qt5-qttools.spec
index fb603c46..d0c4dd40 100644
--- a/packaging/qt5-qttools.spec
+++ b/packaging/qt5-qttools.spec
@@ -33,6 +33,7 @@ License: LGPL-2.1+ or GPL-3.0
URL: http://qt.digia.com
Source: %{name}-%{version}.tar.bz2
Source1001: qt-designer.desktop
+Source1002: %{name}.manifest
BuildRequires: qt5-qtgui-devel
BuildRequires: qt5-qtnetwork-devel
BuildRequires: qt5-qtcore-devel
@@ -171,7 +172,9 @@ applications that use QtDesigner
%prep
%setup -q -n %{name}-%{version}/qttools
-cp %{SOURCE1001} .
+cp %{SOURCE1001} \
+ %{SOURCE1002} \
+ .
%build
export QTDIR=/usr/share/qt5
@@ -221,9 +224,11 @@ install qt-designer.desktop "%{buildroot}%{_datadir}/applications/"
%files
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%files linguist
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_qt5_bindir}/lconvert
%{_qt5_bindir}/linguist
%{_qt5_bindir}/qtpaths
@@ -234,18 +239,22 @@ install qt-designer.desktop "%{buildroot}%{_datadir}/applications/"
%files pixeltool
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_qt5_bindir}/pixeltool
%files qdbus
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_qt5_bindir}/qdbus
%{_qt5_bindir}/qdbusviewer
%files qtuitools
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%files qtuitools-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtUiTools
%{_libdir}/libQt5UiTools.prl
%{_libdir}/libQt5UiTools.a
@@ -257,10 +266,12 @@ install qt-designer.desktop "%{buildroot}%{_datadir}/applications/"
%files qthelp
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Help.so.*
%files qthelp-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_qt5_bindir}/assistant
%{_qt5_bindir}/qhelpgenerator
%{_qt5_bindir}/qcollectiongenerator
@@ -276,10 +287,12 @@ install qt-designer.desktop "%{buildroot}%{_datadir}/applications/"
%files qtclucene
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5CLucene.so.*
%files qtclucene-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtCLucene
%{_libdir}/libQt5CLucene.prl
%{_libdir}/libQt5CLucene.la
@@ -289,12 +302,14 @@ install qt-designer.desktop "%{buildroot}%{_datadir}/applications/"
%files qtdesigner
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_qt5_bindir}/designer
%{_libdir}/libQt5Designer*.so.*
%{_datadir}/applications/qt-designer.desktop
%files qtdesigner-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtDesigner
%{_includedir}/qt5/QtDesignerComponents
%{_libdir}/libQt5Designer*.so