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