!22 Split Linux-firmware by firmware vendor
From: @zhouwenpei Reviewed-by: @wangbin224 Signed-off-by: @wangbin224
This commit is contained in:
commit
c8c8296ae8
@ -1,6 +1,6 @@
|
||||
%define _binaries_in_noarch_packages_terminate_build 0
|
||||
|
||||
%global release 1
|
||||
%global release 2
|
||||
%global _lib_path /usr/lib/firmware
|
||||
%global _license_path /usr/share/licenses
|
||||
|
||||
@ -16,43 +16,6 @@ Source0: https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/%{name}-%{ver
|
||||
Patch1: change-python-script-shebang-to-python3.patch
|
||||
|
||||
Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0
|
||||
Provides: iwl100-firmware = 39.31.5.1-87
|
||||
Provides: iwl105-firmware = 18.168.6.1-87
|
||||
Provides: iwl135-firmware = 18.168.6.1-87
|
||||
Provides: iwl1000-firmware = 1:39.31.5.1-87
|
||||
Provides: iwl2000-firmware = 18.168.6.1-87
|
||||
Provides: iwl2030-firmware = 18.168.6.1-87
|
||||
Provides: iwl3160-firmware = 1:25.30.13.0-87
|
||||
Provides: iwl3945-firmware = 15.32.2.9-87
|
||||
Provides: iwl4965-firmware = 228.61.2.24-87
|
||||
Provides: iwl5000-firmware = 8.83.5.1_1-87
|
||||
Provides: iwl5150-firmware = 8.24.2.2-87
|
||||
Provides: iwl6000-firmware = 9.221.4.1-87
|
||||
Provides: iwl6000g2a-firmware = 18.168.6.1-87
|
||||
Provides: iwl6000g2b-firmware = 18.168.6.1-87
|
||||
Provides: iwl6050-firmware = 41.28.5.1-87
|
||||
Provides: iwl7260-firmware = 1:25.30.13.0-87
|
||||
Provides: libertas-usb8388-firmware = 2:%{version}-%{release}
|
||||
Provides: libertas-usb8388-olpc-firmware = %{version}-%{release}
|
||||
Provides: libertas-sd8686-firmware = %{version}-%{release}
|
||||
Provides: libertas-sd8787-firmware = %{version}-%{release}
|
||||
|
||||
Obsoletes: iwl100-firmware
|
||||
Obsoletes: iwl1000-firmware
|
||||
Obsoletes: iwl3160-firmware
|
||||
Obsoletes: iwl3945-firmware
|
||||
Obsoletes: iwl4965-firmware
|
||||
Obsoletes: iwl5000-firmware
|
||||
Obsoletes: iwl5150-firmware
|
||||
Obsoletes: iwl6000-firmware
|
||||
Obsoletes: iwl6000g2a-firmware
|
||||
Obsoletes: iwl6000g2b-firmware
|
||||
Obsoletes: iwl6050-firmware
|
||||
Obsoletes: iwl7260-firmware
|
||||
Obsoletes: libertas-usb8388-firmware
|
||||
Obsoletes: libertas-sd8686-firmware
|
||||
Obsoletes: libertas-sd8787-firmware
|
||||
|
||||
Obsoletes: kernel-firmware < %{version} xorg-x11-drv-ati-firmware < 6.13.0-0.22
|
||||
Obsoletes: ueagle-atm4-firmware < 1.0-5
|
||||
Obsoletes: netxen-firmware < 4.0.534-9
|
||||
@ -69,12 +32,101 @@ Conflicts: microcode_ctl < 2.1-0
|
||||
%description
|
||||
This package contains firmware images required by some devices.
|
||||
|
||||
|
||||
%package ath
|
||||
Summary: Firmware files used by the ath
|
||||
|
||||
%description ath
|
||||
This package contains firmware images required by some devices.
|
||||
|
||||
%package libertas
|
||||
Summary: Firmware files used by the libertas
|
||||
Provides: libertas-usb8388-firmware = 2:%{version}-%{release}
|
||||
Provides: libertas-usb8388-olpc-firmware = %{version}-%{release}
|
||||
Provides: libertas-sd8686-firmware = %{version}-%{release}
|
||||
Provides: libertas-sd8787-firmware = %{version}-%{release}
|
||||
|
||||
Obsoletes: libertas-usb8388-firmware
|
||||
Obsoletes: libertas-sd8686-firmware
|
||||
Obsoletes: libertas-sd8787-firmware
|
||||
|
||||
%description libertas
|
||||
This package contains firmware images required by some devices.
|
||||
|
||||
%package mediatek
|
||||
Summary: Firmware files used by the mediatek
|
||||
|
||||
%description mediatek
|
||||
This package contains firmware images required by some devices.
|
||||
|
||||
%package mrvl
|
||||
Summary: Firmware files used by the mrvl
|
||||
|
||||
%description mrvl
|
||||
This package contains firmware images required by some devices.
|
||||
|
||||
%package cypress
|
||||
Summary: Firmware files used by the cypress
|
||||
|
||||
%description cypress
|
||||
This package contains firmware images required by some devices.
|
||||
|
||||
%package netronome
|
||||
Summary: Firmware files used by the netronome
|
||||
|
||||
%description netronome
|
||||
This package contains firmware images required by some devices.
|
||||
|
||||
%package ti-connectivity
|
||||
Summary: Firmware files used by the ti-connectivity
|
||||
|
||||
%description ti-connectivity
|
||||
This package contains firmware images required by some devices.
|
||||
|
||||
|
||||
%package iwlwifi
|
||||
Summary: Firmware files used by the iwlwifi
|
||||
Provides: iwl100-firmware = 39.31.5.1-87
|
||||
Provides: iwl105-firmware = 18.168.6.1-87
|
||||
Provides: iwl135-firmware = 18.168.6.1-87
|
||||
Provides: iwl1000-firmware = 1:39.31.5.1-87
|
||||
Provides: iwl2000-firmware = 18.168.6.1-87
|
||||
Provides: iwl2030-firmware = 18.168.6.1-87
|
||||
Provides: iwl3160-firmware = 1:25.30.13.0-87
|
||||
Provides: iwl3945-firmware = 15.32.2.9-87
|
||||
Provides: iwl4965-firmware = 228.61.2.24-87
|
||||
Provides: iwl5000-firmware = 8.83.5.1_1-87
|
||||
Provides: iwl5150-firmware = 8.24.2.2-87
|
||||
Provides: iwl6000-firmware = 9.221.4.1-87
|
||||
Provides: iwl6000g2a-firmware = 18.168.6.1-87
|
||||
Provides: iwl6000g2b-firmware = 18.168.6.1-87
|
||||
Provides: iwl6050-firmware = 41.28.5.1-87
|
||||
Provides: iwl7260-firmware = 1:25.30.13.0-87
|
||||
|
||||
Obsoletes: iwl100-firmware
|
||||
Obsoletes: iwl1000-firmware
|
||||
Obsoletes: iwl3160-firmware
|
||||
Obsoletes: iwl3945-firmware
|
||||
Obsoletes: iwl4965-firmware
|
||||
Obsoletes: iwl5000-firmware
|
||||
Obsoletes: iwl5150-firmware
|
||||
Obsoletes: iwl6000-firmware
|
||||
Obsoletes: iwl6000g2a-firmware
|
||||
Obsoletes: iwl6000g2b-firmware
|
||||
Obsoletes: iwl6050-firmware
|
||||
Obsoletes: iwl7260-firmware
|
||||
|
||||
%description iwlwifi
|
||||
This package contains firmware images required by some devices.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
rm -f usbdux/*dux */*.asm
|
||||
rm -rf carl9170fw
|
||||
rm -f Makefile README configure
|
||||
rm -rf check_whence.py copy-firmware.sh
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/%{_lib_path}
|
||||
@ -89,8 +141,44 @@ rm %{buildroot}/%{_lib_path}/{WHENCE,LICENCE.*,LICENSE.*}
|
||||
%license WHENCE LICENCE.* LICENSE.*
|
||||
%{_license_path}/*
|
||||
%{_lib_path}/*
|
||||
%exclude %{_lib_path}/ath*
|
||||
%exclude %{_lib_path}/libertas
|
||||
%exclude %{_lib_path}/mediatek
|
||||
%exclude %{_lib_path}/mrvl
|
||||
%exclude %{_lib_path}/netronome
|
||||
%exclude %{_lib_path}/cypress
|
||||
%exclude %{_lib_path}/ti-connectivity
|
||||
%exclude %{_lib_path}/iwlwifi*
|
||||
|
||||
%files ath
|
||||
%{_lib_path}/ath*
|
||||
|
||||
%files iwlwifi
|
||||
%{_lib_path}/iwlwifi*
|
||||
|
||||
%files libertas
|
||||
%{_lib_path}/libertas
|
||||
|
||||
%files mediatek
|
||||
%{_lib_path}/mediatek
|
||||
|
||||
%files mrvl
|
||||
%{_lib_path}/mrvl
|
||||
|
||||
%files netronome
|
||||
%{_lib_path}/netronome
|
||||
|
||||
%files cypress
|
||||
%{_lib_path}/cypress
|
||||
|
||||
%files ti-connectivity
|
||||
%{_lib_path}/ti-connectivity
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 23 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 20211027-2
|
||||
- Split Linux-firmware by firmware vendor
|
||||
|
||||
* Fri Dec 10 2021 zhouwenpei <zhouwenpei1@huawei.com> - 20211027-1
|
||||
- update to 20211027
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user