SPECS: madwifi.spec - snap 20050714 - new rate negotiation module ...

tommat tommat at pld-linux.org
Thu Jul 14 21:43:10 CEST 2005


Author: tommat                       Date: Thu Jul 14 19:43:10 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- snap 20050714 - new rate negotiation module
- added devel package

---- Files affected:
SPECS:
   madwifi.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/madwifi.spec
diff -u SPECS/madwifi.spec:1.15 SPECS/madwifi.spec:1.16
--- SPECS/madwifi.spec:1.15	Sun Jun 26 14:27:32 2005
+++ SPECS/madwifi.spec	Thu Jul 14 21:43:04 2005
@@ -12,8 +12,8 @@
 Name:		madwifi
 Version:	0
 %define		snap_year	2005
-%define		snap_month	06
-%define		snap_day	26
+%define		snap_month	07
+%define		snap_day	14
 %define		snap	%{snap_year}%{snap_month}%{snap_day}
 %define		snapdate	%{snap_year}-%{snap_month}-%{snap_day}
 %define		_rel	0.%{snap}.1
@@ -82,6 +82,17 @@
 
 Ten pakiet zawiera moduł jądra Linuksa SMP.
 
+%package devel
+Summary:	Header files for madwifi
+Summary(pl):	Pliki nagłówkowe dla madwifi
+Group:		Development/Libraries
+
+%description devel
+Header files for madwifi.
+
+%description devel -l pl
+Pliki nagłówkowe dla madwifi.
+
 %prep
 %setup -q -n %{name}
 
@@ -124,7 +135,7 @@
 
 	mv ath/ath_pci{,-$cfg}.ko
 	mv ath_hal/ath_hal{,-$cfg}.ko
-	mv ath_rate/onoe/ath_rate_onoe{,-$cfg}.ko
+	mv ath_rate/sample/ath_rate_sample{,-$cfg}.ko
 	for i in wlan_wep wlan_xauth wlan_acl wlan_ccmp wlan_tkip wlan; do
 		mv net80211/$i{,-$cfg}.ko
 	done
@@ -143,6 +154,7 @@
 install tools/athdebug $RPM_BUILD_ROOT%{_bindir}/athdebug
 install tools/athkey $RPM_BUILD_ROOT%{_bindir}/athkey
 install tools/athstats $RPM_BUILD_ROOT%{_bindir}/athstats
+
 %{__make} -C tools install \
 	KERNELCONF="%{_kernelsrcdir}/config-up" \
 	DESTDIR=$RPM_BUILD_ROOT \
@@ -155,8 +167,8 @@
 	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/net/ath_pci.ko
 install ath_hal/ath_hal-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}.ko \
 	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/net/ath_hal.ko
-install ath_rate/onoe/ath_rate_onoe-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}.ko \
-	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/net/ath_rate_onoe.ko
+install ath_rate/sample/ath_rate_sample-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}.ko \
+	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/net/ath_rate_sample.ko
 for i in wlan_wep wlan_xauth wlan_acl wlan_ccmp wlan_tkip wlan; do
 	install net80211/$i-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}.ko \
 		$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/net/$i.ko
@@ -166,8 +178,8 @@
 	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/net/ath_pci.ko
 install ath_hal/ath_hal-smp.ko \
 	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/net/ath_hal.ko
-install ath_rate/onoe/ath_rate_onoe-smp.ko \
-	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/net/ath_rate_onoe.ko
+install ath_rate/sample/ath_rate_sample-smp.ko \
+	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/net/ath_rate_sample.ko
 for i in wlan_wep wlan_xauth wlan_acl wlan_ccmp wlan_tkip wlan; do
 	install net80211/$i-smp.ko \
 		$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/net/$i.ko
@@ -175,6 +187,12 @@
 %endif
 %endif
 
+install -d $RPM_BUILD_ROOT%{_includedir}/madwifi/net80211
+install -d $RPM_BUILD_ROOT%{_includedir}/madwifi/include/sys
+install net80211/*.h $RPM_BUILD_ROOT%{_includedir}/madwifi/net80211/
+install include/*.h $RPM_BUILD_ROOT%{_includedir}/madwifi/include/
+install include/sys/*.h $RPM_BUILD_ROOT%{_includedir}/madwifi/include/sys/
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -210,12 +228,20 @@
 %endif
 %endif
 
+%files devel
+%defattr(644,root,root,755)
+/%{_includedir}/madwifi
+
 %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.16  2005/07/14 19:43:04  tommat
+- snap 20050714 - new rate negotiation module
+- added devel package
+
 Revision 1.15  2005/06/26 12:27:32  domelu
 - snap 20050626 (fixed hw ether crash)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/madwifi.spec?r1=1.15&r2=1.16&f=u




More information about the pld-cvs-commit mailing list