commit e07aee141fada88ecf3d95b8460a1b2e8fee8c1d
Author: Jan RÄ™korajski <[email protected]>
Date:   Mon Oct 9 14:43:07 2023 +0200

    - up to 2023.09

 sof-bin.spec | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/sof-bin.spec b/sof-bin.spec
index d00185f..b51e5db 100644
--- a/sof-bin.spec
+++ b/sof-bin.spec
@@ -1,11 +1,11 @@
 Summary:       Topology binaries for the Sound Open Firmware
 Name:          sof-bin
-Version:       2.2.2
+Version:       2023.09
 Release:       1
 License:       BSD/BSD-like/ISC
 Group:         Base/Kernel
-Source0:       
https://github.com/thesofproject/sof-bin/releases/download/v%{version}/%{name}-v%{version}.tar.gz
-# Source0-md5: 7efa596bef8623cccda5904b5676c09a
+Source0:       
https://github.com/thesofproject/sof-bin/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 3e4fcbe214a585e63d43c4b0df4cbd78
 URL:           https://github.com/thesofproject/sof-bin
 BuildRequires: alsa-lib
 BuildRequires: alsa-utils
@@ -27,10 +27,15 @@ BuildArch:  noarch
 Sound Open Firmware.
 
 %prep
-%setup -q -n %{name}-v%{version}
+%setup -q
 mkdir -p firmware/intel/sof
-%{__mv} sof-v%{version}/* firmware/intel/sof
-%{__mv} sof-tplg-v%{version} firmware/intel/sof-tplg
+%{__mv} sof firmware/intel/sof
+%{__mv} sof-ace-tplg firmware/intel/sof-ace-tplg
+%{__mv} sof-ipc4 firmware/intel/sof-ipc4
+%{__mv} sof-tplg firmware/intel/sof-tplg
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python3(\s|$),#!%{__python3}\1,' \
+      tools/mtrace-reader.py
 
 %build
 # SST topology files (not SOF related, but it's a Intel hw support
@@ -42,7 +47,7 @@ alsatplg -c 
/usr/share/alsa/topology/hda-dsp/skl_hda_dsp_generic-tplg.conf \
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/lib/firmware/intel,%{_bindir}}
 
-cp -ra tools-v%{version}/* $RPM_BUILD_ROOT%{_bindir}
+cp -ra tools/* $RPM_BUILD_ROOT%{_bindir}
 cp -ra firmware/* $RPM_BUILD_ROOT/lib/firmware/
 
 %clean
@@ -51,10 +56,13 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc LICENCE.Intel LICENCE.NXP Notice.NXP README.Intel
+%attr(755,root,root) %{_bindir}/mtrace-reader.py
 %attr(755,root,root) %{_bindir}/sof-*
 
 %files -n sof-firmware
 %defattr(644,root,root,755)
 /lib/firmware/*.bin
 /lib/firmware/intel/sof
+/lib/firmware/intel/sof-ace-tplg
+/lib/firmware/intel/sof-ipc4
 /lib/firmware/intel/sof-tplg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sof-bin.git/commitdiff/e07aee141fada88ecf3d95b8460a1b2e8fee8c1d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to