SPECS: zd1211.spec - for > 2.6.22

wolvverine wolvverine at pld-linux.org
Sun Oct 26 14:42:15 CET 2008


Author: wolvverine                   Date: Sun Oct 26 13:42:15 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- for > 2.6.22

---- Files affected:
SPECS:
   zd1211.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: SPECS/zd1211.spec
diff -u /dev/null SPECS/zd1211.spec:1.35
--- /dev/null	Sun Oct 26 14:42:15 2008
+++ SPECS/zd1211.spec	Sun Oct 26 14:42:10 2008
@@ -0,0 +1,209 @@
+# $Revision$, $Date$
+#
+#TODO
+# -  udev rules
+#
+#INFO
+# - Development zd112 is dormant. Please use zd1211rw instead,
+#   see http://zd1211.ath.cx/wiki/DriverRewrite
+#
+# Conditional build:
+%bcond_without	dist_kernel	# allow non-distribution kernel
+%bcond_without	kernel		# don't build kernel modules
+%bcond_with	verbose		# verbose build (V=1)
+
+%if %{without kernel}
+%undefine	with_dist_kernel
+%endif
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine	with_userspace
+%endif
+
+%define		zd1211_name	zd1211-driver-r85
+%define		rel		3
+%define		pname	zd1211
+Summary:	Linux driver for USB WLAN cards based on zd1211
+Summary(pl.UTF-8):	Sterownik dla Linuksa do kart bezprzewodowych USB opartych na układzie zd1211
+Name:		%{pname}%{_alt_kernel}
+Version:	0.0.2
+Release:	%{rel}
+License:	GPL v2
+Group:		Base/Kernel
+Source0:	%{zd1211_name}.tar.bz2
+# Source0-md5:	20569b84770f011c78b47dc4030548a5
+Patch0:		%{name}-build.patch
+Patch1:		%{name}-3410.patch
+Patch2:		%{name}-2.6.22.patch
+URL:		http://zd1211.ath.cx/
+%{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
+BuildRequires:	rpmbuild(macros) >= 1.330
+ExcludeArch:	sparc sparc64
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a Linux driver for WLAN cards based on zd1211.
+
+%description -l pl.UTF-8
+Sterownik dla Linuksa do kart bezprzewodowych opartych na układzie
+zd1211.
+
+%description -l de.UTF-8
+Linux Kernel Treiber für WLAN Netzwerkkarten zd1211.
+
+%package -n kernel%{_alt_kernel}-net-%{pname}
+Summary:	Linux kernel module for WLAN cards based on zd1211
+Summary(de.UTF-8):	Linux Kernel Modul für WLAN Netzwerkkarten zd1211
+Summary(pl.UTF-8):	Moduł jądra Linuksa dla kart WLAN na zd1211
+Release:	%{rel}@%{_kernel_ver_str}
+Group:		Base/Kernel
+%{?with_dist_kernel:%requires_releq_kernel}
+Requires(post,postun):	/sbin/depmod
+Requires:	module-init-tools >= 3.2.2-2
+Requires:	zd1211-firmware
+
+%description -n kernel%{_alt_kernel}-net-%{pname}
+This package contains Linux kernel drivers for the WLAN cards based on
+zd1211.
+
+%description -n kernel%{_alt_kernel}-net-%{pname} -l de.UTF-8
+Dieses Paket enthält Linux Kernel Treiber für WLAN Netzwerkkarten
+zd1211.
+
+%description -n kernel%{_alt_kernel}-net-%{pname} -l pl.UTF-8
+Ten pakiet zawiera sterowniki jądra Linuksa dla kart WLAN na zd1211.
+
+%prep
+%setup -q -n %{zd1211_name}
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+%build_kernel_modules -m zd1211
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%install_kernel_modules -m zd1211 -d /kernel/drivers/usb/net
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-n kernel%{_alt_kernel}-net-%{name}
+%depmod	%{_kernel_ver}
+
+%postun	-n kernel%{_alt_kernel}-net-%{name}
+%depmod	%{_kernel_ver}
+
+%files -n kernel%{_alt_kernel}-net-%{name}
+%defattr(644,root,root,755)
+/lib/modules/%{_kernel_ver}/kernel/drivers/usb/net/zd1211.ko*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.35  2008/10/26 13:42:10  wolvverine
+- for > 2.6.22
+
+Revision 1.33  2008/07/03 10:43:39  glen
+- update from AC-branch
+
+Revision 1.32  2007/12/26 01:16:55  qboosh
+- cleanup/unified
+
+Revision 1.31  2007-10-16 02:40:49  glen
+- no kernel version in base pkg
+- add grsec_kernel bcond
+
+Revision 1.30  2007/09/06 08:11:22  glen
+- todo
+
+Revision 1.29  2007/05/31 19:11:41  areq
+- TH kernel ready
+
+Revision 1.28  2007/03/19 14:55:02  wolvverine
+- cosmetics
+
+Revision 1.27  2007/03/19 14:46:49  glen
+- on one line
+
+Revision 1.26  2007/03/19 14:40:23  wolvverine
+- add R
+
+Revision 1.25  2007/03/19 14:37:25  wolvverine
+- exclude sparc
+
+Revision 1.24  2007/03/17 20:31:06  wolvverine
+- release 3
+
+Revision 1.23  2007/03/17 20:27:08  wolvverine
+- up to r85
+- for kernel >= 2.6.18 is zd1211rw
+
+Revision 1.22  2007/03/03 14:22:26  wolvverine
+- ups
+
+Revision 1.21  2007/03/03 13:54:39  wolvverine
+- revert charset crap
+
+Revision 1.20  2007/03/03 11:59:51  wolvverine
+- use %build-kernel-modules
+
+Revision 1.19  2007/02/13 08:06:37  glen
+- tabs in preamble
+
+Revision 1.18  2007/02/12 00:49:00  baggins
+- converted to UTF-8
+
+Revision 1.17  2006/09/06 13:48:33  sparky
+- mass atack: -j1 for make scripts
+
+Revision 1.16  2006/09/04 09:06:52  wolvverine
+- correct last commit
+
+Revision 1.15  2006/09/04 01:03:06  wolvverine
+- TODO
+
+Revision 1.14  2006/09/03 20:38:06  wolvverine
+- up to snap 83 (09-Jul-2006)
+
+Revision 1.13  2006/05/03 22:02:07  areq
+- snap 21-Apr-2006
+
+Revision 1.12  2006/04/12 12:15:40  glen
+- add kernel epoch, adapterized
+
+Revision 1.11  2005/10/09 09:44:00  arekm
+- builds
+
+Revision 1.10  2005/10/09 08:38:33  arekm
+- started work on new ver
+
+Revision 1.9  2005/09/15 18:25:05  sparky
+- prepared for kernel >= 2.6.13: link Module.symvers
+
+Revision 1.8  2005/08/11 14:05:23  areq
+- fix install dir
+
+Revision 1.7  2005/06/18 12:44:44  arekm
+- use gnu awk
+
+Revision 1.6  2005/06/18 12:23:19  arekm
+- fix build
+
+Revision 1.5  2005/05/26 00:08:19  arekm
+- module renamed
+
+Revision 1.4  2005/05/26 00:01:42  arekm
+- snap from 20050526
+
+Revision 1.3  2005/04/12 18:55:03  arekm
+- correct md5
+
+Revision 1.2  2005/04/12 18:50:22  arekm
+- builds
+
+Revision 1.1  2005/04/12 18:23:23  arekm
+- initial pld release
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/zd1211.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list