alsa-sof-firmware/alsa-sof-firmware.spec

63 lines
1.9 KiB
RPMSpec

#%global sof_commit 72a04d57d04c2df6e9dbf4eba0a98f40c252ee0b
Name: alsa-sof-firmware
Version: 1.6
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-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
SOF_VERSION=v%{version} ROOT=%{buildroot} ./go.sh
## 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
* Sat Nov 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6-1mamba
- update to 1.6
* Wed Apr 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
- package created using the webbuild interface