%define debug_package %{nil} %global openHarmony_source_release OpenHarmony-v3.2-Release Name: distributed-build Version: 1.0.0 Release: 1 Summary: openEuler embedded softbus build tools License: Apache-2.0 URL: https://gitee.com/openharmony/build Requires: ninja-build, gn, clang15, llvm15, lld15, python, python-pyyaml, python-jinja2, distributed-build_lite SOURCE0: https://gitee.com/openharmony/build/repository/archive/%{openHarmony_source_release}.tar.gz #/build-%{openHarmony_source_release}.tar.gz Patch0001: 0001-feat-Adapt-to-Openeuler-python-export-lld.patch Patch0002: 0002-feat-Adapt-to-Openeuler-for-compilation.patch Patch0003: 0003-feat-Adapt-to-Openeuler-add-clang.patch Patch0004: 0004-feat-Adapt-to-Openeuler-add-include-file.patch Patch0005: 0005-feat-use-pyyaml-on-openeuler.patch Patch0006: 0006-feat-add-base-config.json-for-openeuler.patch Patch0007: 0007-feat-add-gn-files-to-use-packages-on-openeuler.patch Patch0008: 0008-feat-Adapt-to-openeuler.patch Patch0009: 0009-feat-add-common-subsystem-and-delete-useless-config.patch Patch0010: 0010-feat-use-include-samgr-for-samgr-include-files-confi.patch Patch0011: 0011-feat-use-.z-for-libs-name.patch Patch0012: 0012-fix-rpm-build-fail-caused-by-wrong-useless-code.patch Patch0013: 0013-feature-use-llvm-tools-version-15-for-build.patch BuildArch: noarch %description openEuler embedded softbus build tools %prep %autosetup -p1 -n build-%{openHarmony_source_release} #%build #nothing to do %install install -d %{buildroot}/opt/distributed-middleware-build cp -rp %{_builddir}/build-%{openHarmony_source_release}/* %{buildroot}/opt/distributed-middleware-build %files /opt/distributed-middleware-build %changelog * Tue May 30 2023 tianhang - 1.0.0-1 - Init and Adapt to Openeuler