fab229
%global checkout 06c8f81
Dave Airlie fac825
David Woodhouse aef32f
Name:		linux-firmware
fab229
Version:	20120206
fab229
Release:	0.1.git%{checkout}%{?dist}
David Woodhouse aef32f
Summary:	Firmware files used by the Linux kernel
David Woodhouse aef32f
David Woodhouse aef32f
Group:		System Environment/Kernel
David Woodhouse aef32f
License:	GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted
David Woodhouse aef32f
URL:		http://www.kernel.org/
fab229
Source0:	ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/%{name}-%{version}.tar.gz
David Woodhouse aef32f
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
David Woodhouse aef32f
BuildArch:	noarch
Dave Airlie ec903f
Provides:	kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0
Dave Airlie ec903f
Obsoletes:	kernel-firmware < %{version} xorg-x11-drv-ati-firmware < 6.13.0-0.22
Hicham HAOUARI 38eac0
Obsoletes:	ueagle-atm4-firmware < 1.0-5
Tom "spot" Callaway 609ff3
# The netxen firmware gets independently updated, so we'll use it instead of 
Tom "spot" Callaway 609ff3
# whatever happens to be in the last checkout.
Tom "spot" Callaway 609ff3
Requires:	netxen-firmware
David Woodhouse aef32f
Requires:	udev
David Woodhouse aef32f
David Woodhouse aef32f
%description
David Woodhouse aef32f
Kernel-firmware includes firmware files required for some devices to
David Woodhouse aef32f
operate.
David Woodhouse aef32f
David Woodhouse aef32f
%prep
fab229
%setup -q -n linux-firmware-%{checkout}
David Woodhouse aef32f
David Woodhouse aef32f
%build
David Woodhouse aef32f
# Remove firmware shipped in separate packages already
David Woodhouse aef32f
# Perhaps these should be built as subpackages of linux-firmware?
David Woodhouse aef32f
rm ql2???_fw.bin LICENCE.qla2xxx
David Woodhouse aef32f
rm iwlwifi-*.ucode LICENCE.iwlwifi_firmware
David Woodhouse aef32f
rm -rf ess korg sb16 yamaha
David Woodhouse aef32f
# We have _some_ ralink firmware in separate packages already.
David Woodhouse aef32f
rm rt73.bin rt2561.bin rt2561s.bin rt2661.bin
David Woodhouse aef32f
# And _some_ conexant firmware.
David Woodhouse aef32f
rm v4l-cx23418-apu.fw v4l-cx23418-cpu.fw v4l-cx23418-dig.fw v4l-cx25840.fw
Tom "spot" Callaway 609ff3
# Netxen firmware
Tom "spot" Callaway 609ff3
rm phanfw.bin LICENCE.phanfw
David Woodhouse aef32f
David Woodhouse aef32f
# Remove source files we don't need to install
David Woodhouse aef32f
rm -f usbdux/*dux */*.asm
David Woodhouse aef32f
David Woodhouse aef32f
%install
David Woodhouse aef32f
rm -rf $RPM_BUILD_ROOT
David Woodhouse aef32f
mkdir -p $RPM_BUILD_ROOT/lib/firmware
David Woodhouse aef32f
cp -r * $RPM_BUILD_ROOT/lib/firmware
4a3ece
rm $RPM_BUILD_ROOT/lib/firmware/{WHENCE,LICENCE.*,LICENSE.*}
David Woodhouse aef32f
David Woodhouse aef32f
%clean
David Woodhouse aef32f
rm -rf $RPM_BUILD_ROOT
David Woodhouse aef32f
David Woodhouse aef32f
David Woodhouse aef32f
%files
David Woodhouse aef32f
%defattr(-,root,root,-)
Dave Airlie 2f1f27
%doc WHENCE LICENCE.* LICENSE.*
David Woodhouse aef32f
/lib/firmware/*
David Woodhouse aef32f
David Woodhouse aef32f
%changelog
fab229
* Tue Feb 07 2012 Josh Boyer <jwboyer@redhat.com>
fab229
- Update to latest upstream git snapshot.  Fixes rhbz 786937
fab229
c83af4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110731-3
c83af4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c83af4
Tom "spot" Callaway 609ff3
* Thu Aug 04 2011 Tom Callaway <spot@fedoraproject.org> 20110731-2
Tom "spot" Callaway 609ff3
- resolve conflict with netxen-firmware
Tom "spot" Callaway 609ff3
David Woodhouse 524b56
* Wed Aug 03 2011 David Woodhouse <dwmw2@infradead.org> 20110731-1
David Woodhouse 524b56
- Latest firmware release with v1.3 ath9k firmware (#727702)
David Woodhouse 524b56
4a3ece
* Sun Jun 05 2011 Peter Lemenkov <lemenkov@gmail.com> 20110601-2
4a3ece
- Remove duplicated licensing files from /lib/firmware
4a3ece
Dave Airlie 70086d
* Wed Jun 01 2011 Dave Airlie <airlied@redhat.com> 20110601-1
Dave Airlie 70086d
- Latest firmware release with AMD llano support.
Dave Airlie 70086d
Dave Airlie 346692
* Thu Mar 10 2011 Dave Airlie <airlied@redhat.com> 20110304-1
Dave Airlie 346692
- update to latest upstream for radeon ni/cayman, drop nouveau fw we don't use it anymore
Dave Airlie 346692
34e8bd
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110125-2
34e8bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
34e8bd
David Woodhouse bd7c25
* Tue Jan 25 2011 David Woodhouse <dwmw2@infradead.org> 20110125-1
David Woodhouse bd7c25
- Update to linux-firmware-20110125 (new bnx2 firmware)
David Woodhouse bd7c25
Dave Airlie 8e3d43
* Fri Jan 07 2011 Dave Airlie <airlied@redhat.com> 20101221-1
Dave Airlie 8e3d43
- rebase to upstream release + add new radeon NI firmwares.
Dave Airlie 8e3d43
Hicham HAOUARI 38eac0
* Thu Aug 12 2010 Hicham HAOUARI <hicham.haouari@gmail.com> 20100806-4
Hicham HAOUARI 38eac0
- Really obsolete ueagle-atm4-firmware
Hicham HAOUARI 38eac0
Hicham HAOUARI b953f5
* Thu Aug 12 2010 Hicham HAOUARI <hicham.haouari@gmail.com> 20100806-3
Hicham HAOUARI b953f5
- Obsolete ueagle-atm4-firmware
Hicham HAOUARI b953f5
David Woodhouse 97339a
* Fri Aug 06 2010 David Woodhouse <dwmw2@infradead.org> 20100806-2
David Woodhouse 97339a
- Remove duplicate radeon firmwares; they're upstream now
David Woodhouse 97339a
David Woodhouse 1a9836
* Fri Aug 06 2010 David Woodhouse <dwmw2@infradead.org> 20100806-1
David Woodhouse 97339a
- Update to linux-firmware-20100806 (more legacy firmwares from kernel source)
David Woodhouse 1a9836
Dave Airlie bcc3b3
* Fri Apr 09 2010 Dave Airlie <airlied@redhat.com> 20100106-4
Dave Airlie bcc3b3
- Add further radeon firmwares
Dave Airlie bcc3b3
Dave Airlie ec903f
* Wed Feb 10 2010 Dave Airlie <airlied@redhat.com> 20100106-3
Dave Airlie ec903f
- add radeon RLC firmware - submitted upstream to dwmw2 already.
Dave Airlie ec903f
Dave Airlie fac825
* Tue Feb 09 2010 Ben Skeggs <bskeggs@redhat.com> 20090106-2
Dave Airlie fac825
- Add firmware needed for nouveau to operate correctly (this is Fedora
Dave Airlie fac825
  only - do not upstream yet - we just moved it here from Fedora kernel)
Dave Airlie fac825
David Woodhouse aef32f
* Wed Jan 06 2010 David Woodhouse <David.Woodhouse@intel.com> 20090106-1
David Woodhouse aef32f
- Update
David Woodhouse aef32f
David Woodhouse aef32f
* Fri Aug 21 2009 David Woodhouse <David.Woodhouse@intel.com> 20090821-1
David Woodhouse aef32f
- Update, fix typos, remove some files which conflict with other packages.
David Woodhouse aef32f
David Woodhouse aef32f
* Thu Mar 19 2009 David Woodhouse <David.Woodhouse@intel.com> 20090319-1
David Woodhouse aef32f
- First standalone kernel-firmware package.