2019-09-30 11:01:22 -04:00
|
|
|
%define _binaries_in_noarch_packages_terminate_build 0
|
|
|
|
|
|
2024-07-03 11:28:48 +00:00
|
|
|
%global release 1
|
2019-09-30 11:01:22 -04:00
|
|
|
%global _lib_path /usr/lib/firmware
|
|
|
|
|
%global _license_path /usr/share/licenses
|
|
|
|
|
|
|
|
|
|
Name: linux-firmware
|
2024-08-29 02:14:05 +00:00
|
|
|
Version: 20240811
|
2019-09-30 11:01:22 -04:00
|
|
|
Release: %{release}
|
|
|
|
|
Summary: Firmware files used by the Linux kernel
|
|
|
|
|
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
|
|
|
|
|
URL: http://www.kernel.org/
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
2024-07-03 11:28:48 +00:00
|
|
|
Source0: https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/%{name}-%{version}.tar.gz
|
2019-09-30 11:01:22 -04:00
|
|
|
|
|
|
|
|
Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0
|
2022-02-23 14:38:33 +08:00
|
|
|
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
|
|
|
|
|
Obsoletes: ql2100-firmware < 1.19.38-8
|
|
|
|
|
Obsoletes: ql2200-firmware < 2.02.08-8
|
|
|
|
|
Obsoletes: ql23xx-firmware < 3.03.28-6
|
|
|
|
|
Obsoletes: ql2400-firmware < 5.08.00-2
|
|
|
|
|
Obsoletes: ql2500-firmware < 5.08.00-2
|
|
|
|
|
Obsoletes: rt61pci-firmware < 1.2-11
|
|
|
|
|
Obsoletes: rt73usb-firmware < 1.8-11
|
|
|
|
|
Obsoletes: cx18-firmware < 20080628-10
|
|
|
|
|
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
|
2019-09-30 11:01:22 -04:00
|
|
|
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
|
2019-12-25 15:57:00 +08:00
|
|
|
Obsoletes: iwl3160-firmware
|
2019-09-30 11:01:22 -04:00
|
|
|
Obsoletes: iwl3945-firmware
|
|
|
|
|
Obsoletes: iwl4965-firmware
|
|
|
|
|
Obsoletes: iwl5000-firmware
|
|
|
|
|
Obsoletes: iwl5150-firmware
|
|
|
|
|
Obsoletes: iwl6000-firmware
|
|
|
|
|
Obsoletes: iwl6000g2a-firmware
|
|
|
|
|
Obsoletes: iwl6000g2b-firmware
|
|
|
|
|
Obsoletes: iwl6050-firmware
|
2019-12-25 15:57:00 +08:00
|
|
|
Obsoletes: iwl7260-firmware
|
2019-09-30 11:01:22 -04:00
|
|
|
|
2022-02-23 14:38:33 +08:00
|
|
|
%description iwlwifi
|
2019-09-30 11:01:22 -04:00
|
|
|
This package contains firmware images required by some devices.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
rm -f usbdux/*dux */*.asm
|
|
|
|
|
rm -rf carl9170fw
|
2022-02-23 14:38:33 +08:00
|
|
|
rm -f Makefile README configure
|
|
|
|
|
rm -rf check_whence.py copy-firmware.sh
|
2024-05-07 09:44:01 +08:00
|
|
|
rm -rf build_packages.py contrib
|
2019-09-30 11:01:22 -04:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p %{buildroot}/%{_lib_path}
|
|
|
|
|
mkdir -p %{buildroot}/%{_license_path}
|
|
|
|
|
cp -r * %{buildroot}/%{_lib_path}
|
|
|
|
|
cp -r WHENCE LICENCE.* %{buildroot}/%{_license_path}
|
|
|
|
|
rm %{buildroot}/%{_lib_path}/{WHENCE,LICENCE.*,LICENSE.*}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%dir %{_lib_path}
|
|
|
|
|
%dir %{_license_path}
|
|
|
|
|
%license WHENCE LICENCE.* LICENSE.*
|
|
|
|
|
%{_license_path}/*
|
|
|
|
|
%{_lib_path}/*
|
2022-02-23 14:38:33 +08:00
|
|
|
%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
|
|
|
|
|
|
2019-09-30 11:01:22 -04:00
|
|
|
|
|
|
|
|
%changelog
|
2024-08-29 02:14:05 +00:00
|
|
|
* Thu Aug 29 2024 wangxiao <wangxiao184@h-partners.com> - 20240811-1
|
|
|
|
|
- update to 20240811
|
|
|
|
|
|
2024-07-03 11:28:48 +00:00
|
|
|
* Wed Jul 3 2024 wangxiao <wangxiao184@h-partners.com> - 20240513-1
|
|
|
|
|
- update to 20240513
|
|
|
|
|
|
2024-05-07 09:44:01 +08:00
|
|
|
* Tue May 7 2024 lijian <lijian2@kylinos.cn> - 20231111-2
|
|
|
|
|
- Delete unused files to remove python dependencies
|
|
|
|
|
|
2024-02-06 19:50:19 +08:00
|
|
|
* Tue Feb 6 2024 taoyuxiang <taoyuxiang2@huawei.com> - 20231111-1
|
|
|
|
|
- update to 20231111
|
|
|
|
|
|
2023-02-10 10:52:07 +08:00
|
|
|
* Fri Feb 10 2023 Liu Yuntao <liuyuntao10@huawei.com> - 20230117-2
|
|
|
|
|
- remove useless patch definition
|
|
|
|
|
|
2023-02-09 22:51:28 +08:00
|
|
|
* Thu Feb 9 2023 Liu Yuntao <liuyuntao10@huawei.com> - 20230117-1
|
|
|
|
|
- update to 20230117
|
|
|
|
|
|
2022-02-23 14:38:33 +08:00
|
|
|
* Wed Feb 23 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 20211027-2
|
|
|
|
|
- Split Linux-firmware by firmware vendor
|
|
|
|
|
|
2021-12-10 18:31:57 +08:00
|
|
|
* Fri Dec 10 2021 zhouwenpei <zhouwenpei1@huawei.com> - 20211027-1
|
|
|
|
|
- update to 20211027
|
|
|
|
|
|
2021-12-04 09:34:42 +08:00
|
|
|
* Sat Dec 4 2021 zhouwenpei <zhouwenpei1@huawei.com> - 20210315-1
|
|
|
|
|
- update to 20210315
|
|
|
|
|
|
2021-02-03 11:12:30 +08:00
|
|
|
* Wed Feb 3 2021 xinghe <xinghe1@huawei.com> - 20201218-1
|
|
|
|
|
- update to 20201218
|
|
|
|
|
|
2020-12-15 10:02:57 +08:00
|
|
|
* Tue Dec 15 2020 xinghe <xinghe1@huawei.com> - 20200817-3
|
|
|
|
|
- remove Obsoletes relationship error
|
|
|
|
|
|
2020-08-31 09:53:42 +08:00
|
|
|
* Mon AUg 31 2020 xinghe <xinghe1@huawei.com> - 20200817-2
|
|
|
|
|
- fix source url
|
|
|
|
|
|
2020-08-25 19:54:12 +08:00
|
|
|
* Wed Aug 25 2020 xinghe <xinghe1@huawei.com> - 20200817-1
|
|
|
|
|
- update to 20200817
|
|
|
|
|
|
2020-07-27 11:33:45 +08:00
|
|
|
* Fri Jul 24 2020 jinzhimin <jinzhimin2@huawei.com> - 20200619-1
|
|
|
|
|
- update to 20200619
|
|
|
|
|
|
2020-02-21 15:44:04 +08:00
|
|
|
* Fri Feb 21 2020 wangbin <wangbin224@huawei.com> - 20190815-4
|
|
|
|
|
- change python script shebang to python3
|
|
|
|
|
|
2020-01-09 15:39:17 +08:00
|
|
|
* Thu Jan 9 2020 wangbin <wangbin224@huawei.com> - 20190815-3
|
|
|
|
|
- Remove some patches
|
|
|
|
|
|
2019-12-25 15:57:00 +08:00
|
|
|
* Thu Dec 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 20190815-2
|
|
|
|
|
- Fix upgrade problem
|
|
|
|
|
|
2019-09-30 11:01:22 -04:00
|
|
|
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 20190815-1
|
|
|
|
|
- Package init
|