]> git.pld-linux.org Git - packages/aircrack-ng.git/blame - aircrack-ng.spec
removed mandir.patch; fixed in upstream
[packages/aircrack-ng.git] / aircrack-ng.spec
CommitLineData
8ac129fd 1#
2# TODO:
3# - PLD it more
4# - Find more deps
fdaae083 5# - optflags
74b62dd0 6# - cflags
7# - sbin/bin - change to bin?
a181b2f8 8# - package airdrop-ng and airgraph-ng
8ac129fd 9#
10Summary: Reliable 802.11 (wireless) sniffer and WEP/WPA-PSK key cracker
1b61970c 11Summary(pl.UTF-8): Pewny sniffer 802.11 (sieci bezprzewodowe) i łamacz kluczy WEP/WPA-PSK
8ac129fd 12Name: aircrack-ng
083b3040
SS
13Version: 1.2
14%define subver rc2
15%define rel 0.1
16Release: %{subver}.%{rel}
8ac129fd 17License: GPL
18Group: Applications/Networking
083b3040
SS
19Source0: http://download.aircrack-ng.org/%{name}-%{version}-%{subver}.tar.gz
20# Source0-md5: ebe9d537f06f4d6956213af09c4476da
fdaae083 21URL: http://www.aircrack-ng.org/
8b33c69f 22BuildRequires: openssl-devel
8ac129fd 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26aircrack-ng is a set of tools for auditing wireless networks. It's an
27enhanced/reborn version of aircrack. It consists of airodump-ng (an
28802.11 packet capture program), aireplay-ng (an 802.11 packet
29injection program), aircrack (static WEP and WPA-PSK cracking),
30airdecap-ng (decrypts WEP/WPA capture files), and some tools to handle
31capture files (merge, convert, etc.).
32
00504ee3
JR
33%description -l pl.UTF-8
34aircrack-ng jest zestawem narzędzi do audytów sieci bezprzewodowych.
35Jest to ulepszona/odnowiona wersja aircracka. Składa sie z programów
36airodump-ng (do przechwytywania pakietów 802.11), aireplay-ng (do
37wstrzykiwania pakietów 802.11), aircrack (do statycznego łamania WEP i
38WPA-PSK), airdecap-ng (do odszyfrowywania przechwyconych plików
39WEP/WPA) i paru narzędzi do obsługi plików przechwytów (merge,
fdaae083 40convert, etc.).
8ac129fd 41
42%prep
215cb537 43%setup -q -n %{name}-%{version}-%{subver}
8ac129fd 44
eaff7cfd
AM
45sed -i -e 's#-Werror -O3#$(PLDFLAGS)#g' common.mak
46
8ac129fd 47%build
5c6bb606 48%{__make} -j1 \
eaff7cfd
AM
49 CC="%{__cc}" \
50 PLDFLAGS="%{rpmcppflags} %{rpmcflags}"
8ac129fd 51
52%install
53rm -rf $RPM_BUILD_ROOT
fdaae083 54install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
8ac129fd 55
74b62dd0 56%{__make} install \
57 prefix=%{_prefix} \
58 DESTDIR=$RPM_BUILD_ROOT
8ac129fd 59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
69aba94a 65%doc AUTHORS ChangeLog README test patches
a181b2f8 66%attr(755,root,root) %{_bindir}/*
67%attr(755,root,root) %{_sbindir}/*
68%{_mandir}/man1/*
This page took 0.0345 seconds and 4 git commands to generate.