From c74ee862c3b6f8aa6fa82277d01bbda1a2f24e8c Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Thu, 26 Jan 2017 16:43:34 +0900 Subject: [PATCH] Initial Tizen Build Block Draft Model Signed-off-by: MyungJoo Ham --- packaging/building-blocks.spec | 56 ++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 packaging/building-blocks.spec diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec new file mode 100644 index 0000000..013c1b0 --- /dev/null +++ b/packaging/building-blocks.spec @@ -0,0 +1,56 @@ +Name: building-blocks +Version: 0.0.1 +Release: 0 +License: Apache-2 +Summary: The Root of All Tizen Meta Packages (building blocks) +Url: http://tizen.org +Group: Meta +Source0: %{name}-%{version}.tar.gz + +Suggests: %{name}-root-Headless +Suggests: %{name}-root-Kernel + +%description +The root of all Tizen building block meta packages. +Every root-level Tizen building block should be included by this. +Any "minimal" reauired packages should be somehow (directly or indirectly) +required (included) by this package. +In Tizen building blocks, "Requires" means mandatory package. +"Suggests" means optional package. +"Recommened" is reserved for future usage. +"Conflicts" is to unselect unconditionally. +%files + + +%package root-Headless +Summary: Enable Tizen Headless Device +Conflicts: efl +Conflicts: wayland +Requires: %{name}-sub1-Headless-Minimal +%description root-Headless +Enableing this means that you are going to create Tizen headless device. +This disables all display depending packages. +%files root-Headless + +%package sub1-Headless-Minimal +Summary: Minimal Tizen Image Configuration for Headless +Requires: bash +Requires: systemd +%description sub1-Headless-Minimal +Include minimal set of packages for headless. +%files sub1-Headless-Minimal + + +# Note to S-Core +# 1. How are you going to make "Radio Button" UI for "choose one among these" case? +# ; root-Kernel has Requires supplied by Suggests for that case +# 2. How are you going to support Requires/Suggests on virtual packages? +%package root-Kernel +Summary: Linux Kernel +Requires: linux-kernel >= 3.10 +Suggests: arm64-tm2-linux-kernel +Suggests: arm-odroidxu3-linux-kernel + +%description root-Kernel +Include Linux Kernel in the Platform Image +%files root-Kernel -- 2.34.1