--- /dev/null
+################################################################################
+# 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
+#######################################
--- /dev/null
+<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>