# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
+# Note that it can be modified after the wearable and others are unified.
# if wearable || "undefined"
-%if "%{?profile}" == "wearable" || "%{?profile}" == ""
+%if "%{?profile}" != "common" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
%define server wayland
%endif
Source0: %{name}-%{version}.tar.gz
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
+# Note that it can be modified after the wearable and others are unified.
# if wearable || "undefined"
-%if "%{?profile}" == "wearable" || "%{?profile}" == ""
+%if "%{?profile}" != "common" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
BuildRequires: pkgconfig(eina)
BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(elementary)
export CFLAGS="$CFLAGS -DTIZEN_MOBILE"
%else
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
+# Note that it can be modified after the wearable and others are unified.
# if wearable || "undefined"
-%if "%{?profile}" == "wearable" || "%{?profile}" == ""
+%if "%{?profile}" != "common" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
export CFLAGS="$CFLAGS -DTIZEN_WEARABLE"
%endif
%endif
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
+# Note that it can be modified after the wearable and others are unified.
# if wearable || "undefined"
-%if "%{?profile}" == "wearable" || "%{?profile}" == ""
+%if "%{?profile}" != "common" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
%if "%{?server}" == "x"
cmake \
. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_X=1
%{_libdir}/libefl-extension.so.*
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
+# Note that it can be modified after the wearable and others are unified.
# if wearable || "undefined"
-%if "%{?profile}" == "wearable" || "%{?profile}" == ""
+%if "%{?profile}" != "common" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
%{_datadir}/locale/*
%endif
%manifest %{name}.manifest
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
+# Note that it can be modified after the wearable and others are unified.
# if wearable || "undefined"
-%if "%{?profile}" == "wearable" || "%{?profile}" == ""
+%if "%{?profile}" != "common" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
%{_datadir}/efl-extension/images/*
%endif
%{_libdir}/pkgconfig/efl-extension.pc
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
+# Note that it can be modified after the wearable and others are unified.
# if wearable || "undefined"
-%if "%{?profile}" == "wearable" || "%{?profile}" == ""
+%if "%{?profile}" != "common" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
%{_includedir}/efl-extension/circle/*.h
%{_includedir}/efl-extension/common/*.h
%endif