From: MyungJoo Ham Date: Mon, 20 Feb 2017 09:45:44 +0000 (+0900) Subject: All example domains/epic-features X-Git-Tag: submit/tizen/20170405.075452~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F51%2F115551%2F3;p=tools%2Fbuilding-blocks.git All example domains/epic-features Change-Id: I983664fca0a75890af9d546e53762a1aeb2a2b61 Signed-off-by: MyungJoo Ham --- diff --git a/MAINTAINERS b/MAINTAINERS index bd5511c..c71d2b5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3,16 +3,68 @@ OVERALL RESOURCES M: MyungJoo Ham +M: Geunsik Lim F: RULES F: MAINTAINERS F: packaging/building-blocks.spec F: * DOMAIN: System-FW -M: TBD +M: Kun-Hoon Baik +M: Hyotaek Shim +M: SEUNGCHUL CHAE F: packaging/domain-systemfw.inc DOMAIN: Kernel -M: TBD +M: Inki Dae F: packaging/domain-kernel.inc + +DOMAIN: App Framework +M: TBD +F: packaging/domain-appfw.inc + +DOMAIN: Window System +M: TBD +F: packaging/domain-window-system.inc + +DOMAIN: Graphics +M: TBD +F: packaging/domain-graphics.inc + +DOMAIN: Network & Connectivity +M: TBD +F: packaging/domain-network.inc + +DOMAIN: Multimedia +M: TBD +F: packaging/domain-multimedia.inc + +DOMAIN: HAL +M: TBD +F: packaging/domain-hal.inc + +DOMAIN: Service Framework +M: TBD +F: packaging/domain-service-framework.inc + +DOMAIN: UI +M: TBD +F: packaging/domain-UI.inc + +DOMAIN: UIX +M: TBD +F: packaging/domain-UIX.inc + +DOMAIN: Security +M: TBD +F: packaging/domain-security.inc + + + + +EPIC FEATURE: Headless +M: Ohoon Kwon +F: packaging/epicfeature-headless.inc + + diff --git a/RULES b/RULES index 7ca772e..6f5424b 100644 --- a/RULES +++ b/RULES @@ -63,3 +63,17 @@ + +=========================================================================== + 4. Maintainer and Review Rules +=========================================================================== + +4-1. Multiple maintainers (M:) per domain is possible. (limit = 3) + +4-2. At least one maintainer per domain + +4-3. Please do review in a week for incoming commits after review entry added for the maintainers + +4-4. To comitters: add proper maintainers as the reviewers in gerrit. + + diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec index 2b9c9e3..d683a58 100644 --- a/packaging/building-blocks.spec +++ b/packaging/building-blocks.spec @@ -9,11 +9,26 @@ Summary: The Root of All Tizen Meta Packages (building blocks) Url: http://tizen.org Group: Meta Source0: %{name}-%{version}.tar.gz -Source1: domain-systemfw.inc +Source1001: domain-kernel.inc +Source1002: domain-systemfw.inc + +Source1010: domain-appfw.inc +Source1020: domain-window-system.inc +Source1030: domain-graphics.inc +Source1040: domain-network.inc +Source1050: domain-multimedia.inc +Source1060: domain-hal.inc +Source1070: domain-service-framework.inc +Source1080: domain-UI.inc +Source1090: domain-UIX.inc +Source1100: domain-security.inc + +Source2001: epicfeature-headless.inc -Suggests: %{name}-root-Headless -Suggests: %{name}-root-chooseonlyone_Kernel Suggests: %{name}-root-UI +Suggests: %{name}-root-Kernel +Suggests: %{name}-root-System_FW +Suggests: %{name}-root-Headless %description The root of all Tizen building block meta packages. @@ -28,35 +43,32 @@ In Tizen building blocks, "Requires" means mandatory package. %files +############## DOMAINS ################## + +# Include "Kernel" domain. The script should not execute "include" if the contexst is in GBS service in OBS or GBS-Export +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1001}"), "f") then print("%include %{SOURCE1001}") end}} + # Include "systemfw" domain. The script should not execute "include" if the contexst is in GBS service in OBS or GBS-Export -%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1}"), "f") then print("%include %{SOURCE1}") end}} - -%package root-Headless -Summary: Enable Tizen Headless Device -Conflicts: efl -Conflicts: wayland -Requires: %{name}-sub1-Headless-Minimal -Suggests: %{name}-sub1-Headless-Network -%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 - -%package sub1-Headless-Network -Summary: Headless Network Packages -Requires: wpa-supplicant -Suggests: bluez -%description sub1-Headless-Network -Include network packages for headless. -%files sub1-Headless-Network +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1002}"), "f") then print("%include %{SOURCE1002}") end}} + +# And other domains +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1010}"), "f") then print("%include %{SOURCE1010}") end}} +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1020}"), "f") then print("%include %{SOURCE1020}") end}} +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1030}"), "f") then print("%include %{SOURCE1030}") end}} +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1040}"), "f") then print("%include %{SOURCE1040}") end}} +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1050}"), "f") then print("%include %{SOURCE1050}") end}} +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1060}"), "f") then print("%include %{SOURCE1060}") end}} +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1070}"), "f") then print("%include %{SOURCE1070}") end}} +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1080}"), "f") then print("%include %{SOURCE1080}") end}} +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1090}"), "f") then print("%include %{SOURCE1090}") end}} +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE1100}"), "f") then print("%include %{SOURCE1100}") end}} + + +############## EPIC FEATURES ###################### + +# Include "headless" epic feature. The script should not execute "include" if the contexst is in GBS service in OBS or GBS-Export +%{expand:%{lua:if posix.access(rpm.expand("%{SOURCE2001}"), "f") then print("%include %{SOURCE2001}") end}} + %package root-UI Summary: UI Related Packages @@ -66,16 +78,3 @@ Requires: wayland UI Frameworks of Tizen %files root-UI - -# Note to S-Core -# When a block name is "chooseonlyone_*", its UI-shown name is "*" and the elements are shown with radio-button (choose only one) UI. -# Recommended: add only one Requires here. -# TIC is going to choose only one package that provides the "requires" package. -# In this example, TIC is going to choose one pakcage that Provides linux-kernel >= 3.10 if root-chooseonlyone_Kernel is chosen. -# By default, any package is going to be chosen unless there is another dependencies. -%package root-chooseonlyone_Kernel -Summary: Linux Kernel -Requires: linux-kernel >= 3.10 -%description root-chooseonlyone_Kernel -Include Linux Kernel in the Platform Image -%files root-chooseonlyone_Kernel diff --git a/packaging/domain-UI.inc b/packaging/domain-UI.inc new file mode 100644 index 0000000..37dccec --- /dev/null +++ b/packaging/domain-UI.inc @@ -0,0 +1,9 @@ +# Maintainer: Please Write +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + + +### << PLEASE FILL IN YOUR ROOT/SUB PACKAGES >> ### + + +# END diff --git a/packaging/domain-UIX.inc b/packaging/domain-UIX.inc new file mode 100644 index 0000000..37dccec --- /dev/null +++ b/packaging/domain-UIX.inc @@ -0,0 +1,9 @@ +# Maintainer: Please Write +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + + +### << PLEASE FILL IN YOUR ROOT/SUB PACKAGES >> ### + + +# END diff --git a/packaging/domain-appfw.inc b/packaging/domain-appfw.inc new file mode 100644 index 0000000..37dccec --- /dev/null +++ b/packaging/domain-appfw.inc @@ -0,0 +1,9 @@ +# Maintainer: Please Write +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + + +### << PLEASE FILL IN YOUR ROOT/SUB PACKAGES >> ### + + +# END diff --git a/packaging/domain-graphics.inc b/packaging/domain-graphics.inc new file mode 100644 index 0000000..37dccec --- /dev/null +++ b/packaging/domain-graphics.inc @@ -0,0 +1,9 @@ +# Maintainer: Please Write +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + + +### << PLEASE FILL IN YOUR ROOT/SUB PACKAGES >> ### + + +# END diff --git a/packaging/domain-hal.inc b/packaging/domain-hal.inc new file mode 100644 index 0000000..37dccec --- /dev/null +++ b/packaging/domain-hal.inc @@ -0,0 +1,9 @@ +# Maintainer: Please Write +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + + +### << PLEASE FILL IN YOUR ROOT/SUB PACKAGES >> ### + + +# END diff --git a/packaging/domain-kernel.inc b/packaging/domain-kernel.inc new file mode 100644 index 0000000..1fb67c8 --- /dev/null +++ b/packaging/domain-kernel.inc @@ -0,0 +1,34 @@ +# Maintainer: Inki Dae +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + +%package root-Kernel +Summary: Tizen Kernel Domain +Suggests: %{name}-sub1-Kernel-chooseonlyone_Kernel + +%description root-Kernel +This domain, "Kernel", introdues packages and sub-domains/features +of Tizen Kernel packages. +This is maintained by Inki Dae. + +%files root-Kernel + + +# Note to S-Core +# When a block name is "chooseonlyone_*", its UI-shown name is "*" and the elements are shown with radio-button (choose only one) UI. +# Recommended: add only one Requires here. +# TIC is going to choose only one package that provides the "requires" package. +# In this example, TIC is going to choose one pakcage that Provides linux-kernel >= 3.10 if root-chooseonlyone_Kernel is chosen. +# By default, any package is going to be chosen unless there is another dependencies. + +%package sub1-Kernel-chooseonlyone_Kernel +Summary: Linux Kernel +Requires: linux-kernel >= 3.10 + +%description sub1-Kernel-chooseonlyone_Kernel +Include Linux Kernel in the Platform Image + +%files sub1-Kernel-chooseonlyone_Kernel + + + +# END diff --git a/packaging/domain-multimedia.inc b/packaging/domain-multimedia.inc new file mode 100644 index 0000000..37dccec --- /dev/null +++ b/packaging/domain-multimedia.inc @@ -0,0 +1,9 @@ +# Maintainer: Please Write +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + + +### << PLEASE FILL IN YOUR ROOT/SUB PACKAGES >> ### + + +# END diff --git a/packaging/domain-network.inc b/packaging/domain-network.inc new file mode 100644 index 0000000..37dccec --- /dev/null +++ b/packaging/domain-network.inc @@ -0,0 +1,9 @@ +# Maintainer: Please Write +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + + +### << PLEASE FILL IN YOUR ROOT/SUB PACKAGES >> ### + + +# END diff --git a/packaging/domain-security.inc b/packaging/domain-security.inc new file mode 100644 index 0000000..37dccec --- /dev/null +++ b/packaging/domain-security.inc @@ -0,0 +1,9 @@ +# Maintainer: Please Write +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + + +### << PLEASE FILL IN YOUR ROOT/SUB PACKAGES >> ### + + +# END diff --git a/packaging/domain-service-framework.inc b/packaging/domain-service-framework.inc new file mode 100644 index 0000000..37dccec --- /dev/null +++ b/packaging/domain-service-framework.inc @@ -0,0 +1,9 @@ +# Maintainer: Please Write +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + + +### << PLEASE FILL IN YOUR ROOT/SUB PACKAGES >> ### + + +# END diff --git a/packaging/domain-window-system.inc b/packaging/domain-window-system.inc new file mode 100644 index 0000000..37dccec --- /dev/null +++ b/packaging/domain-window-system.inc @@ -0,0 +1,9 @@ +# Maintainer: Please Write +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + + +### << PLEASE FILL IN YOUR ROOT/SUB PACKAGES >> ### + + +# END diff --git a/packaging/epicfeature-headless.inc b/packaging/epicfeature-headless.inc new file mode 100644 index 0000000..868b058 --- /dev/null +++ b/packaging/epicfeature-headless.inc @@ -0,0 +1,32 @@ +# Maintainer: Ohoon Kwon +# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers. + + +%package root-Headless +Summary: Enable Tizen Headless Device +Conflicts: efl +Conflicts: wayland +Requires: %{name}-sub1-Headless-Minimal +Suggests: %{name}-sub1-Headless-Network +%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 + +%package sub1-Headless-Network +Summary: Headless Network Packages +Requires: wpa-supplicant +Suggests: bluez +%description sub1-Headless-Network +Include network packages for headless. +%files sub1-Headless-Network + +#END