+[Version] capi-location-manager_0.7.7
+[Date] 21 Jun 2017
+[Title] Test application enabled
+[Developer] Kyoungjun Sung <kj7.sung@samsung.com>
+
+================================================================================
[Version] capi-location-manager_0.7.6
[Date] 2 Dec 2016
[Title] Fix distance based callback
Name: capi-location-manager
Summary: A Location Manager library in Tizen Native API
-Version: 0.7.6
+Version: 0.7.7
Release: 1
Group: Location/API
License: Apache-2.0
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \
--DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} -DTZ_SYS_SHARE=%{TZ_SYS_SHARE} \
+-DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} -DTZ_SYS_BIN=%{TZ_SYS_BIN} \
make %{?jobs:-j%jobs}
rm -rf %{buildroot}
%make_install
-#mkdir -p %{buildroot}/usr/share/license
-#cp LICENSE %{buildroot}/usr/share/license/%{name}
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files test
%manifest test/capi-location-manager-test.manifest
-%{TZ_SYS_RO_PACKAGES}/capi-location-manager-test.xml
-%{TZ_SYS_SHARE}/location/location_test
+#%{TZ_SYS_RO_PACKAGES}/capi-location-manager-test.xml
+%{_bindir}/location_test
%endif
EXPORT_API int location_manager_get_method(location_manager_h manager, location_method_e *method)
{
- LOCATIONS_LOGD("location_manager_get_method %d", method);
+ LOCATIONS_LOGD("location_manager_get_method");
LOCATIONS_NOT_SUPPORTED_CHECK(__is_location_supported());
LOCATIONS_NULL_ARG_CHECK(manager);
LOCATIONS_NULL_ARG_CHECK(method);
break;
case LOCATION_METHOD_WPS:
*method = LOCATIONS_METHOD_WPS; //LCOV_EXCL_LINE
- break; //LCOV_EXCL_LINE
+ break; //LCOV_EXCL_LINE
case LOCATION_METHOD_PASSIVE:
*method = LOCATIONS_METHOD_PASSIVE;
break;
default: {
- LOCATIONS_LOGE("[LOCATIONS_ERROR_INVALID_PARAMETER] method : %d ", method); //LCOV_EXCL_LINE
- return LOCATIONS_ERROR_INVALID_PARAMETER; //LCOV_EXCL_LINE
+ LOCATIONS_LOGE("[LOCATIONS_ERROR_INVALID_PARAMETER] invalid method"); //LCOV_EXCL_LINE
+ return LOCATIONS_ERROR_INVALID_PARAMETER; //LCOV_EXCL_LINE
}
}
return LOCATIONS_ERROR_NONE;
TARGET_LINK_LIBRARIES(${src_name} ${fw_name} ${${fw_test}_LDFLAGS})
ENDFOREACH()
-INSTALL(TARGETS ${src_name} DESTINATION ${TZ_SYS_SHARE}/location/)
-INSTALL(FILES ${fw_test}.xml DESTINATION ${TZ_SYS_RO_PACKAGES}/)
+#INSTALL(TARGETS ${src_name} DESTINATION ${TZ_SYS_SHARE}/location/)
+INSTALL(TARGETS ${src_name} DESTINATION ${TZ_SYS_BIN})
+#INSTALL(FILES ${fw_test}.xml DESTINATION ${TZ_SYS_RO_PACKAGES}/)