Release: 0
Summary: IoT Connectivity sponsored by the OCF
Group: Network & Connectivity / IoT Connectivity
-License: Apache-2.0 and BSD-2-Clause and (MIT or BSL-1.0) and MIT
+License: Apache-2.0
URL: https://www.iotivity.org/
Source0: http://mirrors.kernel.org/%{name}/%{version}/%{name}-%{version}.tar.gz
Source1001: %{name}.manifest
%{!?TARGET_OS: %define TARGET_OS tizen}
%{!?TARGET_TRANSPORT: %define TARGET_TRANSPORT IP,BT}
%{!?VERBOSE: %define VERBOSE 1}
-%{!?WITH_CLOUD: %define WITH_CLOUD 0}
+%{!?WITH_CLOUD: %define WITH_CLOUD 1}
%{!?WITH_MQ: %define WITH_MQ OFF}
%{!?WITH_PROXY: %define WITH_PROXY 0}
%{!?WITH_TCP: %define WITH_TCP 1}
BuildRequires: gettext-tools
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(capi-network-connection)
-BuildRequires: pkgconfig(capi-network-wifi)
BuildRequires: pkgconfig(capi-network-bluetooth) >= 0.1.52
%else
%if 0%{?fedora:1}
%setup -q
chmod g-w %_sourcedir/*
-find . \
- -iname "LICEN*E*" \
- -o -name "*BSD*" \
- -o -name "*COPYING*" \
- -o -name "*GPL*" \
- -o -name "*MIT*" \
- | sort | uniq \
- | grep -v 'libcoap-4.1.1/LICENSE.GPL' \
- | while read file ; do \
- dir=$(dirname -- "$file")
- echo "Files: ${dir}/*"
- echo "License: ${file}"
- sed 's/^/ /' "${file}"
- echo ""
- echo ""
- done > tmp.tmp && mv tmp.tmp LICENSE
-
-cat LICENSE
+cp LICENSE.md LICENSE
cp %{SOURCE1001} .
%if 0%{?tizen_version_major} < 3
cp %{SOURCE1001} ./%{name}-test.manifest
%endif
-
%build
scons %{?_smp_mflags} --prefix=%{_prefix} \
ES_TARGET_ENROLLEE=%{ES_TARGET_ENROLLEE} \
%{_libdir}/librcs_server.so
%{_libdir}/libresource_directory.so
%{_libdir}/libESEnrolleeSDK.so
+%{_libdir}/libESMediatorRich.so
%{_libdir}/libnotification*.so
%if 0%{?WITH_PROXY} == 1
%{_libdir}/libcoap_http_proxy.so