|
%define name zd1211-firmware |
|
|
%define version 1.4 |
|
|
%define release %mkrel 4 |
|
|
|
|
1 |
Summary: Firmware files for the ZD1211 chip |
Summary: Firmware files for the ZD1211 chip |
2 |
Name: %{name} |
Name: zd1211-firmware |
3 |
Version: %{version} |
Version: 1.4 |
4 |
Release: %{release} |
Release: %mkrel 5 |
5 |
Source0: http://prdownloads.sourceforge.net/zd1211/%{name}-%{version}.tar.bz2 |
Source0: http://prdownloads.sourceforge.net/zd1211/%{name}-%{version}.tar.bz2 |
6 |
License: GPL |
License: GPLv2 |
7 |
Group: System/Kernel and hardware |
Group: System/Kernel and hardware |
8 |
Url: http://sourceforge.net/projects/zd1211/ |
Url: http://sourceforge.net/projects/zd1211/ |
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
|
9 |
BuildArch: noarch |
BuildArch: noarch |
10 |
|
|
11 |
%description |
%description |
22 |
%build |
%build |
23 |
|
|
24 |
%install |
%install |
25 |
rm -rf $RPM_BUILD_ROOT |
rm -rf %{buildroot} |
26 |
install -d $RPM_BUILD_ROOT/lib/firmware/zd1211 |
install -d %{buildroot}/lib/firmware/zd1211 |
27 |
install -m644 zd1211* $RPM_BUILD_ROOT/lib/firmware/zd1211 |
install -m644 zd1211* %{buildroot}/lib/firmware/zd1211 |
28 |
|
|
29 |
%clean |
%clean |
30 |
rm -rf $RPM_BUILD_ROOT |
rm -rf %{buildroot} |
31 |
|
|
32 |
%files |
%files |
33 |
%defattr(-,root,root) |
%defattr(-,root,root) |
34 |
%doc README |
%doc README |
35 |
/lib/firmware/zd1211/zd1211* |
/lib/firmware/zd1211/zd1211* |
|
|
|
|
|
|