[packages/sof-bin] - new

baggins baggins at pld-linux.org
Wed Dec 22 22:41:41 CET 2021


commit d52e0eee8490b732390264b6330444ce17df520e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Dec 22 22:41:21 2021 +0100

    - new

 sof-bin.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
---
diff --git a/sof-bin.spec b/sof-bin.spec
new file mode 100644
index 0000000..5e168c9
--- /dev/null
+++ b/sof-bin.spec
@@ -0,0 +1,48 @@
+Summary:	Topology binaries for the Sound Open Firmware
+Name:		sof-bin
+Version:	2.0
+Release:	0.1
+License:	BSD/BSD-like/ISC
+Group:		Base/Kernel
+Source0:	https://github.com/thesofproject/sof-bin/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	8d06ed4a1fba5fd77bb49bd35ddce757
+URL:		https://github.com/thesofproject/sof-bin
+BuildRequires:	rsync
+ExclusiveArch:	%{x8664}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_enable_debug_packages	0
+
+%description
+Topology binaries for the Sound Open Firmware.
+
+%package -n sof-firmware
+Summary:	Sound Open Firmware
+Group:		Base/Kernel
+BuildArch:	noarch
+
+%description -n sof-firmware
+Sound Open Firmware.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/lib/firmware/intel,%{_bindir}}
+
+FW_DEST=$RPM_BUILD_ROOT/lib/firmware/intel \
+TOOLS_DEST=$RPM_BUILD_ROOT%{_bindir} \
+./install.sh v2.0.x/v%{version}
+
+%clean
+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}/sof-*
+
+%files -n sof-firmware
+%defattr(644,root,root,755)
+/lib/firmware/intel/sof*
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list