SPECS: cowpatty.spec - optflags, BR: libpcap-devel, openssl-devel -...

qboosh qboosh at pld-linux.org
Sat Aug 19 16:00:01 CEST 2006


Author: qboosh                       Date: Sat Aug 19 14:00:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- optflags, BR: libpcap-devel,openssl-devel
- removed COPYING from doc (just GPL)

---- Files affected:
SPECS:
   cowpatty.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/cowpatty.spec
diff -u SPECS/cowpatty.spec:1.2 SPECS/cowpatty.spec:1.3
--- SPECS/cowpatty.spec:1.2	Sat Aug 19 15:50:33 2006
+++ SPECS/cowpatty.spec	Sat Aug 19 15:59:56 2006
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-
 Summary:	coWPAtty - tool to audit the security of pre-shared keys selected in WiFi Protected Access (WPA) networks
 Summary(pl):	coWPAtty - narzędzie do badania zabezpieczeń kluczy PSK zabranych z sieci szyfrowanych metodą WPA
 Name:		cowpatty
@@ -10,6 +9,8 @@
 Source0:	http://dl.sourceforge.net/cowpatty/%{name}-%{version}.tgz
 # Source0-md5:	3e84ea75ea014381b1c77a824714bdde
 URL:		http://cowpatty.sourceforge.net/
+BuildRequires:	libpcap-devel
+BuildRequires:	openssl-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,7 +25,9 @@
 %setup -q -n %{name}
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -Wall -DOPENSSL"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -37,7 +40,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGELOG COPYING FAQ README TODO WISHLIST
+%doc AUTHORS CHANGELOG FAQ README TODO WISHLIST
 %attr(755,root,root) %{_bindir}/cowpatty
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -46,6 +49,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/08/19 13:59:56  qboosh
+- optflags, BR: libpcap-devel,openssl-devel
+- removed COPYING from doc (just GPL)
+
 Revision 1.2  2006/08/19 13:50:33  qboosh
 - typos
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cowpatty.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list