%undefine _auto_set_build_flags %undefine __brp_mangle_shebangs Name: sgx-sdk Version: 2.16.100.0 Release: 1%{?dist} Summary: Intel(R) SGX SDK # The entire source code is BSD, except some Intel signed binaries are Intel "redistributable without modification" license, and some third party projects are under other licenses listed in License.txt. License: BSD and "Redistributable, no modification permitted" and MIT and ASL 2.0 and NCSA/MIT and CC0 and FBSDDL and BSD and OpenSSL and zlib and GPL and BSD/GPLv2 and EPL-1.0 URL: https://github.com/intel/linux-sgx Source0: https://download.01.org/intel-sgx/rpm_onespec/sgx-sdk-%{version}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: binutils BuildRequires: libtool BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: cmake BuildRequires: ocaml BuildRequires: ocaml-ocamlbuild BuildRequires: redhat-rpm-config BuildRequires: openssl-devel BuildRequires: protobuf-compiler BuildRequires: protobuf-devel BuildRequires: libcurl-devel BuildRequires: python3-devel BuildRequires: python-unversioned-command BuildRequires: perl BuildRequires: nasm # SGX is a feature supported and verified on x86_64 only. ExclusiveArch: x86_64 %description The Intel(R) SGX SDK is a collection of APIs, libraries, documentation, sample source code, and tools that allows software developers to create and debug Intel(R) SGX enabled applications in C/C++. %prep %setup -qc %build %make_build %install %make_install %files %license License.txt %{_bindir}/sgx-gdb %{_libdir}/libsgx_epid_sim.so %{_libdir}/libsgx_launch_sim.so %{_libdir}/libsgx_quote_ex_sim.so %{_libdir}/libsgx_uae_service_sim.so %{_libdir}/libsgx_urts_sim.so %{_libdir}/pkgconfig/libsgx_epid.pc %{_libdir}/pkgconfig/libsgx_epid_sim.pc %{_libdir}/pkgconfig/libsgx_launch.pc %{_libdir}/pkgconfig/libsgx_launch_sim.pc %{_libdir}/pkgconfig/libsgx_quote_ex.pc %{_libdir}/pkgconfig/libsgx_quote_ex_sim.pc %{_libdir}/pkgconfig/libsgx_uae_service.pc %{_libdir}/pkgconfig/libsgx_uae_service_sim.pc %{_libdir}/pkgconfig/libsgx_urts.pc %{_libdir}/pkgconfig/libsgx_urts_sim.pc %{_datadir}/sgx-sdk %changelog %autochangelog