%kmdl iwlwifi Summary: Intel® Wireless WiFi Link 4965AGN and Intel® PRO/Wireless 3945ABG Network Connection Name: iwlwifi Version: 1.2.0 Release: 19%{?dist} License: GPL2 Group: System Environment/Kernel URL: http://intellinuxwireless.org/?p=iwlwifi Source0: http://intellinuxwireless.org/%{name}/downloads/%{name}-%{version}.tgz Patch1: iwlwifi-1.2.x-compat.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: mac80211-devel >= 10.0.0 %kmdl_parentdependencies %description The iwlwifi project provides a driver which utilizes the new mac80211 subsystem for the Intel® Wireless WiFi Link 4965AGN and Intel® PRO/Wireless 3945ABG Network Connection adapters. In addition to using the new mac80211 subsystem, this project uses a new microcode image which removes the need for the user space regulatory daemon. This change should help to simplify installation, development, and redistribution of this driver package. %package devel Summary: %{name} kernel header files Group: Development/System %description devel The %{name} kernel headers are used for accessing the kernel modules' API. %package -n %kmdl_name %kmdl_dependencies Summary: kernel modules for %{name} Group: System Environment/Kernel Requires: iwlwifi-3945-ucode >= 2.14.1.5, iwlwifi-4965-ucode >= 4.44.1.18 Requires: %{kmdl_nameof mac80211} >= 10.0.0 %description -n %kmdl_name kernel modules for %{name}. See description for %{name} for further information. %kmdl_desc %prep %setup -q %patch1 -p1 -b .compat sed -i -e's,/sbin/depmod,:,' Makefile %build %kmdl_config %if %{kmdl_userland} # for the include files ###make all KSRC=%{kmdl_kernelsrcdir} make utils %else OLDCPPFLAGS=`(cat %{kmdl_kernelsrcdir}/Makefile; echo -e '\nprint-cppflags:\n\t@echo $(CPPFLAGS)\n') \ | make -sf- -C %{kmdl_kernelsrcdir} print-cppflags` make modules KSRC=%{kmdl_kernelsrcdir} KSRC_OUTPUT=%{kmdl_kernelsrcdir} \ MAC80211_SRC=%{_includedir}/mac80211 \ CPPFLAGS="-I%{_includedir}/mac80211/include $OLDCPPFLAGS" || \ make modules KSRC=%{kmdl_kernelsrcdir} KSRC_OUTPUT=%{kmdl_kernelsrcdir} \ MAC80211_SRC=%{_includedir}/mac80211 \ CPPFLAGS="-I%{_includedir}/mac80211/include $OLDCPPFLAGS" %endif %install rm -rf %{buildroot} mkdir -p %{buildroot} %if %{kmdl_userland} #mkdir -p %{buildroot}%{_includedir} #cp -a compatible/include %{buildroot}%{_includedir}/%{name} %else #make -C %{kmdl_kernelsrcdir} SUBDIRS=`pwd`/compatible/net/iwlwifi modules_install \ # INSTALL_MOD_PATH=%{buildroot} INSTALL_MOD_DIR=updates/net/iwlwifi \ # CONFIG_IWLWIFI=m CONFIG_IWLWIFI_LEDS=n make install KMISC=%{buildroot}%{kmdl_moduledir}/drivers/net/wireless %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 LICENSE* CHANGES ISSUES README* %else %files -n %kmdl_name %defattr(-,root,root,-) %{kmdl_moduledir}/* %endif %changelog * Sat Dec 29 2007 Axel Thimm - 1.2.0-19 - Update to 1.2.0. * Thu Aug 2 2007 Axel Thimm - 0.1.8-19 - Update to 0.1.8. * Tue Jul 31 2007 Axel Thimm - 0.1.6-18 - Update to 0.1.6. * Tue Jul 31 2007 Axel Thimm - 1.0.0-17 - Update to 1.0.0. * Sat Jul 7 2007 Axel Thimm - 0.0.35-16 - Update to 0.0.35. * Wed Jul 4 2007 Axel Thimm - 0.0.34-15 - Update to 0.0.34. * Mon Jun 18 2007 Axel Thimm - 0.0.32-14 - Update to 0.0.32. * Mon Jun 18 2007 Axel Thimm - 0.0.31-13 - Update to 0.0.31. * Fri Jun 15 2007 Axel Thimm - 0.0.30-12 - Update to 0.0.30. * Thu Jun 14 2007 Axel Thimm - 0.0.29-11 - Update to 0.0.29. * Sat Jun 9 2007 Axel Thimm - 0.0.25-10 - Update to 0.0.25. * Tue May 15 2007 Axel Thimm - 0.0.18-9 - Update to 0.0.18. * Wed May 2 2007 Axel Thimm - 0.0.16-7 - Update to 0.0.16. * Sun Apr 15 2007 Axel Thimm - 0.0.11-6 - Update to 0.0.11. * Wed Feb 28 2007 Axel Thimm - 0.0.10-6 - Update to 0.0.10. * Sat Feb 24 2007 Axel Thimm - 0.0.9-5 - Update to 0.0.9. * Sun Feb 18 2007 Axel Thimm - 0.0.8-4 - Update to 0.0.8. - Fix version of ucode. * Wed Feb 14 2007 Axel Thimm - 0.0.7-2 - Update to 0.0.7. * Sat Feb 10 2007 Axel Thimm - 1.0.0-1 - Initial build.