source: projects/specs/trunk/b/b43-tools/b43-tools-vl.spec @ 9438

Revision 9438, 3.2 KB checked in by inagaki, 6 years ago (diff)

2015-03-17 Ryoichi INAGAKI <ryo1@…>

  • b43-fwcutter: new
  • b43-openfwwf: rebuilt
  • b43-tools, bcm43xx-fwcutter: updated


Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Name:           b43-tools
4Version:        017
5Release:        1%{?_dist_release}
6Summary:        Tools for the Broadcom 43xx series WLAN chip
7Summary(ja):    Broadcom 43xx シリーズ無線LANチップ用ツール集
8
9Group:          System Environment/Base
10# assembler — GPLv2
11# debug — GPLv3
12# disassembler — GPLv2
13# ssb_sprom — GPLv2+
14License:        GPLv2 and GPLv2+ and GPLv3
15URL:            http://bues.ch/gitweb?p=b43-tools.git;a=summary
16## git clone git://git.bues.ch/b43-tools.git
17## cd b43-tools
18## git-archive --format=tar --prefix=%{name}-%{version}/ b43-fwcutter-%{version} | xz > ../%{name}-%{version}.tar.xz
19Source0:        %{name}-%{version}.tar.xz
20
21BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
22BuildRequires:  bison
23BuildRequires:  flex
24BuildRequires:  python-devel
25
26Vendor:         Project Vine
27Distribution:   Vine Linux
28
29%description
30Tools for the Broadcom 43xx series WLAN chip.
31
32%description -l ja
33Broadcom 43xx シリーズ無線LAN用のツール集です。
34
35%prep
36%setup -q
37install -p -m 0644 assembler/COPYING COPYING.assembler
38install -p -m 0644 assembler/README README.assembler
39install -p -m 0644 debug/COPYING COPYING.debug
40install -p -m 0644 debug/README README.debug
41install -p -m 0644 disassembler/COPYING COPYING.disassembler
42install -p -m 0644 ssb_sprom/README README.ssb_sprom
43install -p -m 0644 ssb_sprom/COPYING COPYING.ssb_sprom
44
45%build
46CFLAGS="%{optflags}" make %{?_smp_mflags} -C assembler
47CFLAGS="%{optflags}" make %{?_smp_mflags} -C disassembler
48CFLAGS="%{optflags}" make %{?_smp_mflags} -C ssb_sprom
49cd debug && python install.py build
50
51
52%install
53rm -rf $RPM_BUILD_ROOT
54mkdir -p $RPM_BUILD_ROOT%{_bindir}
55install -p -m 0755 assembler/b43-asm $RPM_BUILD_ROOT%{_bindir}
56install -p -m 0755 assembler/b43-asm.bin $RPM_BUILD_ROOT%{_bindir}
57install -p -m 0755 disassembler/b43-dasm $RPM_BUILD_ROOT%{_bindir}
58install -p -m 0755 disassembler/b43-ivaldump $RPM_BUILD_ROOT%{_bindir}
59install -p -m 0755 disassembler/brcm80211-fwconv $RPM_BUILD_ROOT%{_bindir}
60install -p -m 0755 disassembler/brcm80211-ivaldump $RPM_BUILD_ROOT%{_bindir}
61install -p -m 0755 ssb_sprom/ssb-sprom $RPM_BUILD_ROOT%{_bindir}
62cd debug && python install.py install --skip-build --root $RPM_BUILD_ROOT
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67
68%files
69%defattr(-,root,root,-)
70%doc README.* COPYING.*
71%{_bindir}/b43-asm
72%{_bindir}/b43-asm.bin
73%{_bindir}/b43-beautifier
74%{_bindir}/b43-dasm
75%{_bindir}/b43-fwdump
76%{_bindir}/b43-ivaldump
77%{_bindir}/brcm80211-fwconv
78%{_bindir}/brcm80211-ivaldump
79%{_bindir}/ssb-sprom
80%{python_sitelib}/*
81
82
83%changelog
84* Tue Mar 17 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 017-1
85- updated to 017
86
87* Thu Aug 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0-0.1.git20090125
88- initial build for Vine Linux
89
90* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.4.git20090125
91- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
92
93* Tue May 19 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.3.git20090125
94- Corrected 'License' field
95- Since now ssb_sprom honours optflags
96
97* Sat Apr  4 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.2.git20090125
98- Added missing BuildRequire
99
100* Sat Mar 14 2009 Peter Lemenkov <lemenkov@gmail.com> 0-0.1.git20090125
101- Initial package for Fedora
102
Note: See TracBrowser for help on using the repository browser.