+# For the backward compatibility, this is to be built for
+# wearable profile or 4.0 unified building environment.
+# This cannot be built for non-wearable in conventional 3.0 build environment.
+# Note that it is not a good idea to limit building with ExcludeArch because there are new architectures being tested.
+# Use ExclusiveArch istead.
+%if "%{?profile}" == "mobile" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "common"
+ExclusiveArch: none
+%endif
+
Name: org.tizen.inputdelegator
Summary: Input Delegator Application
-Version: 0.0.160629
+Version: 0.1.170316
Release: 1
Group: Applications
License: Apache-2.0
%define enable_log_manager 1
-BuildRequires: pkgconfig(ecore-wayland)
BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(edje)
-BuildRequires: pkgconfig(edbus)
BuildRequires: cmake
BuildRequires: edje-bin
-BuildRequires: gettext
+BuildRequires: gettext-tools
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-appfw-app-control)
+BuildRequires: pkgconfig(capi-appfw-preference)
BuildRequires: pkgconfig(capi-media-wav-player)
BuildRequires: pkgconfig(capi-system-device)
BuildRequires: pkgconfig(eina)
BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(efl-assist)
BuildRequires: pkgconfig(efl-extension)
BuildRequires: pkgconfig(feedback)
BuildRequires: pkgconfig(stt)
BuildRequires: pkgconfig(vconf)
-BuildRequires: pkgconfig(db-util)
-BuildRequires: pkgconfig(sqlite3)
-#BuildRequires: pkgconfig(smartreply)
-
+BuildRequires: pkgconfig(capi-media-audio-io)
+BuildRequires: pkgconfig(smartreply)
%if %{enable_log_manager}
BuildRequires: pkgconfig(bundle)
%endif
-
%define _appdir /usr/apps
%define _app_destdir %{_appdir}/%{name}
%setup -q
%build
-%if 0%{?sec_build_binary_debug_enable}
-export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
-export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
-export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
-%endif
+export CFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror -fvisibility=hidden"
+export CXXFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror -fvisibility=hidden -fvisibility-inlines-hidden"
+export FFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror"
export CXXFLAGS="$CXXFLAGS -std=gnu++0x"
%files
%manifest org.tizen.inputdelegator.manifest
-%defattr(-,app,app,-)
-
+%defattr(-,root,root,-)
+%license LICENSE
%{_datadir}/packages/org.tizen.inputdelegator.xml
%{_app_destdir}%{_app_prefix}/bin/inputdelegator
%{_app_destdir}%{_app_prefix}/res/edje/w-input-selector.edj