From f4980240cb0765af306da60eb0236d9bb2d2bdd8 Mon Sep 17 00:00:00 2001 From: Hyunggi Lee Date: Tue, 4 Apr 2017 19:18:05 +0900 Subject: [PATCH] Add Tizen:Unified Change-Id: I04378d21192ef81b99d7dd2938d82f21327ac3da --- Tizen:Unified/_config | 150 +++++++++++++++++++++++++++++++ Tizen:Unified/_meta | 33 +++++++ Tizen:Unified/artik10-linux-kernel/_link | 9 ++ Tizen:Unified/libcynara-commons/_link | 4 + Tizen:Unified/libcynara-dbus/_link | 4 + Tizen:Unified/linux-3.10-artik/_link | 9 ++ Tizen:Unified/linux-exynos-tm2/_link | 9 ++ Tizen:Unified/odroid-linux-kernel/_link | 9 ++ Tizen:Unified/u-boot-artik/_link | 9 ++ Tizen:Unified/u-boot-artik10/_link | 9 ++ Tizen:Unified/u-boot-xu3/_link | 9 ++ 11 files changed, 254 insertions(+) create mode 100644 Tizen:Unified/_config create mode 100644 Tizen:Unified/_meta create mode 100644 Tizen:Unified/artik10-linux-kernel/_link create mode 100644 Tizen:Unified/libcynara-commons/_link create mode 100644 Tizen:Unified/libcynara-dbus/_link create mode 100644 Tizen:Unified/linux-3.10-artik/_link create mode 100644 Tizen:Unified/linux-exynos-tm2/_link create mode 100644 Tizen:Unified/odroid-linux-kernel/_link create mode 100644 Tizen:Unified/u-boot-artik/_link create mode 100644 Tizen:Unified/u-boot-artik10/_link create mode 100644 Tizen:Unified/u-boot-xu3/_link diff --git a/Tizen:Unified/_config b/Tizen:Unified/_config new file mode 100644 index 0000000..20994df --- /dev/null +++ b/Tizen:Unified/_config @@ -0,0 +1,150 @@ +################################################################################ +# OBS Project config for Tizen:Unified +# +# vim: set syntax=spec: +################################################################################ + +############################# conflicts resolution ############################# + +FileProvides: /usr/sbin/groupadd shadow-utils +Prefer: bluetooth-tools-no-firmware + +############################# profile definition ############################### + +%define _with_tizen 1 + +# For classifying debug/release mode +Macros: +%tizen_build_devel_mode 1 +:Macros + +# %release_name and %tizen_full_version are used in platform/upstream/tizen-release + +Macros: +%release_name Tizen4/Unified + +%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 + +########## mesa activation / coregl ########## + +%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) + +Prefer: coregl coregl-devel +Prefer: libwayland-egl libwayland-egl-devel + +########## WAYLAND ######### + +%define _with_wayland 1 +Macros: +%_with_wayland 1 +:Macros + +########## RDP flag ########## + +# enable/disable RDP (remote desktop protocol) for wayland +# flag: _with_rdp, used in repositories +# Affects: weston, freerdp +# Owner: Manuel + +############################# target repositories ############################# + +%if "%_repository" == "standard" + +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" == "emulator" + +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 ########## + +# Activate introspection +# This is needed on GuPNP to build Rygel correctly in IVI +# Impacts potentially packages that use gobject-introspection +# Owner: Mikko + +Macros: +%_with_introspection 1 +:Macros + +############################# other config ##################################### +# derived from Tizen:Base +################################################################################ diff --git a/Tizen:Unified/_meta b/Tizen:Unified/_meta new file mode 100644 index 0000000..1e389fb --- /dev/null +++ b/Tizen:Unified/_meta @@ -0,0 +1,33 @@ + + Tizen:Unified + Tizen:Unified + + + + + + + + + + + + + + + + + + + x86_64 + i586 + armv7l + aarch64 + + + + + x86_64 + i586 + + diff --git a/Tizen:Unified/artik10-linux-kernel/_link b/Tizen:Unified/artik10-linux-kernel/_link new file mode 100644 index 0000000..1b2f754 --- /dev/null +++ b/Tizen:Unified/artik10-linux-kernel/_link @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tizen:Unified/libcynara-commons/_link b/Tizen:Unified/libcynara-commons/_link new file mode 100644 index 0000000..e1f95a9 --- /dev/null +++ b/Tizen:Unified/libcynara-commons/_link @@ -0,0 +1,4 @@ + + + + diff --git a/Tizen:Unified/libcynara-dbus/_link b/Tizen:Unified/libcynara-dbus/_link new file mode 100644 index 0000000..e1f95a9 --- /dev/null +++ b/Tizen:Unified/libcynara-dbus/_link @@ -0,0 +1,4 @@ + + + + diff --git a/Tizen:Unified/linux-3.10-artik/_link b/Tizen:Unified/linux-3.10-artik/_link new file mode 100644 index 0000000..1b2f754 --- /dev/null +++ b/Tizen:Unified/linux-3.10-artik/_link @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tizen:Unified/linux-exynos-tm2/_link b/Tizen:Unified/linux-exynos-tm2/_link new file mode 100644 index 0000000..9a105fd --- /dev/null +++ b/Tizen:Unified/linux-exynos-tm2/_link @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tizen:Unified/odroid-linux-kernel/_link b/Tizen:Unified/odroid-linux-kernel/_link new file mode 100644 index 0000000..9a105fd --- /dev/null +++ b/Tizen:Unified/odroid-linux-kernel/_link @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tizen:Unified/u-boot-artik/_link b/Tizen:Unified/u-boot-artik/_link new file mode 100644 index 0000000..bdfe20f --- /dev/null +++ b/Tizen:Unified/u-boot-artik/_link @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tizen:Unified/u-boot-artik10/_link b/Tizen:Unified/u-boot-artik10/_link new file mode 100644 index 0000000..bdfe20f --- /dev/null +++ b/Tizen:Unified/u-boot-artik10/_link @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/Tizen:Unified/u-boot-xu3/_link b/Tizen:Unified/u-boot-xu3/_link new file mode 100644 index 0000000..fe300e3 --- /dev/null +++ b/Tizen:Unified/u-boot-xu3/_link @@ -0,0 +1,9 @@ + + + + + + + + + -- 2.7.4