File firmware-ele-imx.spec of Package firmware-ele-imx
#
# spec file for package firmware-ele-imx
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define abbrev 17945fc
Name: firmware-ele-imx
Version: 1.3.0
Release: 0
Summary: Freescale i.MX ELE firmware
License: NXP Software License
Group: System/Boot
URL: https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/
Source0: firmware-ele-imx-%{version}-%{abbrev}.bin
BuildArch: noarch
ExclusiveArch: aarch64
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Freescale i.MX ELE firmware
%prep
%build
sh %SOURCE0 --auto-accept
%install
%define ele_dir %{_builddir}/%{name}-%{version}-%{abbrev}
for f in mx93a1-ahab-container.img; do
install -D -m 0644 %{ele_dir}/$f %{buildroot}%{_datadir}/%{name}/$f
done
%files
%defattr(-,root,root)
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*img
%changelog