start from b43-tools source to build b43-asm to build openfwwf firmware [release 019-2mamba;Fri Aug 22 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 20:43:48 +01:00
parent 247a65305e
commit 2dfb05be1a
2 changed files with 113 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# b43-tools # b43-tools
bcm43xx-fwcutter is a tool which is used to extract firmware for the Broadcom network devices, from the official Windows, MacOS or Linux drivers.

111
b43-tools.spec Normal file
View File

@ -0,0 +1,111 @@
Name: b43-tools
Epoch: 1
Version: 019
Release: 2mamba
Summary: A tool which can extract firmware from various source files for the BCM43xx driver
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://bcm43xx.berlios.de/
Source: git://git.bues.ch/b43-tools.git/b43-fwcutter-%{version}/b43-tools-%{version}.tar.bz2
#Source: http://bues.ch/b43/fwcutter/b43-fwcutter-%{version}.tar.bz2
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfl-devel
## AUTOBUILDREQ-END
Requires: b43-fwcutter = %{?epoch:%epoch:}%{version}-%{release}
%description
bcm43xx-fwcutter is a tool which is used to extract firmware for the Broadcom network devices, from the official Windows, MacOS or Linux drivers.
%package -n b43-fwcutter
Summary: A tool which can extract firmware from various source files for the BCM43xx driver
Group: System/Kernel and Hardware
Provides: bcm43xx-fwcutter
Obsoletes: bcm43xx-fwcutter
%description -n b43-fwcutter
A tool which can extract firmware from various source files for the BCM43xx driver.
%prep
%setup -q
sed -i "s|-o 0 -g 0||;s|/man/man1|/share/man/man1|" fwcutter/Makefile ssb_sprom/Makefile
%build
%make -C assembler
%make -C disassembler
%make -C fwcutter
%make -C ssb_sprom
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_bindir}
%makeinstall -C assembler PREFIX=%{buildroot}%{_prefix}
%makeinstall -C disassembler PREFIX=%{buildroot}%{_prefix}
%makeinstall -C fwcutter PREFIX=%{buildroot}%{_prefix}
%makeinstall -C ssb_sprom PREFIX=%{buildroot}%{_prefix}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/b43-asm
%{_bindir}/b43-asm.bin
%{_bindir}/b43-dasm
%{_bindir}/b43-ivaldump
%{_bindir}/brcm80211-fwconv
%{_bindir}/brcm80211-ivaldump
%{_bindir}/ssb-sprom
%doc assembler/COPYING
%files -n b43-fwcutter
%defattr(-,root,root)
%{_bindir}/b43-fwcutter
%{_mandir}/man1/b43-fwcutter.1*
%doc fwcutter/COPYING fwcutter/README
%changelog
* Fri Aug 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 019-2mamba
- start from b43-tools source to build b43-asm to build openfwwf firmware
* Wed Jul 02 2014 Automatic Build System <autodist@mambasoft.it> 019-1mamba
- automatic update by autodist
* Fri Sep 13 2013 Automatic Build System <autodist@mambasoft.it> 018-1mamba
- automatic version update by autodist
* Sun Mar 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 017-1mamba
- update to 017
* Sun Apr 15 2012 Automatic Build System <autodist@mambasoft.it> 015-1mamba
- automatic version update by autodist
* Mon Mar 28 2011 Automatic Build System <autodist@mambasoft.it> 014-1mamba
- automatic update by autodist
* Thu Apr 22 2010 Automatic Build System <autodist@mambasoft.it> 013-1mamba
- automatic update by autodist
* Sat Aug 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 012-1mamba
- update to 012
* Sun Jan 11 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.20080111-1mamba
- update to 0.20080111
- renamed from b43-fwcutter and added ssb_sprom tool
* Wed Oct 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 011-2mamba
- fixed obsolete for bcm43xx-fwcutter
* Mon Sep 15 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 011-1mamba
- update to 011
* Mon Sep 15 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 009-1mamba
- update to 009
- rename to b43-fwcutter and obsolete bcm43xx-fwcutter
* Sat May 12 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 006-1mamba
- package created by autospec