SPECS: wpa_supplicant.spec - madwifi bcond

arekm arekm at pld-linux.org
Tue Oct 4 20:22:17 CEST 2005


Author: arekm                        Date: Tue Oct  4 18:22:17 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- madwifi bcond

---- Files affected:
SPECS:
   wpa_supplicant.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/wpa_supplicant.spec
diff -u SPECS/wpa_supplicant.spec:1.9 SPECS/wpa_supplicant.spec:1.10
--- SPECS/wpa_supplicant.spec:1.9	Sun Oct  2 17:48:40 2005
+++ SPECS/wpa_supplicant.spec	Tue Oct  4 20:22:11 2005
@@ -1,4 +1,11 @@
 # $Revision$, $Date$
+%bcond_without	madfiwi
+
+# sync archlist with madwifi.spec
+%ifnarch %{x8664} arm %{ix86} mips ppc xscale
+%undefine	with_madwifi
+%endif
+
 Summary:	Linux WPA/WPA2/RSN/IEEE 802.1X supplicant
 Summary(pl):	Suplikant WPA/WPA2/RSN/IEEE 802.1X dla Linuksa
 Name:		wpa_supplicant
@@ -11,7 +18,7 @@
 Source1:	%{name}.config
 Patch0:		%{name}-makefile.patch
 URL:		http://hostap.epitest.fi/wpa_supplicant/
-BuildRequires:	madwifi-devel
+%{?with_madwifi:BuildRequires:	madwifi-devel}
 BuildRequires:	ncurses-devel
 BuildRequires:	openssl-devel
 BuildRequires:	readline-devel
@@ -67,6 +74,10 @@
 
 install %{SOURCE1} .config
 
+%if %{with madwifi}
+echo 'CONFIG_DRIVER_MADWIFI=y' >> .config
+%endif
+
 %build
 %{__make} \
 	CC="%{__cc}" \
@@ -98,6 +109,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2005/10/04 18:22:11  arekm
+- madwifi bcond
+
 Revision 1.9  2005/10/02 15:48:40  arekm
 - add docs; rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/wpa_supplicant.spec?r1=1.9&r2=1.10&f=u




More information about the pld-cvs-commit mailing list