[wfd-manager]: Modified the Build Flag 78/43078/1
authorManeesh Jain <maneesh.jain@samsung.com>
Tue, 7 Jul 2015 13:09:57 +0000 (18:39 +0530)
committerManeesh Jain <maneesh.jain@samsung.com>
Tue, 7 Jul 2015 13:09:57 +0000 (18:39 +0530)
This patch adds the support of Tizen Profile
Build Flag according Tizen 3.0 Policy.
https://build.tizen.org/project/prjconf?project=Tizen%3ATV

Change-Id: Ic8c5dc8354ea63fe11a21ce72ca25ee70d9bc8a9
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
packaging/wifi-direct-manager.spec

index 292d670..eb14c49 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          wifi-direct-manager
 Summary:       Wi-Fi Direct manger
-Version:       1.2.82
+Version:       1.2.83
 Release:       1
 Group:      Network & Connectivity/Wireless
 License:    Apache-2.0
@@ -61,17 +61,18 @@ cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCHITECTURE=$ARCH \
 %if ! 0%{?model_build_feature_network_tethering_disable}
        -DTIZEN_TETHERING_ENABLE=0 \
 %endif
-%if "%{?tizen_profile_name}" == "wearable"
+%if "%{profile}" == "wearable"
         -DTIZEN_FEATURE_SERVICE_DISCOVERY=0 \
         -DTIZEN_FEATURE_WIFI_DISPLAY=0 \
 %else
-%if "%{?tizen_profile_name}" == "mobile"
+%if "%{profile}" == "mobile"
         -DTIZEN_FEATURE_SERVICE_DISCOVERY=1 \
         -DTIZEN_FEATURE_WIFI_DISPLAY=1 \
         -DCTRL_IFACE_DBUS=1 \
 %else
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{profile}" == "tv"
        -DTIZEN_TV=1 \
+        -DCTRL_IFACE_DBUS=1 \
 %endif
 %endif
 %endif
@@ -127,7 +128,7 @@ chmod 666 /var/lib/misc/udhcpd.leases
 %{_bindir}/wfd-manager
 /usr/etc/wifi-direct/dhcpd.p2p.conf
 /usr/etc/wifi-direct/udhcp_script.non-autoip
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{profile}" == "tv"
 /usr/etc/wifi-direct/p2p_supp_tv.conf
 /opt/etc/p2p_supp_tv.conf
 %else