summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr.tyminski <r.tyminski@partner.samsung.com>2017-11-28 14:16:53 +0100
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>2017-12-01 09:23:29 +0100
commit610ea67be17d9771a24d9c422ecd5177b885d27e (patch)
tree9fdc7ff9c61ed7add6c35b64ba86b2f0c19ad82f
parentfdebcd07c59dc1f51799157cf5b364fdf8b858c6 (diff)
downloadlibteec-610ea67be17d9771a24d9c422ecd5177b885d27e.tar.gz
libteec-610ea67be17d9771a24d9c422ecd5177b885d27e.tar.bz2
libteec-610ea67be17d9771a24d9c422ecd5177b885d27e.zip
Adding missing BSD-2-Clause license.
BSD-2-Clause license is used by OpTEE tee_client_api.h Change-Id: I9cfdec9d45f8c2529c4e0d022429dfaf221eece3
-rw-r--r--LICENSE.BSD-2-Clause26
-rw-r--r--packaging/tef-libteec.spec4
2 files changed, 29 insertions, 1 deletions
diff --git a/LICENSE.BSD-2-Clause b/LICENSE.BSD-2-Clause
new file mode 100644
index 0000000..1b0d6ce
--- /dev/null
+++ b/LICENSE.BSD-2-Clause
@@ -0,0 +1,26 @@
+Copyright (c) 2014, STMicroelectronics International N.V.
+All rights reserved.
+Copyright (c) 2015, Linaro Limited
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
diff --git a/packaging/tef-libteec.spec b/packaging/tef-libteec.spec
index 3e7e463..962c357 100644
--- a/packaging/tef-libteec.spec
+++ b/packaging/tef-libteec.spec
@@ -1,7 +1,7 @@
Name: tef-libteec
Version: 0.0.1
Release: 0
-License: Apache-2.0
+License: Apache-2.0 and BSD
Group: Security/Other
Summary: Global Platform client API
BuildRequires: cmake
@@ -20,6 +20,7 @@ The package provides Global Platform client API.
%files
%manifest packaging/%{name}.manifest
%license LICENSE
+%license LICENSE.BSD-2-Clause
%{_libdir}/libteec.so*
/etc/tef/tef.conf
/usr/sbin/tef-update.sh
@@ -49,5 +50,6 @@ Requires: tef-libteec = %{version}-%{release}
The package provides Global Platform client API development files.
%files devel
+%license LICENSE
%{_includedir}/tef
%{_libdir}/pkgconfig/tef-libteec.pc