## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: spacemit-firmware Version: 20240829 Release: %{autorelease} Summary: SpacemiT firmware License: LicenseRef-Fedora-Firmware URL: https://bianbu-linux.spacemit.com/en/faqs/ # gitee.com is weird about client IPs or/and http agent request details. depending on where you are or how you try # it might serve you the file without issues or redirect you to a requirement to open an account there Source0: https://gitee.com/bianbu-linux/buildroot-ext/raw/bl-v2.0.y/board/spacemit/k1/target_overlay/lib/firmware/esos.elf Source1: https://gitee.com/bianbu-linux/buildroot-ext/raw/k1-bl-v2.2.y/board/spacemit/k1/target_overlay/lib/firmware/LICENSE.spacemit_esos BuildArch: noarch BuildRequires: coreutils %description SpacemiT firmware for the internal MCU on their X60 series SOC's and eventually other chips %prep cp -av %{SOURCE1} . %build %install install -D -m644 %{SOURCE0} %{buildroot}/lib/firmware/esos.elf %files %license LICENSE.spacemit_esos %dir /lib/firmware /lib/firmware/esos.elf %changelog ## START: Generated by rpmautospec * Tue May 20 2025 Yanko Kaneti - 20240829-1 - Package older version of the esos firmware * Wed May 14 2025 Yanko Kaneti - 20250417-4 - Own /lib/firmware * Wed May 14 2025 Yanko Kaneti - 20250417-3 - Add comment about gitee.com odd behavior with direct downloads * Thu Apr 17 2025 Yanko Kaneti - 20250417-2 - Strip the final installed blob * Thu Apr 17 2025 Yanko Kaneti - 20250417-1 - Intial import ## END: Generated by rpmautospec