forked from pool/b43-fwcutter
This commit is contained in:
commit
14124325f9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
b43-fwcutter-009.tar.bz2
Normal file
3
b43-fwcutter-009.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:94f95cee6a1645d4b18c69910056b887a0355e6a8f11bc160e954c3153228837
|
||||
size 11924
|
5
b43-fwcutter.changes
Normal file
5
b43-fwcutter.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 10 16:51:20 CET 2008 - cstender@suse.de
|
||||
|
||||
- initial package (version 009)
|
||||
|
25
b43-fwcutter.diff
Normal file
25
b43-fwcutter.diff
Normal file
@ -0,0 +1,25 @@
|
||||
--- Makefile
|
||||
+++ Makefile
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
CC ?= cc
|
||||
PREFIX ?= /usr/local
|
||||
+MANDIR ?= $(PREFIX)/man
|
||||
CFLAGS ?= -Os -fomit-frame-pointer
|
||||
CFLAGS += -std=c99 -Wall -pedantic -D_BSD_SOURCE
|
||||
LDFLAGS ?=
|
||||
@@ -22,10 +23,10 @@
|
||||
$(CC) $(CFLAGS) -o $(BIN) $(OBJECTS) $(LDFLAGS)
|
||||
|
||||
install: all
|
||||
- -install -d -o 0 -g 0 -m 755 $(PREFIX)/bin/
|
||||
- -install -o 0 -g 0 -m 755 $(BIN) $(PREFIX)/bin/
|
||||
- -install -d -o 0 -g 0 -m 755 $(PREFIX)/man/man1/
|
||||
- -install -o 0 -g 0 -m 644 $(BIN).1 $(PREFIX)/man/man1/
|
||||
+ -mkdir -p $(PREFIX)/bin
|
||||
+ -install -m 755 $(BIN) $(PREFIX)/bin/
|
||||
+ -mkdir -p $(MANDIR)/man1/
|
||||
+ -install -m 644 $(BIN).1 $(MANDIR)/man1/
|
||||
|
||||
clean:
|
||||
-rm -f *.o $(BIN)
|
62
b43-fwcutter.spec
Normal file
62
b43-fwcutter.spec
Normal file
@ -0,0 +1,62 @@
|
||||
#
|
||||
# spec file for package b43-fwcutter (Version 009)
|
||||
#
|
||||
# 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: 009
|
||||
Release: 1
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch0: %{name}.diff
|
||||
Url: http://developer.berlios.de/projects/bcm43xx/
|
||||
License: BSD 3-Clause; BSD 4-Clause
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%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
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/b43-fwcutter
|
||||
%{_mandir}/man1/b43-fwcutter.1*
|
||||
%doc README
|
||||
|
||||
%changelog
|
||||
* Thu Jan 10 2008 - cstender@suse.de
|
||||
- initial package (version 009)
|
Loading…
Reference in New Issue
Block a user