2024-01-05 20:20:53 +01:00
|
|
|
#%global sof_commit 72a04d57d04c2df6e9dbf4eba0a98f40c252ee0b
|
2024-01-05 20:20:53 +01:00
|
|
|
Name: alsa-sof-firmware
|
2024-01-05 20:20:53 +01:00
|
|
|
Version: 1.6
|
2024-01-05 20:20:53 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Firmware and topology files for Sound Open Firmware project
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/thesofproject/sof-bin
|
2024-01-05 20:20:53 +01:00
|
|
|
Source: https://github.com/thesofproject/sof-bin.git/stable-v%{version}/sof-bin-%{version}.tar.bz2
|
2024-01-05 20:20:53 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Firmware and topology files for Sound Open Firmware project.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n sof-bin-%{version}
|
|
|
|
|
2024-01-05 20:20:53 +01:00
|
|
|
## add missing symlink
|
|
|
|
#ln -s v1.4.2/intel-signed/sof-cnl-v1.4.2.ri lib/firmware/intel/sof/sof-cml.ri
|
2024-01-05 20:20:53 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}/lib/firmware
|
|
|
|
|
2024-01-05 20:20:53 +01:00
|
|
|
SOF_VERSION=v%{version} ROOT=%{buildroot} ./go.sh
|
|
|
|
|
|
|
|
## remove debug files
|
|
|
|
#find -P . -name "*.ldc" -exec rm -f {} \;
|
2024-01-05 20:20:53 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir /lib/firmware/intel/sof
|
|
|
|
/lib/firmware/intel/sof/sof-*.ri
|
|
|
|
/lib/firmware/intel/sof-tplg
|
|
|
|
%dir /lib/firmware/intel/sof-tplg-v%{version}
|
|
|
|
/lib/firmware/intel/sof-tplg-v%{version}/sof-*.tplg
|
|
|
|
%dir /lib/firmware/intel/sof/v%{version}/intel-signed
|
|
|
|
/lib/firmware/intel/sof/v%{version}/intel-signed/sof-*.ri
|
|
|
|
%dir /lib/firmware/intel/sof/v%{version}/public-signed
|
|
|
|
/lib/firmware/intel/sof/v%{version}/public-signed/sof-*.ri
|
|
|
|
%dir /lib/firmware/intel/sof/v%{version}
|
|
|
|
/lib/firmware/intel/sof/v%{version}/sof-*.ldc
|
|
|
|
/lib/firmware/intel/sof/v%{version}/sof-*.ri
|
|
|
|
%doc LICENCE.Intel
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:20:53 +01:00
|
|
|
* Sat Nov 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6-1mamba
|
|
|
|
- update to 1.6
|
|
|
|
|
2024-01-05 20:20:53 +01:00
|
|
|
* Wed Apr 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- package created using the webbuild interface
|