SPECS: wpa_supplicant.spec - up to 0.4.5; optflags done; rc-script...

arekm arekm at pld-linux.org
Sun Oct 2 17:42:41 CEST 2005


Author: arekm                        Date: Sun Oct  2 15:42:41 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.4.5; optflags done; rc-scripts todo dropped from here; no need to separate cli

---- Files affected:
SPECS:
   wpa_supplicant.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/wpa_supplicant.spec
diff -u SPECS/wpa_supplicant.spec:1.7 SPECS/wpa_supplicant.spec:1.8
--- SPECS/wpa_supplicant.spec:1.7	Sat Sep  3 20:03:46 2005
+++ SPECS/wpa_supplicant.spec	Sun Oct  2 17:42:36 2005
@@ -1,22 +1,18 @@
 # $Revision$, $Date$
-# TODO:
-# - optflags
-# - init script or support in rc-scripts
-# - separate cli, check BRs/Rs
-#
 Summary:	Linux WPA/WPA2/RSN/IEEE 802.1X supplicant
 Summary(pl):	Suplikant WPA/WPA2/RSN/IEEE 802.1X dla Linuksa
 Name:		wpa_supplicant
-Version:	0.4.4
-Release:	0.1
+Version:	0.4.5
+Release:	1
 License:	GPL v2
 Group:		Networking 
 Source0:	http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz
-# Source0-md5:	29c70c9ee0891072db413459cdac2e18
+# Source0-md5:	28347563119f09fc963bcdf9d16265a3
 Source1:	%{name}.config
 Patch0:		%{name}-makefile.patch
 URL:		http://hostap.epitest.fi/wpa_supplicant/
 BuildRequires:	madwifi-devel
+BuildRequires:	ncurses-devel
 BuildRequires:	openssl-devel
 BuildRequires:	readline-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -67,11 +63,14 @@
 %prep
 %setup -q
 %patch0 -p1
+sed -i -e 's#-O2#$(OPT)#g' Makefile
 
 install %{SOURCE1} .config
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	OPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -94,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/10/02 15:42:36  arekm
+- up to 0.4.5; optflags done; rc-scripts todo dropped from here; no need to separate cli
+
 Revision 1.7  2005/09/03 18:03:46  areq
 - 0.4.4
 
================================================================

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




More information about the pld-cvs-commit mailing list