]> git.pld-linux.org Git - packages/aircrack-ng.git/blobdiff - aircrack-ng.spec
added use_standard_sleep.patch; added Requires for airmon-ng script; rel. 0.2
[packages/aircrack-ng.git] / aircrack-ng.spec
index 594d7b5eb6994aca785c3f5a4ce2da5c640440f3..ceda14641a3b30d56d62a3fee9a42d7e9d84f593 100644 (file)
@@ -2,20 +2,25 @@
 # TODO:
 # - PLD it more
 # - sbin/bin - change to bin?
-# - package airdrop-ng and airgraph-ng
+# - finish ext_scripts bcond:
+# -- check python related BR and R
+# -- fix packaging python releated stuff
+# -- create subpackage for airoscript
+# -- fix directory for airoscript*.conf files
+# -- fix installation of airoscript desktop files
 #
 # Conditional build:
 %bcond_without sqlite                  # build without sqlite support
 %bcond_without pcre                    # build without pcre support
 %bcond_without experimental
 %bcond_with    ext_scripts             # build with extra scripts (NFY)
-#
+
+%define        subver  rc2
+%define        rel     0.2
 Summary:       Reliable 802.11 (wireless) sniffer and WEP/WPA-PSK key cracker
 Summary(pl.UTF-8):     Pewny sniffer 802.11 (sieci bezprzewodowe) i łamacz kluczy WEP/WPA-PSK
 Name:          aircrack-ng
 Version:       1.2
-%define        subver  rc2
-%define        rel     0.1
 Release:       %{subver}.%{rel}
 License:       GPL
 Group:         Applications/Networking
@@ -24,11 +29,18 @@ Source0:    http://download.aircrack-ng.org/%{name}-%{version}-%{subver}.tar.gz
 URL:           http://www.aircrack-ng.org/
 Patch0:                install.patch
 Patch1:                pldflags.patch
+Patch2:                install_besside_manual.patch
+Patch3:                use_standard_sleep.patch
 BuildRequires: libnl-devel
 BuildRequires: openssl-devel
-BuildRequires: pkgconfig
 %{?with_pcre:BuildRequires:    pcre-devel}
+BuildRequires: pkgconfig
 %{?with_sqlite:BuildRequires:  sqlite3-devel}
+BuildRequires: zlib-devel
+Requires:      ethtool
+Requires:      grep
+Requires:      iw
+Requires:      usbutils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -52,6 +64,8 @@ convert, etc.).
 %setup -q -n %{name}-%{version}-%{subver}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 %{__make} -j1 \
@@ -113,7 +127,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/airodump-ng.8*
 %{_mandir}/man8/airserv-ng.8*
 %{_mandir}/man8/airtun-ng.8*
-%{_mandir}/man8/besside-ng.8*
 
 %if %{with experimental}
 %attr(755,root,root) %{_bindir}/buddy-ng
@@ -122,6 +135,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_sbindir}/tkiptun-ng
 %attr(755,root,root) %{_sbindir}/wesside-ng
 %{_mandir}/man1/buddy-ng.1*
+%{_mandir}/man8/besside-ng.8*
 %{_mandir}/man8/easside-ng.8*
 %{_mandir}/man8/tkiptun-ng.8*
 %{_mandir}/man8/wesside-ng.8*
This page took 0.06518 seconds and 4 git commands to generate.