updated to v1.8-rc2
This commit is contained in:
parent
018dad4076
commit
29346dedc5
@ -3,18 +3,21 @@
|
|||||||
%define _binaries_in_noarch_packages_terminate_build 0
|
%define _binaries_in_noarch_packages_terminate_build 0
|
||||||
%global _firmwarepath /usr/lib/firmware
|
%global _firmwarepath /usr/lib/firmware
|
||||||
|
|
||||||
%global sof_version 1.7
|
%global sof_ver 1.8
|
||||||
|
%global sof_ver_pre rc2
|
||||||
|
%global sof_ver_rel %{?sof_ver_pre:.%{sof_ver_pre}}
|
||||||
|
%global sof_ver_pkg v%{sof_ver}%{?sof_ver_pre:-%{sof_ver_pre}}
|
||||||
|
|
||||||
%global tplg_version 1.2.4
|
%global tplg_version 1.2.4
|
||||||
|
|
||||||
Summary: Firmware and topology files for Sound Open Firmware project
|
Summary: Firmware and topology files for Sound Open Firmware project
|
||||||
Name: alsa-sof-firmware
|
Name: alsa-sof-firmware
|
||||||
Version: %{sof_version}
|
Version: %{sof_ver}
|
||||||
Release: 1%{?dist}
|
Release: 1%{?sof_ver_rel}%{?dist}
|
||||||
# See later in the spec for a breakdown of licensing
|
# See later in the spec for a breakdown of licensing
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/thesofproject/sof-bin
|
URL: https://github.com/thesofproject/sof-bin
|
||||||
Source: https://github.com/thesofproject/sof-bin/archive/v%{sof_version}/sof-bin-%{sof_version}.tar.gz
|
Source: https://github.com/thesofproject/sof-bin/releases/download/%{sof_ver_pkg}/sof-bin-%{sof_ver_pkg}.tar.gz
|
||||||
BuildRequires: alsa-topology >= %{tplg_version}
|
BuildRequires: alsa-topology >= %{tplg_version}
|
||||||
BuildRequires: alsa-topology-utils >= %{tplg_version}
|
BuildRequires: alsa-topology-utils >= %{tplg_version}
|
||||||
Conflicts: alsa-firmware <= 1.2.1-6
|
Conflicts: alsa-firmware <= 1.2.1-6
|
||||||
@ -34,15 +37,15 @@ License: BSD
|
|||||||
This package contains the debug files for the Sound Open Firmware project.
|
This package contains the debug files for the Sound Open Firmware project.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n sof-bin-%{sof_version}
|
%autosetup -n sof-bin-%{sof_ver_pkg}
|
||||||
|
|
||||||
mkdir -p firmware/intel/sof
|
mkdir -p firmware/intel/sof
|
||||||
|
|
||||||
# we have the version in the package name
|
# we have the version in the package name
|
||||||
mv sof-v%{sof_version}/* firmware/intel/sof
|
mv sof-%{sof_ver_pkg}/* firmware/intel/sof
|
||||||
|
|
||||||
# move topology files
|
# move topology files
|
||||||
mv sof-tplg-v%{sof_version} firmware/intel/sof-tplg
|
mv sof-tplg-%{sof_ver_pkg} firmware/intel/sof-tplg
|
||||||
|
|
||||||
# remove NXP firmware files
|
# remove NXP firmware files
|
||||||
rm LICENCE.NXP
|
rm LICENCE.NXP
|
||||||
|
Loading…
Reference in New Issue
Block a user