%kmdl ndiswrapper Summary: A kernel module to load windows WLAN drivers in Linux Name: ndiswrapper Version: 1.54 Release: 20%{?dist} License: GPL Group: System Environment/Kernel URL: http://ndiswrapper.sourceforge.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz #Source0: %{name}-%{version}-r2670M.tar.bz2 Patch0: ndiswrapper-1.54-poll_controller.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %kmdl_parentdependencies %description Some vendors do not release specifications of the hardware or provide a linux driver for their wireless network cards. This project implements Windows kernel API and NDIS (Network Driver Interface Specification) API within Linux kernel. A Windows driver for wireless network card is then linked to this implementation so that the driver runs natively, as though it is in Windows, without binary emulation. %package -n %kmdl_name %kmdl_dependencies Summary: Kernel module for ndiswrapper Group: System Environment/Kernel %description -n %kmdl_name This package contains kernel drivers for ndiswrapper. %kmdl_desc %prep %setup -q %patch0 -p1 -b .poll_controller %build %if %{kmdl_userland} make -C utils %else %kmdl_config make -C driver KVERS=%{_kernel} KSRC=%{kmdl_kernelsrcdir} KBUILD=%{kmdl_kernelsrcdir} %endif %install rm -rf %{buildroot} %if %{kmdl_userland} make -C utils DESTDIR=%{buildroot} install mkdir -p %{buildroot}%{_mandir}/man8 install -p ndiswrapper.8 %{buildroot}%{_mandir}/man8/ mkdir -p %{buildroot}%{_sysconfdir}/ndiswrapper %else mkdir -p %{buildroot}%{kmdl_moduledir} make -C driver DESTDIR=%{buildroot} KVERS=%{_kernel} \ KSRC=%{kmdl_kernelsrcdir} KBUILD=%{kmdl_kernelsrcdir} install if [ -d %{buildroot}%{kmdl_moduledir}/../misc ]; then mv %{buildroot}%{kmdl_moduledir}/../misc/* %{buildroot}%{kmdl_moduledir}/ fi %endif %clean rm -rf %{buildroot} %post -n %kmdl_name %kmdl_install %postun -n %kmdl_name %kmdl_remove %if %{kmdl_userland} %files %defattr(-,root,root,-) %doc README /sbin/loadndisdriver %{_sbindir}/ndiswrapper %{_sbindir}/ndiswrapper-buginfo %dir %{_sysconfdir}/ndiswrapper %{_mandir}/man8/ndiswrapper.8* %else %files -n %kmdl_name %defattr(-,root,root,-) %dir %{kmdl_moduledir} %{kmdl_moduledir}/ndiswrapper.ko %endif %changelog * Thu Apr 23 2009 Axel Thimm - 1.54-20 - Fix typos preventing 2.6.29 build. * Sun Feb 22 2009 Axel Thimm - 1.54-19 - Update to 1.54. * Fri Jul 18 2008 Axel Thimm - 1.54-18_r2670 - Update to latest svn fixes. * Fri Jul 18 2008 Axel Thimm - 1.53-17 - Update to 1.53. * Wed Feb 6 2008 Axel Thimm - 1.52-16 - Update to 1.52. * Thu Dec 27 2007 Axel Thimm - 1.51-15 - Update to 1.51. * Sat Dec 1 2007 Axel Thimm - 1.50-14 - Update to 1.50. * Fri Nov 9 2007 Axel Thimm - 1.49-13 - Update to 1.49. * Wed Jun 13 2007 Axel Thimm - 1.47-12 - Update to 1.47. * Mon Jun 4 2007 Axel Thimm - 1.46-11 - Update to 1.46. * Mon May 28 2007 Axel Thimm - 1.45-10 - Update to 1.45. * Sat May 19 2007 Axel Thimm - 1.44-9 - Update to 1.44. * Fri Apr 13 2007 Axel Thimm - 1.41-7 - Update to 1.41. * Wed Feb 7 2007 Axel Thimm - 1.37-6 - Update to 1.37. * Sun Oct 22 2006 Axel Thimm - 1.27-5 - Update to 1.27. * Wed May 31 2006 Axel Thimm - Update to 1.16. * Sat Mar 25 2006 Axel Thimm - Update to 1.11. * Fri Dec 23 2005 Axel Thimm - Initial build.