From 81569caa9acf85ee325c0f312c2950e0ddc4055a Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Thu, 16 Feb 2017 17:21:45 +0900 Subject: [PATCH] Draft: multifile / singlespec Signed-off-by: MyungJoo Ham --- packaging/building-blocks.spec | 5 +++++ packaging/domain-systemfw.inc | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 packaging/domain-systemfw.inc 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 -- 2.7.4