From 0d4cad9329a0713f4bf0867a43d53bad1fbca4fe Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:20:53 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.4.2-1mamba;Wed Apr 08 2020] --- README.md | 2 ++ alsa-sof-firmware.spec | 58 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 alsa-sof-firmware.spec diff --git a/README.md b/README.md index 60ce0dc..457c636 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # alsa-sof-firmware +Firmware and topology files for Sound Open Firmware project. + diff --git a/alsa-sof-firmware.spec b/alsa-sof-firmware.spec new file mode 100644 index 0000000..3c739ad --- /dev/null +++ b/alsa-sof-firmware.spec @@ -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 +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 1.4.2-1mamba +- package created using the webbuild interface