1 ################################################################################
2 # OBS Project config for Tizen:Mobile
5 # Joonsub Lee <joon-sub.lee@samsung.com>
7 # vim: set syntax=spec:
8 ################################################################################
10 ############################# conflicts resolution #############################
12 FileProvides: /usr/sbin/groupadd shadow-utils
15 Prefer: bluetooth-tools-no-firmware
17 ############################# profile definition ###############################
19 %define profile mobile
22 # For classifying debug/release mode
24 %tizen_build_devel_mode 1
27 # %release_name and %tizen_full_version are used in platform/upstream/tizen-release
31 %release_name Tizen3/Mobile
33 %tizen_version_major 3
34 %tizen_version_minor 0
35 %tizen_version_patch 0
37 %tizen_version %{tizen_version_major}.%{tizen_version_minor}
38 %tizen_full_version %{tizen_version}.%{tizen_version_patch}
47 %_default_patch_fuzz 2
50 ############################# display system ###################################
52 ########## display system selection ##########
54 # selection of the display system
55 # this selection is done for each repository
58 # |----------------------------------------------------
59 # | wayland | x | meaning
60 # |----------------------------------------------------
61 # | | 1 | pure X11 platform(no wayland)
62 # | 1 | | pure wayland platform (no X11)
63 # | 1 | 1 | wayland but X compatibility
64 # | | | no X and no wayland
65 # |----------------------------------------------------
67 # Owner: Stephane <stephane.desneux@open.eurogiciel.org>
69 ########## RDP flag ##########
71 # enable/disable RDP (remote desktop protocol) for wayland
72 # flag: _with_rdp, used in repositories
73 # Affects: weston, freerdp
74 # Owner: Manuel <manuel.bachmann@open.eurogiciel.org>
76 ########## mesa activation ##########
83 %ifarch %arm armv7l aarch64
84 Substitute: mesa-devel pkgconfig(glesv2)
85 #FIXME Substitute: pkgconfig(egl)
88 ########## coregl ##########
90 Prefer: coregl coregl-devel
91 Prefer: libwayland-egl libwayland-egl-devel
92 Substitute: mesa-libGLESv2 coregl
93 Substitute: mesa-libEGL coregl
96 ###################### Activate KDBUS ######################
97 # This configuration flag enables the support of KDBUS and Cynara-based Dbus Policy
99 #%if "%_repository" == "arm64-wayland"
101 #%define _with_kdbus 1
102 #%define _with_dbuspolicy 1
111 ############################# wayland repositories #############################
113 %if "%_repository" == "atom-wayland" || "%_repository" == "x86_64-wayland" || "%_repository" == "arm-wayland" || "%_repository" == "arm64-wayland" || "%_repository" == "target-TM1"
115 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
116 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
118 %define _with_wayland 1
128 ############################# emulator repositories ############################
130 %if "%_repository" == "emulator32-wayland" || "%_repository" == "emulator64-wayland"
132 Substitute: mesa-devel pkgconfig(glesv2)
134 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
135 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
138 Prefer: coregl coregl-devel
139 Prefer: emulator-yagl emulator-yagl-devel
141 %define _with_wayland 1
142 %define _with_emulator 1
151 %if "%_repository" == "target-TM1"
154 %tizen_target_name TM1
159 ############################# misc config flags ################################
161 # Activate introspection
162 # This is needed on GuPNP to build Rygel correctly in IVI
163 # Impacts potentially packages that use gobject-introspection
164 # Owner: Mikko <mikko.ylinen@intel.com>
166 %_with_introspection 1
169 ############################# build config #####################################
170 # derived from Tizen:Base
171 ################################################################################
173 ########## compilation flags ##########
174 # derived from Tizen:Base
175 #######################################