From: MyungJoo Ham Date: Thu, 16 Feb 2017 08:21:45 +0000 (+0900) Subject: Draft: multifile / singlespec X-Git-Tag: accepted/tizen/unified/20170405.174428~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fsandbox%2Fmzx%2Fmultifile;p=tools%2Fbuilding-blocks.git Draft: multifile / singlespec Signed-off-by: MyungJoo Ham --- diff --git a/packaging/building-blocks.spec b/packaging/building-blocks.spec index d8d4fed..cb8bf3a 100644 --- a/packaging/building-blocks.spec +++ b/packaging/building-blocks.spec @@ -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 index 0000000..d375f1c --- /dev/null +++ b/packaging/domain-systemfw.inc @@ -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