openfwwf/openfwwf.spec

54 lines
1.5 KiB
RPMSpec

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 5.2-1mamba
- package created using the webbuild interface