SPECS: iwlwifi.spec (NEW) - initial, NFY
blues
blues at pld-linux.org
Sat Oct 13 22:43:06 CEST 2007
Author: blues Date: Sat Oct 13 20:43:06 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, NFY
---- Files affected:
SPECS:
iwlwifi.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/iwlwifi.spec
diff -u /dev/null SPECS/iwlwifi.spec:1.1
--- /dev/null Sat Oct 13 22:43:06 2007
+++ SPECS/iwlwifi.spec Sat Oct 13 22:43:00 2007
@@ -0,0 +1,85 @@
+# $Revision$, $Date$
+# Conditional build:
+%bcond_without dist_kernel # allow non-distribution kernel
+%bcond_with verbose # verbose build (V=1)
+#
+%define _rel 0.1
+#%define _ieeever 1.2.17
+#%define _fwver 3.0
+%define _mod_suffix current
+Summary: Intel® Wireless WiFi Link 4965AGN and Intel® PRO/Wireless 3945ABG Network Connection
+Name: iwlwifi
+Version: 1.1.17
+Release: %{_rel}
+License: mixed GPL v2 and BSD
+Group: Base/Kernel
+Source0: http://www.intellinuxwireless.org/iwlwifi/downloads/%{name}-%{version}.tgz
+# Source0-md5: 8c0ab70d569ae92315813855137d065f
+URL: http://www.intellinuxwireless.org/
+#BuildRequires: ieee80211-devel >= %{_ieeever}
+%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
+BuildRequires: rpmbuild(macros) >= 1.379
+#Requires: ipw2200-firmware = %{_fwver}
+#ExclusiveArch: %{ix86} %{x8664}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 -n kernel%{_alt_kernel}-net-%{name}
+Summary: Intel® Wireless WiFi Link 4965AGN and Intel® PRO/Wireless 3945ABG Network Connection
+Release: %{_rel}@%{_kernel_ver_str}
+Group: Base/Kernel
+Requires: hotplug
+#Requires: ipw2200-firmware = %{_fwver}
+#%(rpm -q --qf 'Requires: kernel%{_alt_kernel}-net-ieee80211 = %%{epoch}:%%{version}-%%{release}\n' ieee80211-devel | sed -e 's/ (none):/ /' | grep -v "is not")
+%{?with_dist_kernel:%requires_releq_kernel}
+Requires(post,postun): /sbin/depmod
+Requires: module-init-tools >= 3.2.2-2
+
+%description -n kernel%{_alt_kernel}-net-%{name}
+This package contains Linux kernel drivers for the Intel® Wireless WiFi
+Link 4965AGN and Intel® PRO/Wireless 3945ABG Network Connection.
+
+%prep
+%setup -q
+
+%build
+%build_kernel_modules -m iwl3945
+%build_kernel_modules -m iwl4965
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%install_kernel_modules -s %{_mod_suffix} -n iwl3945 -m iwl3945 -d misc
+%install_kernel_modules -s %{_mod_suffix} -n iwl4965 -m iwl4965 -d misc
+
+%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}/misc/*.ko*
+#%{_sysconfdir}/modprobe.d/%{_kernel_ver}/%{name}.conf
+
+%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.1 2007/10/13 20:43:00 blues
+- initial, NFY
+
================================================================
More information about the pld-cvs-commit
mailing list