2 Summary: Mobile AP daemon for setting tethering environments
7 Source0: %{name}-%{version}.tar.gz
9 %if "%{?tizen_profile_name}" == "tv"
10 ExcludeArch: %{arm} %ix86 x86_64
13 BuildRequires: pkgconfig(dlog)
14 BuildRequires: pkgconfig(gio-2.0)
15 BuildRequires: pkgconfig(glib-2.0)
16 BuildRequires: pkgconfig(gthread-2.0)
17 BuildRequires: pkgconfig(deviced)
18 BuildRequires: pkgconfig(vconf)
19 BuildRequires: pkgconfig(notification)
20 BuildRequires: pkgconfig(capi-network-connection)
21 BuildRequires: pkgconfig(capi-network-bluetooth)
22 BuildRequires: pkgconfig(syspopup-caller)
23 BuildRequires: pkgconfig(bundle)
24 BuildRequires: pkgconfig(appcore-common)
25 BuildRequires: pkgconfig(capi-network-wifi-direct)
26 BuildRequires: pkgconfig(capi-network-wifi)
27 BuildRequires: pkgconfig(alarm-service)
28 BuildRequires: pkgconfig(appsvc)
29 BuildRequires: pkgconfig(libssl)
31 Requires(post): /usr/bin/vconftool
32 %if "%{?tizen_profile_name}" != "tv"
33 Requires(post): bluetooth-agent
35 Requires(post): ss-server
41 Mobile AP daemon for setting tethering environments
48 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
49 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
50 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
52 %cmake -DCMAKE_BUILD_TYPE="" \
53 %if "%{?tizen_profile_name}" == "tv"
56 %if "%{?tizen_target_name}" == "Z300H"
57 -DTIZEN_WLAN_BOARD_SPRD=1 \
68 /usr/bin/vconftool set -t string memory/private/mobileap-agent/ssid "" -u 0 -i -s system::vconf_network
70 /bin/chmod +x /opt/etc/dump.d/module.d/tethering_dump.sh
73 %manifest mobileap-agent.manifest
74 %defattr(-,root,root,-)
75 /usr/share/dbus-1/system-services/org.tizen.tethering.service
77 %{_bindir}/mobileap-agent
78 /opt/etc/dump.d/module.d/tethering_dump.sh