summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-07-15 13:58:37 +0200
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-07-15 14:00:42 +0200
commit7879f617a2495c3e2c8cd6308b9e155de8d33c14 (patch)
tree11731c998cc3399623c485415efa0f4a7b10bf3c
parent61e664a8bab26aaec38fe72f08ce760bd9edd626 (diff)
downloadqt-tizen-7879f617a2495c3e2c8cd6308b9e155de8d33c14.tar.gz
qt-tizen-7879f617a2495c3e2c8cd6308b9e155de8d33c14.tar.bz2
qt-tizen-7879f617a2495c3e2c8cd6308b9e155de8d33c14.zip
packaging: add meta package ...
- relocate demo files to sub package qt-tizen-demo Bug-Tizen: TIVI-2416 Change-Id: I73e6a6afd645e504e4b6c19b4939dcf40c468862 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r--packaging/qt-tizen.spec24
1 files changed, 22 insertions, 2 deletions
diff --git a/packaging/qt-tizen.spec b/packaging/qt-tizen.spec
index f8e245f..4a50a74 100644
--- a/packaging/qt-tizen.spec
+++ b/packaging/qt-tizen.spec
@@ -1,3 +1,6 @@
+%bcond_with wayland
+%bcond_with x
+
Name: qt-tizen
Version: 0.0.1
Release: 0
@@ -7,10 +10,27 @@ Url: https://gitorious.org/qt-tizen
Group: System/Libraries
Source: %{name}-%{version}.tar.gz
-BuildRequires: make
Requires: qt5-qtdeclarative-examples
+Requires: qt5-tools
+
+%if %{with wayland}
+Requires: qtwayland
+%endif
+
+%if %{with x}
+Requires: qt5-plugin-platform-xcb
+%endif
%description
+Meta package for tizen platform.
+Used to abstract different setup.
+
+
+%package -n demo
+Summary: Specific tizen files for demos.
+BuildRequires: make
+
+%description -n demo
Add some links to launcher
%prep
@@ -29,6 +49,6 @@ make %{?jobs:-j%jobs} V=1
%postun -p /sbin/ldconfig
-%files
+%files -n demo
%defattr(-,root,root)
/*