From c3f252c16afb15b24ed143facc03af3fa5febc24 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:12:41 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.2-1mamba;Fri Aug 22 2014] --- README.md | 2 ++ openfwwf.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 openfwwf.spec diff --git a/README.md b/README.md index bfdb9e2..7caec80 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # openfwwf +Open FirmWare ucode5.fw for some Broadcom WiFi adapters. + diff --git a/openfwwf.spec b/openfwwf.spec new file mode 100644 index 0000000..dfd799d --- /dev/null +++ b/openfwwf.spec @@ -0,0 +1,53 @@ +Name: openfwwf +Version: 5.2 +Release: 1mamba +Summary: Open FirmWare ucode5.fw for some Broadcom WiFi adapters +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.ing.unibs.it/~openfwwf/index.php +Source: http://www.ing.unibs.it/~openfwwf/firmware/openfwwf-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: b43-tools >= 1:019-2mamba +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Open FirmWare ucode5.fw for some Broadcom WiFi adapters. + +%package -n openfwwf-firmware +Summary: Open FirmWare ucode5.fw for some Broadcom WiFi adapters +Group: System/Kernel and Hardware + +%description -n openfwwf-firmware +Open FirmWare ucode5.fw for some Broadcom WiFi adapters. + +%prep +%setup -q +sed -i "s|-o 0 -g 0||" Makefile + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d -m0755 %{buildroot} +%makeinstall PREFIX=%{buildroot}/lib/firmware/b43-open + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -n openfwwf-firmware +%defattr(-,root,root) +%dir /lib/firmware/b43-open +/lib/firmware/b43-open/b0g0bsinitvals5.fw +/lib/firmware/b43-open/b0g0initvals5.fw +/lib/firmware/b43-open/ucode5.fw +%doc COPYING LICENSE + +%changelog +* Fri Aug 22 2014 Silvan Calarco 5.2-1mamba +- package created using the webbuild interface