%define __strip /bin/true %global codate 20250618 %global commit 8ad2177026e982acc0e14ef1e9ebe682aff6dfca Name: eswin-firmware Version: %{codate} Release: %{autorelease} Summary: ESWIN Computing early boot firmware License: Apache-2.0 URL: https://github.com/eswincomputing/Esbd-77serial-firmware/ Source0: %{url}/archive/%{commit}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils %description ESWIN Computing firmware for EIC770x SOCs early boot and eventually other chips %prep %autosetup -n Esbd-77serial-firmware-%{commit} %build %install mkdir -p %{buildroot}%{_datadir}/%{name}/ for FW in bootchain d2d ddr mcu sys ; do chmod -x $FW/* cp -av $FW %{buildroot}%{_datadir}/%{name}/ done %files %license COPYING LICENSE %{_datadir}/%{name} %changelog %autochangelog