From 14124325f9c75641af85a131823e72fe336f254619f21bb112684f5a5632ff54 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 23 Jan 2008 03:28:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/b43-fwcutter?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + b43-fwcutter-009.tar.bz2 | 3 ++ b43-fwcutter.changes | 5 ++++ b43-fwcutter.diff | 25 ++++++++++++++++ b43-fwcutter.spec | 62 ++++++++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 119 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 b43-fwcutter-009.tar.bz2 create mode 100644 b43-fwcutter.changes create mode 100644 b43-fwcutter.diff create mode 100644 b43-fwcutter.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/b43-fwcutter-009.tar.bz2 b/b43-fwcutter-009.tar.bz2 new file mode 100644 index 0000000..6d6f206 --- /dev/null +++ b/b43-fwcutter-009.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94f95cee6a1645d4b18c69910056b887a0355e6a8f11bc160e954c3153228837 +size 11924 diff --git a/b43-fwcutter.changes b/b43-fwcutter.changes new file mode 100644 index 0000000..9966e8f --- /dev/null +++ b/b43-fwcutter.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Jan 10 16:51:20 CET 2008 - cstender@suse.de + +- initial package (version 009) + diff --git a/b43-fwcutter.diff b/b43-fwcutter.diff new file mode 100644 index 0000000..3bd30bb --- /dev/null +++ b/b43-fwcutter.diff @@ -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) diff --git a/b43-fwcutter.spec b/b43-fwcutter.spec new file mode 100644 index 0000000..20e854c --- /dev/null +++ b/b43-fwcutter.spec @@ -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 , + Michael Buesch + Alex Beregszaszi + Johannes Berg + +%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) diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4