package created using the webbuild interface [release 1.4.2-1mamba;Wed Apr 08 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 20:20:53 +01:00
parent 90c5a17c36
commit 0d4cad9329
2 changed files with 60 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# alsa-sof-firmware
Firmware and topology files for Sound Open Firmware project.

58
alsa-sof-firmware.spec Normal file
View File

@ -0,0 +1,58 @@
%global sof_commit 72a04d57d04c2df6e9dbf4eba0a98f40c252ee0b
Name: alsa-sof-firmware
Version: 1.4.2
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
Source: https://github.com/thesofproject/sof-bin.git/stable-v%{version}@%{sof_commit}/sof-bin-%{version}.tar.bz2
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}
# add missing symlink
ln -s v1.4.2/intel-signed/sof-cnl-v1.4.2.ri lib/firmware/intel/sof/sof-cml.ri
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}/lib/firmware
cp -a lib/firmware/intel %{buildroot}/lib/firmware/
# remove debug files
find -P . -name "*.ldc" -exec rm -f {} \;
%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
* Wed Apr 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
- package created using the webbuild interface