summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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