summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2014-04-25 10:43:21 +0200
committerTomasz Olszak <olszak.tomasz@gmail.com>2014-04-28 12:16:06 +0200
commit69ec00655499e093fa9dfbee9f70ee74848055f1 (patch)
treebc4eafb97905a7aa32ccfb8907e655213430a4f7
parente45eca3a3e6aa699183a109d28cc4f20e02a56cb (diff)
downloadqtbase-69ec00655499e093fa9dfbee9f70ee74848055f1.tar.gz
qtbase-69ec00655499e093fa9dfbee9f70ee74848055f1.tar.bz2
qtbase-69ec00655499e093fa9dfbee9f70ee74848055f1.zip
Added manifest file according to smack 3-domain model.
Bug-Tizen:TIVI-2416 Change-Id: If84175960d7df18ba95a964a5a665c86ea84b4f8 Signed-off-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r--packaging/qt5.manifest5
-rw-r--r--packaging/qt5.spec48
2 files changed, 53 insertions, 0 deletions
diff --git a/packaging/qt5.manifest b/packaging/qt5.manifest
new file mode 100644
index 0000000000..75b0fa5e34
--- /dev/null
+++ b/packaging/qt5.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/qt5.spec b/packaging/qt5.spec
index 0bdb2cad63..4399e750b3 100644
--- a/packaging/qt5.spec
+++ b/packaging/qt5.spec
@@ -65,6 +65,7 @@ URL: http://qt.digia.com
Source0: %{name}-%{version}.tar.bz2
Source1: macros.qt5-default
Source100: qtbase-rpmlintrc
+Source1001: %{name}.manifest
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(freetype2)
@@ -563,6 +564,7 @@ This package contains the Qt5 development defaults package
%prep
%setup -q -n qt5-%{version}/qtbase
+cp %{SOURCE1001} .
%build
touch .git
@@ -732,6 +734,7 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files tools
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/bin/moc
%{_libdir}/qt5/bin/rcc
%{_libdir}/qt5/bin/syncqt.pl
@@ -742,6 +745,7 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtcore
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%dir %{_includedir}/qt5/
%dir %{_datadir}/qt5/
%dir %{_libdir}/qt5/plugins/
@@ -752,6 +756,7 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtcore-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtCore
%{_libdir}/libQt5Core.prl
%{_libdir}/libQt5Core.la
@@ -763,6 +768,7 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qmake
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/bin/qmake
%{_datadir}/qt5/mkspecs/aix-*
%{_datadir}/qt5/mkspecs/blackberry*
@@ -807,11 +813,13 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtdbus
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5DBus.so.*
%files qtdbus-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/bin/qdbuscpp2xml
%{_libdir}/qt5/bin/qdbusxml2cpp
%{_includedir}/qt5/QtDBus
@@ -825,11 +833,13 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtgui
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Gui.so.*
%files qtgui-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtGui
%{_libdir}/libQt5Gui.prl
%{_libdir}/libQt5Gui.la
@@ -841,11 +851,13 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtnetwork
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Network.so.*
%files qtnetwork-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtNetwork
%{_libdir}/libQt5Network.prl
%{_libdir}/libQt5Network.la
@@ -857,11 +869,13 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtopengl
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5OpenGL.so.*
%files qtopengl-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtOpenGL
%{_includedir}/qt5/QtOpenGLExtensions
%{_libdir}/libQt5OpenGL.prl
@@ -882,11 +896,13 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtsql
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Sql.so.*
%files qtsql-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtSql
%{_libdir}/libQt5Sql.prl
%{_libdir}/libQt5Sql.la
@@ -898,10 +914,12 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qttest
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Test.so.*
%files qttest-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtTest
%{_libdir}/libQt5Test.prl
%{_libdir}/libQt5Test.la
@@ -912,10 +930,12 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtxml
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Xml.so.*
%files qtxml-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtXml
%{_libdir}/libQt5Xml.prl
%{_libdir}/libQt5Xml.la
@@ -926,10 +946,12 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtwidgets
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Widgets.so.*
%files qtwidgets-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtWidgets
%{_libdir}/libQt5Widgets.prl
%{_libdir}/libQt5Widgets.la
@@ -940,6 +962,7 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtplatformsupport-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtPlatformSupport
%{_libdir}/libQt5PlatformSupport.prl
%{_libdir}/libQt5PlatformSupport.la
@@ -949,6 +972,7 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtbootstrap-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Bootstrap.prl
%{_libdir}/libQt5Bootstrap.la
%{_libdir}/libQt5Bootstrap.a
@@ -957,10 +981,12 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtprintsupport
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5PrintSupport.so.*
%files qtprintsupport-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtPrintSupport
%{_libdir}/libQt5PrintSupport.prl
%{_libdir}/libQt5PrintSupport.la
@@ -971,10 +997,12 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files qtconcurrent
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/libQt5Concurrent.so.*
%files qtconcurrent-devel
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_includedir}/qt5/QtConcurrent
%{_libdir}/libQt5Concurrent.prl
%{_libdir}/libQt5Concurrent.la
@@ -987,91 +1015,111 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
%files plugin-bearer-connman
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/bearer/libqconnmanbearer.so
%files plugin-bearer-generic
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/bearer/libqgenericbearer.so
%files plugin-bearer-nm
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/bearer/libqnmbearer.so
%files plugin-imageformat-gif
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/imageformats/libqgif.so
%files plugin-imageformat-ico
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/imageformats/libqico.so
%files plugin-imageformat-jpeg
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/imageformats/libqjpeg.so
%files plugin-platform-minimal
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/platforms/libqminimal.so
%files plugin-platform-offscreen
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/platforms/libqoffscreen.so
%files plugin-platform-eglfs
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/platforms/libqeglfs.so
%files plugin-platform-minimalegl
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/platforms/libqminimalegl.so
%files plugin-platform-linuxfb
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/platforms/libqlinuxfb.so
%if %{with x}
%files plugin-platform-xcb
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/platforms/libqxcb.so
%endif
%files plugin-printsupport-cups
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/printsupport/libcupsprintersupport.so
%files plugin-accessible-widgets
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/accessible/libqtaccessiblewidgets.so
%files plugin-sqldriver-sqlite
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/sqldrivers/libqsqlite.so
%if %{with ibus}
%files plugin-platforminputcontext-ibus
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so
%endif
%if %{with xkbcommon} && %{with x}
%files plugin-platforminputcontext-compose
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so
%endif
%if %{with tizenscim}
%files plugin-platform-inputcontext-tizenscim
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/platforminputcontexts/libtizenscimplatforminputcontextplugin.so
%endif
%files plugin-generic-evdev
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_libdir}/qt5/plugins/generic/libqevdev*plugin.so
%files -n qt5-default
%defattr(-,root,root,-)
+%manifest %{name}.manifest
%{_sysconfdir}/xdg/qtchooser/default.conf
#### No changelog section, separate $pkg.changes contains the history