2008-01-23 04:28:04 +01:00
|
|
|
#
|
2008-04-10 22:14:11 +02:00
|
|
|
# spec file for package b43-fwcutter (Version 011)
|
2008-01-23 04:28:04 +01:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2008-03-16 19:52:02 +01:00
|
|
|
|
2008-01-23 04:28:04 +01:00
|
|
|
Name: b43-fwcutter
|
|
|
|
Group: Hardware/Wifi
|
|
|
|
AutoReqProv: on
|
|
|
|
Summary: Tool for extracting firmware from newer Broadcom WLAN drivers
|
2008-04-10 22:14:11 +02:00
|
|
|
Version: 011
|
2008-04-12 20:55:57 +02:00
|
|
|
Release: 2
|
2008-01-23 04:28:04 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch0: %{name}.diff
|
2008-04-10 22:14:11 +02:00
|
|
|
Source1: install_bcm43xx_firmware
|
2008-01-23 04:28:04 +01:00
|
|
|
Url: http://developer.berlios.de/projects/bcm43xx/
|
|
|
|
License: BSD 3-Clause; BSD 4-Clause
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-04-12 20:55:57 +02:00
|
|
|
Requires: curl
|
2008-03-16 19:52:02 +01:00
|
|
|
Obsoletes: bcm43xx-fwcutter
|
|
|
|
Provides: bcm43xx-fwcutter
|
2008-04-10 22:14:11 +02:00
|
|
|
Supplements: modalias(pci:v000014E4d000043*sv*sd*bc*sc*i*)
|
2008-01-23 04:28:04 +01:00
|
|
|
%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 <martin-langer@gmx.de>,
|
|
|
|
Michael Buesch <mbuesch@freenet.de>
|
|
|
|
Alex Beregszaszi
|
|
|
|
Johannes Berg <johannes@sipsolutions.net>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
%build
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
%install
|
|
|
|
make PREFIX=%{buildroot}/usr \
|
|
|
|
MANDIR=%{buildroot}/%{_mandir} install
|
2008-04-10 22:14:11 +02:00
|
|
|
mkdir -p %{buildroot}/usr/sbin
|
|
|
|
install -m 755 %SOURCE1 %{buildroot}/usr/sbin/
|
2008-01-23 04:28:04 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
%__rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_bindir}/b43-fwcutter
|
2008-04-10 22:14:11 +02:00
|
|
|
/usr/sbin/install_bcm43xx_firmware
|
2008-01-23 04:28:04 +01:00
|
|
|
%{_mandir}/man1/b43-fwcutter.1*
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
%changelog
|
2008-04-12 20:55:57 +02:00
|
|
|
* Fri Apr 11 2008 cstender@suse.de
|
|
|
|
- added curl to requires
|
|
|
|
- improved install_bcm43xx_firmware script
|
2008-04-10 22:14:11 +02:00
|
|
|
* 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
|
2008-03-16 19:52:02 +01:00
|
|
|
* Sun Mar 16 2008 coolo@suse.de
|
|
|
|
- correctly replace the old name
|
|
|
|
* Thu Jan 10 2008 cstender@suse.de
|
2008-01-23 04:28:04 +01:00
|
|
|
- initial package (version 009)
|