-Name: linux-firmware
-Version: 20110709
-Release: 1
-Summary: Firmware for various devices
-
-Group: System/Kernel
-License: Redistributable, no modification permitted
-URL: ftp://ftp.kernel.org//pub/linux/kernel/people/dwmw2/firmware/
-Source0: ftp://ftp.kernel.org//pub/linux/kernel/people/dwmw2/firmware/linux-firmware-%{version}.tar.bz2
-Source2: mrvl-firmware.tar.bz2
-Source3: Audio_SST_Firmware-008000_20101117.tar.bz2
-Source4: fw_sst_082f.bin
-Source5: mm-wifi-fw-v2-20110126.tar.bz2
-Source7: stlc2500-r5-03-fw.tar.bz2
-Source1001: packaging/linux-firmware.manifest
-# >> gbp-patch-tags # auto-added by gbp
-# << gbp-patch-tags # auto-added by gbp
-BuildArch: noarch
-Provides: rt73usb-firmware
-Obsoletes: rt73usb-firmware
-Provides: moblin-firmware
-Obsoletes: moblin-firmware
-BuildRequires: fdupes
-
-%description
-This package contains the firmware required by various devices
-
-%prep
-%setup -q
-# >> gbp-apply-patches # auto-added by gbp
-# << gbp-apply-patches # auto-added by gbp
-# Change permission
-find . -type f -exec chmod 0644 {} ';'
-
-tar -jxf %{SOURCE2}
-tar -jxf %{SOURCE3}
-tar -jxf %{SOURCE5}
-tar -jxf %{SOURCE7}
-
-%build
-cp %{SOURCE1001} .
-# Nothing to build
-
-
-%install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/lib/firmware
-cp -a * $RPM_BUILD_ROOT/lib/firmware/
-# the LICENCE.* and README.* files get %doc'd in later
-rm -f $RPM_BUILD_ROOT/lib/firmware/LICENCE.*
-rm -f $RPM_BUILD_ROOT/lib/firmware/README.*
-rm -fr $RPM_BUILD_ROOT/lib/firmware/Audio_SST_Firmware
-
-cp Audio_SST_Firmware/* $RPM_BUILD_ROOT/lib/firmware/
-cp %{SOURCE4} $RPM_BUILD_ROOT/lib/firmware/
-
-cp -a mrvl $RPM_BUILD_ROOT/lib/firmware/
-mv $RPM_BUILD_ROOT/lib/firmware/libertas/* $RPM_BUILD_ROOT/lib/firmware
-
-rm -f $RPM_BUILD_ROOT/lib/firmware/ql*bin
-
-mkdir -p $RPM_BUILD_ROOT/lib/firmware/ar3k/30101coex
-cp -a ar3k/30101coex/* $RPM_BUILD_ROOT/lib/firmware/ar3k/30101coex
-
-mkdir -p $RPM_BUILD_ROOT/lib/firmware/ath6k/AR6003/hw2.0
-cp -a ath6k/AR6003/hw2.0/* $RPM_BUILD_ROOT/lib/firmware/ath6k/AR6003/hw2.0/
-
-mkdir -p $RPM_BUILD_ROOT/lib/firmware/ath6k/AR6003/hw2.1.1
-cp -a ath6k/AR6003/hw2.1.1/* $RPM_BUILD_ROOT/lib/firmware/ath6k/AR6003/hw2.1.1/
-
-%fdupes %{buildroot}/lib/firmware
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
-%files
-%manifest linux-firmware.manifest
-%defattr(-,root,root,-)
-%doc LICENCE.*
-%doc README.*
-/lib/firmware/*
-
-