################################################################################ # OBS Project config for Tizen-7.0-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 Tizen7/Unified %tizen_version_major 7 %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 #### %__spec_check_pre 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 Prefer: vulkan-loader vulkan-loader-devel #libelementary.so (upstream, tizen-only ) so add below Prefer. Requested by EFL team. Prefer: elementary ########## 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 ################################################################################