--- /dev/null
+Summary: Tool designed to audit PSK selection for WPA
+Name: Cowpatty
+Version: 2.0
+Release: 0.2
+License: GPL v2
+Group: Applications/System
+Source0: http://new.remote-exploit.org/images/5/5a/%{name}-%{version}.tar.gz
+# Source0-md5: e3331b95e66b1126c50a4c84c0fc21a9
+URL: http://new.remote-exploit.org/index.php/Codes_main
+BuildRequires: libpcap-devel
+BuildRequires: openssl-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+coWPAtty is designed to audit the pre-shared key (PSK) selection for
+WPA networks based on the TKIP protocol.
+
+%prep
+%setup -q -n cowpatty
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+install cowpatty $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGELOG FAQ INSTALL README TODO WISHLIST
+
+%attr(755,root,root) %{_bindir}/*