Name: net-config
Summary: TIZEN Network Configuration service
-Version: 1.1.125
+Version: 1.1.135
Release: 3
Group: System/Network
License: Apache-2.0
BuildRequires: cmake
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(libtzplatform-config)
-BuildRequires: pkgconfig(key-manager)
-BuildRequires: pkgconfig(libnl-2.0)
+BuildRequires: pkgconfig(key-manager)
+BuildRequires: pkgconfig(libnl-2.0)
Requires: vconf
Requires: connman
Requires: systemd
%description plugin-telephony
TIZEN Network Configuration service extension for telephony FW.
+%package haltests
+Summary: net-config extension for HAL test
+BuildRequires: pkgconfig(gmock)
+BuildRequires: pkgconfig(capi-network-wifi-manager)
+BuildRequires: pkgconfig(capi-network-wifi-direct)
+BuildRequires: pkgconfig(capi-network-softap)
+Requires: %{name} = %{version}-%{release}
+%description haltests
+TIZEN Network Configuration service extension for HAL test.
+
%prep
%setup -q
-DTIZEN_WEARABLE=1 \
-DTIZEN_CAPTIVE_PORTAL=1 \
-DLIB_PATH=%{_lib} \
+ -DBIN_DIR=%{_bindir} \
+ -DBUILD_GTESTS=%{?gtests:1}%{!?gtests:0} \
+ -DBUILD_GCOV=%{?gcov:1}%{!?gcov:0} \
.
%make_install
-DTIZEN_WEARABLE=0 \
-DTIZEN_CAPTIVE_PORTAL=0 \
-DLIB_PATH=%{_lib} \
+ -DBIN_DIR=%{_bindir} \
+ -DBUILD_GTESTS=%{?gtests:1}%{!?gtests:0} \
+ -DBUILD_GCOV=%{?gcov:1}%{!?gcov:0} \
.
make %{?_smp_mflags}
%files
%manifest net-config.manifest
%attr(500,network_fw,network_fw) %{_bindir}/*
+%exclude %{_bindir}/net-config.wearable
%attr(644,network_fw,network_fw) %{_sysconfdir}/resolv.conf
%attr(644,network_fw,network_fw) %{TZ_SYS_ETC}/resolv.conf
%attr(644,root,root) %{_datadir}/dbus-1/system-services/*
mv net-config.wearable net-config
%files profile_wearable
-%attr(644,root,root) %{_bindir}/net-config.wearable
+%attr(500,network_fw,network_fw) %{_bindir}/net-config.wearable
%attr(644,network_fw,network_fw) /usr/system/RestoreDir/softreset/network_softreset.sh
#### plugin ####
%files plugin-telephony
%manifest net-config.manifest
%attr(500,network_fw,network_fw) %{_libdir}/net-config-plugin-telephony.so
+
+%files haltests
+%manifest net-config.manifest
+%{_bindir}/*hal_tc
+