123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
- Name: b43-tools
- Version: 017
- Release: 1%{?_dist_release}
- Summary: Tools for the Broadcom 43xx series WLAN chip
- Summary(ja): Broadcom 43xx シリーズ無線LANチップ用ツール集
- Group: System Environment/Base
- # assembler — GPLv2
- # debug — GPLv3
- # disassembler — GPLv2
- # ssb_sprom — GPLv2+
- License: GPLv2 and GPLv2+ and GPLv3
- URL: http://bues.ch/gitweb?p=b43-tools.git;a=summary
- ## git clone git://git.bues.ch/b43-tools.git
- ## cd b43-tools
- ## git-archive --format=tar --prefix=%{name}-%{version}/ b43-fwcutter-%{version} | xz > ../%{name}-%{version}.tar.xz
- Source0: %{name}-%{version}.tar.xz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: bison
- BuildRequires: flex
- BuildRequires: python-devel
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- Tools for the Broadcom 43xx series WLAN chip.
- %description -l ja
- Broadcom 43xx シリーズ無線LAN用のツール集です。
- %prep
- %setup -q
- install -p -m 0644 assembler/COPYING COPYING.assembler
- install -p -m 0644 assembler/README README.assembler
- install -p -m 0644 debug/COPYING COPYING.debug
- install -p -m 0644 debug/README README.debug
- install -p -m 0644 disassembler/COPYING COPYING.disassembler
- install -p -m 0644 ssb_sprom/README README.ssb_sprom
- install -p -m 0644 ssb_sprom/COPYING COPYING.ssb_sprom
- %build
- CFLAGS="%{optflags}" make %{?_smp_mflags} -C assembler
- CFLAGS="%{optflags}" make %{?_smp_mflags} -C disassembler
- CFLAGS="%{optflags}" make %{?_smp_mflags} -C ssb_sprom
- cd debug && python install.py build
- %install
- rm -rf $RPM_BUILD_ROOT
- mkdir -p $RPM_BUILD_ROOT%{_bindir}
- install -p -m 0755 assembler/b43-asm $RPM_BUILD_ROOT%{_bindir}
- install -p -m 0755 assembler/b43-asm.bin $RPM_BUILD_ROOT%{_bindir}
- install -p -m 0755 disassembler/b43-dasm $RPM_BUILD_ROOT%{_bindir}
- install -p -m 0755 disassembler/b43-ivaldump $RPM_BUILD_ROOT%{_bindir}
- install -p -m 0755 disassembler/brcm80211-fwconv $RPM_BUILD_ROOT%{_bindir}
- install -p -m 0755 disassembler/brcm80211-ivaldump $RPM_BUILD_ROOT%{_bindir}
- install -p -m 0755 ssb_sprom/ssb-sprom $RPM_BUILD_ROOT%{_bindir}
- cd debug && python install.py install --skip-build --root $RPM_BUILD_ROOT
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-,root,root,-)
- %doc README.* COPYING.*
- %{_bindir}/b43-asm
- %{_bindir}/b43-asm.bin
- %{_bindir}/b43-beautifier
- %{_bindir}/b43-dasm
- %{_bindir}/b43-fwdump
- %{_bindir}/b43-ivaldump
- %{_bindir}/brcm80211-fwconv
- %{_bindir}/brcm80211-ivaldump
- %{_bindir}/ssb-sprom
- %{python_sitelib}/*
- %changelog
- * Tue Mar 17 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 017-1
- - updated to 017
- * Thu Aug 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0-0.1.git20090125
- - initial build for Vine Linux
- * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.4.git20090125
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Tue May 19 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.3.git20090125
- - Corrected 'License' field
- - Since now ssb_sprom honours optflags
- * Sat Apr 4 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.2.git20090125
- - Added missing BuildRequire
- * Sat Mar 14 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.1.git20090125
- - Initial package for Fedora
|