1 ################################################################################
2 # OBS Project config for Tizen:Unified
4 # vim: set syntax=spec:
5 ################################################################################
7 ############################# conflicts resolution #############################
9 FileProvides: /usr/sbin/groupadd shadow-utils
10 Prefer: bluetooth-tools-no-firmware
12 ############################# profile definition ###############################
16 # For classifying debug/release mode
18 %tizen_build_devel_mode 1
21 # %release_name and %tizen_full_version are used in platform/upstream/tizen-release
24 %release_name Tizen5/Unified
26 %tizen_version_major 5
27 %tizen_version_minor 0
28 %tizen_version_patch 0
30 %tizen_version %{tizen_version_major}.%{tizen_version_minor}
31 %tizen_full_version %{tizen_version}.%{tizen_version_patch}
37 #### %__spec_check_pre exit 0
38 #### %run_check_section 0
40 %_default_patch_fuzz 2
43 ########## mesa activation / coregl ##########
50 Substitute: mesa-devel pkgconfig(glesv2)
51 Substitute: pkgconfig(gles20) pkgconfig(egl) pkgconfig(glesv2)
52 Substitute: pkgconfig(gles11) pkgconfig(egl) pkgconfig(glesv1) pkgconfig(gl)
54 Prefer: coregl coregl-devel
55 Prefer: libwayland-egl libwayland-egl-devel
56 #libelementary.so (upstream, tizen-only ) so add below Prefer. Requested by EFL team.
59 ########## WAYLAND #########
61 %define _with_wayland 1
66 ########## RDP flag ##########
68 # enable/disable RDP (remote desktop protocol) for wayland
69 # flag: _with_rdp, used in repositories
70 # Affects: weston, freerdp
71 # Owner: Manuel <manuel.bachmann@open.eurogiciel.org>
73 ############################# target repositories #############################
75 %if "%_repository" == "standard"
78 Substitute: mesa-libGLESv2 coregl
79 Substitute: mesa-libEGL coregl
88 ############################# emulator repositories ############################
90 %if "%_repository" == "emulator"
93 Prefer: emulator-yagl emulator-yagl-devel
95 %define _with_emulator 1
102 ############################# misc config flags ################################
103 ########## USAGE ##########
105 # IMPORTANT: please follow the following rules when playing with flags
106 # ********************************************************************
108 # In spec file, call %bcond_with macro at the beginning and test with %with:
109 # -------------------------
110 # | %bcond_with myfeature
112 # | %if %{with myfeature}
116 # -------------------------
118 # To activate an option, use:
119 # -------------------------
120 # | %define _with_myfeature 1
122 # | %_with_myfeature 1
124 # -------------------------
126 # To disable an option, DON'T set the values to 0, as the option would still be defined
127 # but simply comment the lines: this will undefine the option.
128 # -------------------------
129 # | #%define _with_myfeature 1
131 # | #%_with_myfeature 1
133 # -------------------------
135 # More information here:
136 # https://en.opensuse.org/openSUSE:Build_Service_prjconf#.25bcond
139 ########## flags ##########
141 # Activate introspection
142 # This is needed on GuPNP to build Rygel correctly in IVI
143 # Impacts potentially packages that use gobject-introspection
144 # Owner: Mikko <mikko.ylinen@intel.com>
147 %_with_introspection 1
150 ############################# other config #####################################
151 # derived from Tizen:Base
152 ################################################################################