linux-firmware/linux-firmware.spec

99 lines
3.1 KiB
RPMSpec
Raw Normal View History

%define nvfw nouveau-firmware-1
2010-01-07 02:00:34 +00:00
Name: linux-firmware
Version: 20101221
Release: 1%{?dist}
2010-01-07 02:00:34 +00:00
Summary: Firmware files used by the Linux kernel
Group: System Environment/Kernel
License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
URL: http://www.kernel.org/
Source0: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/%{name}-%{version}.tar.bz2
Source1: %{nvfw}.tar.bz2
Source2: radeon-ni-fw.tar.bz2
2010-01-07 02:00:34 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0
Obsoletes: kernel-firmware < %{version} xorg-x11-drv-ati-firmware < 6.13.0-0.22
2010-08-12 22:39:00 +00:00
Obsoletes: ueagle-atm4-firmware < 1.0-5
2010-01-07 02:00:34 +00:00
Requires: udev
%description
Kernel-firmware includes firmware files required for some devices to
operate.
%prep
2010-04-08 23:29:06 +00:00
%setup -q -n linux-firmware-%{version} -b1
2010-01-07 02:00:34 +00:00
tar -jxvf %{SOURCE2}
cd -
2010-01-07 02:00:34 +00:00
%build
# Remove firmware shipped in separate packages already
# Perhaps these should be built as subpackages of linux-firmware?
rm ql2???_fw.bin LICENCE.qla2xxx
rm iwlwifi-*.ucode LICENCE.iwlwifi_firmware
rm -rf ess korg sb16 yamaha
# We have _some_ ralink firmware in separate packages already.
rm rt73.bin rt2561.bin rt2561s.bin rt2661.bin
# And _some_ conexant firmware.
rm v4l-cx23418-apu.fw v4l-cx23418-cpu.fw v4l-cx23418-dig.fw v4l-cx25840.fw
# Remove source files we don't need to install
rm -f usbdux/*dux */*.asm
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/lib/firmware
cp -r * $RPM_BUILD_ROOT/lib/firmware
rm $RPM_BUILD_ROOT/lib/firmware/{WHENCE,LICENCE.*}
pushd ../%{nvfw}
mkdir -p $RPM_BUILD_ROOT/lib/firmware/nouveau
cp -a * $RPM_BUILD_ROOT/lib/firmware/nouveau
popd
2010-01-07 02:00:34 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
2010-04-08 23:37:06 +00:00
%doc WHENCE LICENCE.* LICENSE.*
2010-01-07 02:00:34 +00:00
/lib/firmware/*
%changelog
* Fri Jan 07 2011 Dave Airlie <airlied@redhat.com> 20101221-1
- rebase to upstream release + add new radeon NI firmwares.
2010-08-12 22:39:00 +00:00
* Thu Aug 12 2010 Hicham HAOUARI <hicham.haouari@gmail.com> 20100806-4
- Really obsolete ueagle-atm4-firmware
2010-08-12 21:45:26 +00:00
* Thu Aug 12 2010 Hicham HAOUARI <hicham.haouari@gmail.com> 20100806-3
- Obsolete ueagle-atm4-firmware
2010-08-06 07:52:27 +00:00
* Fri Aug 06 2010 David Woodhouse <dwmw2@infradead.org> 20100806-2
- Remove duplicate radeon firmwares; they're upstream now
2010-08-06 07:43:56 +00:00
* Fri Aug 06 2010 David Woodhouse <dwmw2@infradead.org> 20100806-1
2010-08-06 07:52:27 +00:00
- Update to linux-firmware-20100806 (more legacy firmwares from kernel source)
2010-08-06 07:43:56 +00:00
2010-04-08 23:23:52 +00:00
* Fri Apr 09 2010 Dave Airlie <airlied@redhat.com> 20100106-4
- Add further radeon firmwares
* Wed Feb 10 2010 Dave Airlie <airlied@redhat.com> 20100106-3
- add radeon RLC firmware - submitted upstream to dwmw2 already.
* Tue Feb 09 2010 Ben Skeggs <bskeggs@redhat.com> 20090106-2
- Add firmware needed for nouveau to operate correctly (this is Fedora
only - do not upstream yet - we just moved it here from Fedora kernel)
2010-01-07 02:00:34 +00:00
* Wed Jan 06 2010 David Woodhouse <David.Woodhouse@intel.com> 20090106-1
- Update
* Fri Aug 21 2009 David Woodhouse <David.Woodhouse@intel.com> 20090821-1
- Update, fix typos, remove some files which conflict with other packages.
* Thu Mar 19 2009 David Woodhouse <David.Woodhouse@intel.com> 20090319-1
- First standalone kernel-firmware package.