--- /dev/null
+/*
+ * Copyright (c) 1994-2009 Red Hat, Inc.
+ * 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.
+ *
+ * 3. Neither the name of the copyright holder nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * 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.
+ */
Version: 2.4.0
Release: 1%{?dist}
Group: Security/Testing
-License: BSD-2-Clause
+License: BSD and zlib
URL: https://github.com/OP-TEE/optee_os
Source0: %{name}-%{version}.tar.gz
ExclusiveArch: armv6l armv7hl armv7l aarch64
make %{compile_flags} PLATFORM=s5p6818 out/arm-plat-s5p6818/core/tee.bin
%install
+cp lib/libutils/isoc/arch/arm/softfloat/COPYING.txt LICENSE.BSD-3-Clause.mod
+
%define buildplat rpi3
%define plat_dir arm-plat-%{buildplat}
mkdir -p %{buildroot}/boot/
%clean
%files -n optee-os-rpi3
+%license LICENSE
+%license LICENSE.BSD-3-Clause
/boot/tee-pager.bin
/boot/tee.bin
%files ta
+%license LICENSE
+%license LICENSE.BSD-3-Clause
+%license LICENSE.BSD-3-Clause.mod
/%{out_export_dir}/%{export_dir}
%files -n optee-os-artik710
+%license LICENSE
+%license LICENSE.BSD-3-Clause
/boot/tee-artik.bin