Draft: multifile / singlespec sandbox/mzx/multifile
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 16 Feb 2017 08:21:45 +0000 (17:21 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 20 Feb 2017 07:21:05 +0000 (16:21 +0900)
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/building-blocks.spec
packaging/domain-systemfw.inc [new file with mode: 0644]

index d8d4fed..cb8bf3a 100644 (file)
@@ -9,6 +9,7 @@ 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
 
 Suggests:      %{name}-root-Headless
 Suggests:      %{name}-root-Kernel
@@ -23,8 +24,12 @@ In Tizen building blocks, "Requires" means mandatory package.
 "Suggests" means optional package.
 "Recommened" is reserved for future usage.
 "Conflicts" is to unselect unconditionally.
+
+
 %files
 
+# 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
diff --git a/packaging/domain-systemfw.inc b/packaging/domain-systemfw.inc
new file mode 100644 (file)
index 0000000..d375f1c
--- /dev/null
@@ -0,0 +1,16 @@
+# Maintainer: ...
+# You need ACK (+1) from the maintainer to be reviewed by building-blocks maintainers.
+
+%package root-System_FW
+Summary:       Tizen System Framework Domain
+Suggests:      resourced
+Suggests:      deviced
+
+%description root-System_FW
+This domain, "System FW", introduces packages and sub-domains/features
+of Tizen System-FW domain.
+This is maintained by ...
+
+%files root-System_FW
+
+# END