# # spec file for package b43-fwcutter (Version 011) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: b43-fwcutter Group: Hardware/Wifi AutoReqProv: on Summary: Tool for extracting firmware from newer Broadcom WLAN drivers Version: 011 Release: 2 Source: %{name}-%{version}.tar.bz2 Patch0: %{name}.diff Source1: install_bcm43xx_firmware Url: http://developer.berlios.de/projects/bcm43xx/ License: BSD 3-Clause; BSD 4-Clause BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: curl Obsoletes: bcm43xx-fwcutter Provides: bcm43xx-fwcutter Supplements: modalias(pci:v000014E4d000043*sv*sd*bc*sc*i*) %define prefix /usr %description b43-fwcutter can be used to extract firmware from Windows WLAN drivers for Broadcom bcm43xx devices. The firmware is necessary to run such a card under Linux using the b43 or b43legacy driver. Authors: -------- Martin Langer , Michael Buesch Alex Beregszaszi Johannes Berg %prep %setup -q %patch0 %build make CFLAGS="$RPM_OPT_FLAGS" %install make PREFIX=%{buildroot}/usr \ MANDIR=%{buildroot}/%{_mandir} install mkdir -p %{buildroot}/usr/sbin install -m 755 %SOURCE1 %{buildroot}/usr/sbin/ %clean %__rm -rf %{buildroot} %files %defattr(-, root, root) %{_bindir}/b43-fwcutter /usr/sbin/install_bcm43xx_firmware %{_mandir}/man1/b43-fwcutter.1* %doc README %changelog * Fri Apr 11 2008 cstender@suse.de - added curl to requires - improved install_bcm43xx_firmware script * Thu Apr 10 2008 cstender@suse.de - updated to version 011 - added supplement tag so package gets installed when a bcm43xx card is detected - added install_bcm43xx_firmware script which downloads and extracts firmware files * Sun Mar 16 2008 coolo@suse.de - correctly replace the old name * Thu Jan 10 2008 cstender@suse.de - initial package (version 009)