Change-Id: I670fff63f0ab13323d3d58391c0d3e0ef508e129
Release: 0
Summary: IoT Connectivity sponsored by the OIC
Group: Network & Connectivity/Other
Release: 0
Summary: IoT Connectivity sponsored by the OIC
Group: Network & Connectivity/Other
+License: Apache-2.0 BSD-2-Clause BSD-2.0 MIT
URL: https://www.iotivity.org/
Source0: %{name}-%{version}.tar.bz2
Source1001: %{name}.manifest
URL: https://www.iotivity.org/
Source0: %{name}-%{version}.tar.bz2
Source1001: %{name}.manifest
%setup -q
chmod g-w %_sourcedir/*
%setup -q
chmod g-w %_sourcedir/*
-cp LICENSE.md LICENSE.APLv2
+cat LICENSE.md extlibs/tinydtls/LICENSE extlibs/tinydtls/ecc/LICENSE.txt extlibs/tinycbor/tinycbor/LICENSE resource/csdk/connectivity/lib/libcoap-4.1.1/LICENSE.BSD > LICENSE
cp %{SOURCE1001} .
%if 0%{?tizen_version_major} < 3
cp %{SOURCE1002} .
cp %{SOURCE1001} .
%if 0%{?tizen_version_major} < 3
cp %{SOURCE1002} .
%if 0%{?tizen_version_major} < 3
mkdir -p %{buildroot}/%{_datadir}/license
%if 0%{?tizen_version_major} < 3
mkdir -p %{buildroot}/%{_datadir}/license
-cp LICENSE.APLv2 %{buildroot}/%{_datadir}/license/%{name}
-cp LICENSE.APLv2 %{buildroot}/%{_datadir}/license/%{name}-service
-cp LICENSE.APLv2 %{buildroot}/%{_datadir}/license/%{name}-test
+cp LICENSE %{buildroot}/%{_datadir}/license/%{name}
+cp LICENSE %{buildroot}/%{_datadir}/license/%{name}-service
+cp LICENSE %{buildroot}/%{_datadir}/license/%{name}-test
%endif
cp service/things-manager/sdk/inc/*.h %{buildroot}%{_includedir}
%endif
cp service/things-manager/sdk/inc/*.h %{buildroot}%{_includedir}
%if 0%{?tizen_version_major} < 3
%{_datadir}/license/%{name}
%else
%if 0%{?tizen_version_major} < 3
%{_datadir}/license/%{name}
%else
%if 0%{?tizen_version_major} < 3
%{_datadir}/license/%{name}-service
%else
%if 0%{?tizen_version_major} < 3
%{_datadir}/license/%{name}-service
%else
%if 0%{?tizen_version_major} < 3
%{_datadir}/license/%{name}-test
%else
%if 0%{?tizen_version_major} < 3
%{_datadir}/license/%{name}-test
%else