Add Tizen:3.0.M2:Common 57/108657/2
authorMaciej Wereski <m.wereski@partner.samsung.com>
Thu, 5 Jan 2017 09:56:29 +0000 (10:56 +0100)
committerMaciej Wereski <m.wereski@partner.samsung.com>
Thu, 5 Jan 2017 10:07:52 +0000 (11:07 +0100)
Change-Id: I6a6b6bb288bdd6e9ac76abcc87f25db977a9f863
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Tizen:3.0.M2:Common/_config [new file with mode: 0644]
Tizen:3.0.M2:Common/_meta [new file with mode: 0644]
Tizen:3.0.M2:Common/artik10-linux-kernel/_link [new file with mode: 0644]
Tizen:3.0.M2:Common/libcynara-commons/_link [new file with mode: 0644]
Tizen:3.0.M2:Common/libcynara-dbus/_link [new file with mode: 0644]
Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_aggregate [new file with mode: 0644]
Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_meta [new file with mode: 0644]
Tizen:3.0.M2:Common/odroid-linux-kernel/_link [new file with mode: 0644]
Tizen:3.0.M2:Common/u-boot-artik10/_link [new file with mode: 0644]
Tizen:3.0.M2:Common/u-boot-xu3/_link [new file with mode: 0644]

diff --git a/Tizen:3.0.M2:Common/_config b/Tizen:3.0.M2:Common/_config
new file mode 100644 (file)
index 0000000..b82a1f4
--- /dev/null
@@ -0,0 +1,217 @@
+################################################################################
+# OBS Project config for Tizen:Common
+#
+# RE contacts:
+# Maciej Wereski <m.wereski@partner.samsung.com>
+# Pawel Wieczorek <p.wieczorek2@samsung.com>
+#
+# Git mirror for OBS config: review.tizen.org:scm/meta/build-config / branch tizen_common
+#
+# vim: set syntax=spec:
+################################################################################
+
+############################# conflicts resolution #############################
+
+FileProvides: /etc/default/useradd shadow-utils
+FileProvides: /usr/sbin/useradd shadow-utils
+FileProvides: /etc/login.defs shadow-utils
+FileProvides: /usr/sbin/chpasswd shadow-utils
+FileProvides: /usr/sbin/groupadd shadow-utils
+FileProvides: /usr/sbin/groupdel shadow-utils
+FileProvides: /usr/sbin/groupmod shadow-utils
+FileProvides: /usr/sbin/userdel shadow-utils
+FileProvides: /usr/sbin/usermod shadow-utils
+Prefer: shadow-utils
+
+Prefer: libtapi-devel
+Prefer: libpci-devel
+Prefer: bluetooth-tools-no-firmware
+
+Prefer: vconf-buxton
+Prefer: vconf-buxton-devel
+Prefer: vconf-buxton-keys-devel
+
+############################# profile definition ###############################
+
+%define profile common
+%define _with_tizen 1
+
+# %release_name and %tizen_full_version are used in platform/upstream/tizen-release
+
+Macros:
+%profile common
+%release_name Tizen3/Common
+
+%tizen_version_major 3
+%tizen_version_minor 0
+%tizen_version_patch 0
+
+%tizen_version %{tizen_version_major}.%{tizen_version_minor}
+%tizen_full_version %{tizen_version}.%{tizen_version_patch}
+%tizen %tizen_version
+%vendor tizen
+%_vendor tizen
+%_with_tizen 1
+
+%check exit 0
+%run_check_section 0
+%opensuse_bs 1
+%_default_patch_fuzz   2
+:Macros
+
+########## RDP flag ##########
+
+# enable/disable RDP (remote desktop protocol) for wayland
+# flag: _with_rdp, used in repositories
+# Affects: weston, freerdp
+# Owner: Manuel <manuel.bachmann@open.eurogiciel.org>
+
+########## mesa activation ##########
+
+%define _with_mesa 1
+Macros:
+%_with_mesa 1
+:Macros
+
+Substitute: mesa-devel pkgconfig(glesv2)
+Substitute: pkgconfig(gles20)  pkgconfig(egl) pkgconfig(glesv2)
+Substitute: pkgconfig(gles11)  pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
+
+############################# common config ####################################
+
+Prefer: coregl coregl-devel
+Prefer: libwayland-egl libwayland-egl-devel
+
+%define _with_wayland 1
+Macros:
+%_with_wayland 1
+:Macros
+
+############################# wayland repositories #############################
+
+%if "%_repository" == "arm-wayland" || "%_repository" == "arm64-wayland" || "%_repository" == "ia32-wayland" || "%_repository" == "x86_64-wayland"
+
+Prefer: mesa libgbm
+Substitute: mesa-libGLESv2 coregl
+Substitute: mesa-libEGL coregl
+
+%define _with_rdp 1
+Macros:
+%_with_rdp 1
+:Macros
+
+%endif
+
+############################# emulator repositories ############################
+
+%if "%_repository" == "emulator32-wayland"
+
+Prefer: libgbm
+Prefer: emulator-yagl emulator-yagl-devel
+
+%define _with_emulator 1
+Macros:
+%_with_emulator 1
+:Macros
+
+%endif
+
+
+############################# misc config flags ################################
+
+########## USAGE ##########
+#
+# IMPORTANT: please follow the following rules when playing with flags
+# ********************************************************************
+#
+# In spec file, call %bcond_with macro at the beginning and test with %with:
+# -------------------------
+# | %bcond_with myfeature
+# | [...]
+# | %if %{with myfeature}
+# | [...]
+# | %endif
+# | [...]
+# -------------------------
+#
+# To activate an option, use:
+# -------------------------
+# | %define _with_myfeature 1
+# | Macros:
+# | %_with_myfeature 1
+# | :Macros
+# -------------------------
+#
+# To disable an option, DON'T set the values to 0, as the option would still be defined
+# but simply comment the lines: this will undefine the option.
+# -------------------------
+# | #%define _with_myfeature 1
+# | #Macros:
+# | #%_with_myfeature 1
+# | #:Macros
+# -------------------------
+#
+# More information here:
+# https://en.opensuse.org/openSUSE:Build_Service_prjconf#.25bcond
+#
+
+########## flags ##########
+
+# This build macro controls the libdlog output. If enabled,
+# libdlog writes to Systemd Journal. If disabled, libdlog writes to kernel Android
+# logger FIFO. Affects: dlog.
+# Owner: Mikko <mikko.ylinen@intel.com>
+Macros:
+%_with_dlog_to_systemd_journal 1
+:Macros
+
+# Macro used for testing gstreamer 1.X API
+# Used: qt*
+# Owner: Philippe Coval <philippe.coval@open.eurogiciel.org>
+%define _with_gstreamer1 1
+Macros:
+%_with_gstreamer1 1
+:Macros
+
+# Macro used for testing libva availability
+# Used: weston
+# Owner: Philippe Coval <philippe.coval@open.eurogiciel.org>
+%ifarch x86_64 i586
+%define _with_libva 1
+Macros:
+%_with_libva 1
+:Macros
+%endif
+
+# Macro used for testing Input methods
+# Used: qt*
+# Owner: Philippe Coval <philippe.coval@open.eurogiciel.org>
+#%define _with_tizenscim 1
+#Macros:
+#%_with_tizenscim 1
+#:Macros
+
+# Activate introspection
+# This is needed on GuPNP to build Rygel correctly in IVI
+# Impacts potentially packages that use gobject-introspection
+# Owner: Mikko <mikko.ylinen@intel.com>
+Macros:
+%_with_introspection 1
+:Macros
+
+# Activate KDBUS
+# This configuration flag enables the support of KDBUS
+# Used: platform/upstream/setup
+# Owner: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
+#%define _with_kdbus 1
+#Macros:
+#%_with_kdbus 1
+#:Macros
+
+############################# build config #####################################
+# derived from Tizen:Base
+################################################################################
+
+########## compilation flags ##########
+# derived from Tizen:Base
+#######################################
diff --git a/Tizen:3.0.M2:Common/_meta b/Tizen:3.0.M2:Common/_meta
new file mode 100644 (file)
index 0000000..1d450f8
--- /dev/null
@@ -0,0 +1,44 @@
+<project name="Tizen:3.0.M2:Common">
+  <title>Tizen:3.0.M2:Common</title>
+  <description>See https://wiki.tizen.org/wiki/Common</description>
+  <person userid="mwereski" role="maintainer"/>
+  <person userid="alone" role="maintainer"/>
+  <person userid="alone" role="bugowner"/>
+  <person userid="pwieczorek" role="maintainer"/>
+  <person userid="gagarin" role="maintainer"/>
+  <build>
+    <disable arch="i586" repository="arm-wayland"/>
+    <disable arch="x86_64" repository="arm-wayland"/>
+    <disable arch="i586" repository="x86_64-wayland"/>
+    <disable arch="i586" repository="arm64-wayland"/>
+    <disable arch="x86_64" repository="arm64-wayland"/>
+  </build>
+  <debuginfo>
+    <enable/>
+  </debuginfo>
+  <repository name="x86_64-wayland">
+    <path project="Tizen:3.0.M2:Base" repository="x86_64"/>
+    <arch>x86_64</arch>
+    <arch>i586</arch>
+  </repository>
+  <repository name="ia32-wayland">
+    <path project="Tizen:3.0.M2:Base" repository="ia32"/>
+    <arch>i586</arch>
+  </repository>
+  <repository name="emulator32-wayland">
+    <path project="Tizen:3.0.M2:Base" repository="emulator32"/>
+    <arch>i586</arch>
+  </repository>
+  <repository name="arm64-wayland">
+    <path project="Tizen:3.0.M2:Base" repository="arm64"/>
+    <arch>aarch64</arch>
+    <arch>i586</arch>
+    <arch>x86_64</arch>
+  </repository>
+  <repository name="arm-wayland">
+    <path project="Tizen:3.0.M2:Base" repository="arm"/>
+    <arch>armv7l</arch>
+    <arch>i586</arch>
+    <arch>x86_64</arch>
+  </repository>
+</project>
diff --git a/Tizen:3.0.M2:Common/artik10-linux-kernel/_link b/Tizen:3.0.M2:Common/artik10-linux-kernel/_link
new file mode 100644 (file)
index 0000000..3a6e16f
--- /dev/null
@@ -0,0 +1,9 @@
+<link  package="linux-3.10-artik" cicount="copy">
+<patches>
+  <!-- <branch /> for a full copy, default case  -->
+  <!-- <apply name="patch" /> apply a patch on the source directory  -->
+  <!-- <topadd>%define build_with_feature_x 1</topadd> add a line on the top (spec file only) -->
+  <!-- <add name="file.patch" /> add a patch to be applied after %setup (spec file only) -->
+  <!-- <delete name="filename" /> delete a file -->
+</patches>
+</link>
diff --git a/Tizen:3.0.M2:Common/libcynara-commons/_link b/Tizen:3.0.M2:Common/libcynara-commons/_link
new file mode 100644 (file)
index 0000000..e1f95a9
--- /dev/null
@@ -0,0 +1,4 @@
+<link package="cynara" cicount="copy">
+  <patches>
+  </patches>
+</link>
diff --git a/Tizen:3.0.M2:Common/libcynara-dbus/_link b/Tizen:3.0.M2:Common/libcynara-dbus/_link
new file mode 100644 (file)
index 0000000..e1f95a9
--- /dev/null
@@ -0,0 +1,4 @@
+<link package="cynara" cicount="copy">
+  <patches>
+  </patches>
+</link>
diff --git a/Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_aggregate b/Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_aggregate
new file mode 100644 (file)
index 0000000..cfd9b72
--- /dev/null
@@ -0,0 +1,12 @@
+<aggregatelist>
+  <aggregate project="Tizen:3.0.M2:Common">
+    <package>mic-bootstrap</package>
+    <binary>mic-bootstrap-x86-arm</binary>
+    <repository source="ia32-wayland" target="arm-wayland"/>
+  </aggregate>
+  <aggregate project="Tizen:3.0.M2:Common">
+    <package>mic-bootstrap</package>
+    <binary>mic-bootstrap-x86-arm</binary>
+    <repository source="x86_64-wayland" target="arm64-wayland"/>
+   </aggregate>
+</aggregatelist>
diff --git a/Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_meta b/Tizen:3.0.M2:Common/mic-bootstrap_aggregate/_meta
new file mode 100644 (file)
index 0000000..dd952eb
--- /dev/null
@@ -0,0 +1,9 @@
+<package name="mic-bootstrap_aggregate" project="Tizen:3.0.M2:Common">
+  <title/>
+  <description/>
+  <build>
+    <enable arch="i586" repository="arm-wayland"/>
+    <enable arch="x86_64" repository="arm64-wayland"/>
+    <disable/>
+  </build>
+</package>
diff --git a/Tizen:3.0.M2:Common/odroid-linux-kernel/_link b/Tizen:3.0.M2:Common/odroid-linux-kernel/_link
new file mode 100644 (file)
index 0000000..c634e19
--- /dev/null
@@ -0,0 +1,4 @@
+<link package="linux-exynos" cicount="copy">
+  <patches>
+  </patches>
+</link>
diff --git a/Tizen:3.0.M2:Common/u-boot-artik10/_link b/Tizen:3.0.M2:Common/u-boot-artik10/_link
new file mode 100644 (file)
index 0000000..ee686c5
--- /dev/null
@@ -0,0 +1,9 @@
+<link  package="u-boot-artik" cicount="copy">
+<patches>
+  <!-- <branch /> for a full copy, default case  -->
+  <!-- <apply name="patch" /> apply a patch on the source directory  -->
+  <!-- <topadd>%define build_with_feature_x 1</topadd> add a line on the top (spec file only) -->
+  <!-- <add name="file.patch" /> add a patch to be applied after %setup (spec file only) -->
+  <!-- <delete name="filename" /> delete a file -->
+</patches>
+</link>
diff --git a/Tizen:3.0.M2:Common/u-boot-xu3/_link b/Tizen:3.0.M2:Common/u-boot-xu3/_link
new file mode 100644 (file)
index 0000000..9c9fbd6
--- /dev/null
@@ -0,0 +1,4 @@
+<link package="u-boot" cicount="copy">
+  <patches>
+  </patches>
+</link>