21b4028
%define snap 2007-03-19
21b4028
Name:		zd1211-firmware
6a799ff
Version:	1.4
6a799ff
Release:	1
21b4028
Summary:	Firmware for wireless devices based on zd1211 chipset
21b4028
Group:		System Environment/Kernel
f6c7562
License:	GPLv2
f6c7562
URL:		http://zd1211.wiki.sourceforge.net
6a799ff
Source0:	http://downloads.sourceforge.net/zd1211/zd1211-firmware-%{version}.tar.bz2
6a799ff
Patch0:		zd1211-firmware-1.4-build__from_headers.patch
21b4028
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
21b4028
BuildArch:	noarch
21b4028
21b4028
21b4028
%description
21b4028
This package contains the firmware required to work with the zd1211 chipset.
21b4028
21b4028
21b4028
%prep
6a799ff
%setup -q -n %{name}
6a799ff
%patch0 -p1
6a799ff
sed -i 's/\r//' *.h
21b4028
21b4028
%build
21b4028
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
21b4028
21b4028
%install
21b4028
rm -rf $RPM_BUILD_ROOT
21b4028
make install FW_DIR=$RPM_BUILD_ROOT/lib/firmware/zd1211 
21b4028
21b4028
21b4028
%clean
21b4028
rm -rf $RPM_BUILD_ROOT
21b4028
21b4028
%files
21b4028
%defattr(-,root,root,-)
21b4028
%doc README COPYING
f6c7562
%dir /lib/firmware/zd1211
6a799ff
/lib/firmware/zd1211/*
21b4028
21b4028
21b4028
%changelog
6a799ff
* Fri Oct 12 2007 kwizart < kwizart at gmail.com > - 1.4-1
6a799ff
- Update to 1.4
6a799ff
f6c7562
* Tue Aug 14 2007 kwizart < kwizart at gmail.com > - 1.3-5
f6c7562
- Drop the dist tag
f6c7562
- Update URL
f6c7562
- Fix directory ownership
f6c7562
21b4028
* Mon Mar 19 2007 kwizart < kwizart at gmail.com > - 1.3-4
21b4028
- Update to snap 2007-03-19 but still no changes from Dec 26 2006.
21b4028
- Drop devel is not usefull
21b4028
- Use patch for sudo and zd1211b install
21b4028
- Fix description/summary
21b4028
21b4028
* Sun Feb 23 2007 kwizart < kwizart at gmail.com > - 1.3-3
21b4028
- Update to the snapshot source zd1211rw_fw_2007-02-23
21b4028
 Timestramp didn't changed from 26-12-2006 so don't think date
21b4028
 will tell anything in that case. I Prefer to wait for release tarball
21b4028
 to fix any number version is that necessary.
21b4028
- Uses of $RPM_OPT_FLAGS in place of CFLAGS += -Wall
21b4028
21b4028
* Sun Feb 11 2007 kwizart < kwizart at gmail.com > - 1.3-2
21b4028
- Bundle the original vendor driver used to generate the firmware.
21b4028
21b4028
* Sat Jan  6 2007 kwizart < kwizart at gmail.com > - 1.3-1
21b4028
- Update to 1.3
21b4028
21b4028
* Wed Oct 11 2006 kwizart < kwizart at gmail.com > - 1.2-1_FC5
21b4028
- inital release.