Name: capi-network-connection
Summary: Network Connection library in TIZEN C API
-Version: 1.0.87
+Version: 1.0.113
Release: 1
Group: System/Network
License: Apache-2.0
%build
-export CFLAGS+=' -Wno-unused-local-typedefs -fprofile-arcs -ftest-coverage'
+export CFLAGS+=' -Wno-unused-local-typedefs'
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
cmake -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
-DLIB_PATH=%{_lib} \
%if 0%{?model_build_feature_network_dsds} == 1
-DTIZEN_DUALSIM_ENABLE=1 \
%endif
-%if "%{profile}" == "wearable"
- -DTIZEN_WEARABLE=1 \
-%else
-%if "%{profile}" == "mobile"
- -DTIZEN_MOBILE=1 \
-%else
-%if "%{profile}" == "tv"
- -DTIZEN_TV=1 \
-%endif
-%endif
-%endif
.
make %{?_smp_mflags}
%install
%make_install
-#License
-mkdir -p %{buildroot}%{_datadir}/license
-cp LICENSE %{buildroot}%{_datadir}/license/capi-network-connection
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-
%files
%manifest capi-network-connection.manifest
%attr(644,-,-) %{_libdir}/libcapi-network-connection.so.*
-%{_datadir}/license/capi-network-connection
+%license LICENSE
%{_bindir}/connection_test
%files devel