All example domains/epic-features 51/115551/3
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 20 Feb 2017 09:45:44 +0000 (18:45 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 20 Feb 2017 10:11:22 +0000 (19:11 +0900)
Change-Id: I983664fca0a75890af9d546e53762a1aeb2a2b61
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
15 files changed:
MAINTAINERS
RULES
packaging/building-blocks.spec
packaging/domain-UI.inc [new file with mode: 0644]
packaging/domain-UIX.inc [new file with mode: 0644]
packaging/domain-appfw.inc [new file with mode: 0644]
packaging/domain-graphics.inc [new file with mode: 0644]
packaging/domain-hal.inc [new file with mode: 0644]
packaging/domain-kernel.inc [new file with mode: 0644]
packaging/domain-multimedia.inc [new file with mode: 0644]
packaging/domain-network.inc [new file with mode: 0644]
packaging/domain-security.inc [new file with mode: 0644]
packaging/domain-service-framework.inc [new file with mode: 0644]
packaging/domain-window-system.inc [new file with mode: 0644]
packaging/epicfeature-headless.inc [new file with mode: 0644]

index bd5511c..c71d2b5 100644 (file)
@@ -3,16 +3,68 @@
 
 OVERALL RESOURCES
 M:     MyungJoo Ham <myungjoo.ham@samsung.com>
+M:     Geunsik Lim <gesunsik.lim@samsung.com>
 F:     RULES
 F:     MAINTAINERS
 F:     packaging/building-blocks.spec
 F:     *
 
 DOMAIN: System-FW
-M:     TBD
+M:     Kun-Hoon Baik <knhoon.baik@samsung.com>
+M:     Hyotaek Shim <hyotaek.shim@samsung.com>
+M:     SEUNGCHUL CHAE <chae.chae@samsung.com>
 F:     packaging/domain-systemfw.inc
 
 
 DOMAIN: Kernel
-M:     TBD
+M:     Inki Dae <inki.dae@samsung.com>
 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 <ohoon.kwon@samsung.com>
+F:     packaging/epicfeature-headless.inc
+
+
diff --git a/RULES b/RULES
index 7ca772e..6f5424b 100644 (file)
--- a/RULES
+++ b/RULES
 
 
 
+
+===========================================================================
+               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.
+
+
index 2b9c9e3..d683a58 100644 (file)
@@ -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 (file)
index 0000000..37dccec
--- /dev/null
@@ -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 (file)
index 0000000..37dccec
--- /dev/null
@@ -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 (file)
index 0000000..37dccec
--- /dev/null
@@ -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 (file)
index 0000000..37dccec
--- /dev/null
@@ -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 (file)
index 0000000..37dccec
--- /dev/null
@@ -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 (file)
index 0000000..1fb67c8
--- /dev/null
@@ -0,0 +1,34 @@
+# Maintainer: Inki Dae <inki.dae@samsung.com>
+# 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 (file)
index 0000000..37dccec
--- /dev/null
@@ -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 (file)
index 0000000..37dccec
--- /dev/null
@@ -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 (file)
index 0000000..37dccec
--- /dev/null
@@ -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 (file)
index 0000000..37dccec
--- /dev/null
@@ -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 (file)
index 0000000..37dccec
--- /dev/null
@@ -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 (file)
index 0000000..868b058
--- /dev/null
@@ -0,0 +1,32 @@
+# Maintainer: Ohoon Kwon <ohoon.kwon@samsung.com>
+# 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